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