Forums

Problems with GetSchema

Last post 09-26-2006, 11:08 PM by jhigginbotham. 3 replies.
Sort Posts: Previous Next

     09-25-2006, 9:09 PM 338

    Problems with GetSchema

    I'm using the DataRequest Web Service to post the following block of XML with the intent to obtain the XML Schema for GetHouseholdCollection:

     <?xml version="1.0" encoding="UTF-8"?><tns:dataRequest xmlns:tns="GetSchema">

    <authenticateHeader>

    <churchCode>mycode</churchCode>

    <user>myname</user>

    <password>mypassword</password>

    <method>GetSchema</method>

    <version>1.0</version>

    </authenticateHeader>

    <parameters><methodName>GetHouseholdCollection</methodName></parameters>

    </tns:dataRequest>

     

    But, I get an error that says there is no schema available. When I try for GetHousehold, I get the same error, which is:

     

    1033::DE::Failed to get the schema requested - please check the methodName or try using the methodGroup parameter.

     I tried adding a methodGroup parameter to the request and I get:

    Object reference not set to an instance of an object. 

    Could someone just post the XMLSchema to a webserver or this forum, or tell me what I'm doing wrong?

    BTW, I'm using version 2.0 of the API, but I have to specify v1.0 in this request for GetSchema or else it tells me:

     Value cannot be null.Parameter name: type

    Even when using the XML from the example for GetSchema in the Mar-2006 Notes PDF

    Thanks,
    James 

     

     09-26-2006, 12:05 PM 367 in reply to 338

    Re: Problems with GetSchema

    Hi James,

    Thanks to your post, we discovered an issue in the Data Exchange code that was causing the error you were seeing. We have corrected the code and will be dropping the fix into Production within the next few hours. I will post back once it is available.

    If you have any other questions or issues with Data Exchange, please do not hesitate to open a ticket with our support team. This is the best way to ensure our development team is made aware of potential issues with the product. You can create, track and manage your tickets by logging into Fellowship One and clicking on the Support Link in the upper right hand corner.

    Thank you for your involvement in 3Cords. 

    Kingsley Allen
    Director, Product Development
    Fellowship Technologies
     

    | Filed under: ,

     09-26-2006, 1:33 PM 368 in reply to 367

    Re: Problems with GetSchema

    UPDATE: The fix was dropped into Production at 12:15 PM CT. The issue should be resolved.

    Kingsley Allen
    Director, Product Development
    Fellowship Technologies

     


     09-26-2006, 11:08 PM 370 in reply to 368

    Re: Problems with GetSchema

    I verified that it is working. For reference by others, here is the request XML that is now working:

    <?xml version="1.0" encoding="UTF-8"?>
    <tns:dataRequest xmlns:tns="GetSchema">
    <authenticateHeader><churchCode>mycode</churchCode><user>user</user><password>password</password>
    <method>GetSchema</method>
    <version>1.0</version>
    </authenticateHeader>
    <parameters><methodName>GetHouseholdCollection</methodName></parameters>
    </tns:dataRequest>
     

View as RSS news feed in XML