You need to sign in to do that
Don't have an account?

querying custom objects
I am having trouble querying a custom object. I get the SOAP response, but then I get and exception that boils down to this:
org.xml.sax.SAXException: No deserializer for
{urn:sobject.enterprise.soap.sforce.com}OpportunityCatalogRelationship__c
I read on the forums that this is usually a namespace issue, but I don't know how to fix it.
As part of my login I execute this code:
LoginResult loginResult = newService().getSoap().login(
userName(),
password());
Soap soap = newService().getSoap(new URL(loginResult.getServerUrl()));
The value of loginResult.getServerUrl() is "https://na1-api.salesforce.com/services/Soap/c/4.0".
Any clues how to change the namespace would be appreciated.
org.xml.sax.SAXException: No deserializer for
{urn:sobject.enterprise.soap.sforce.com}OpportunityCatalogRelationship__c
I read on the forums that this is usually a namespace issue, but I don't know how to fix it.
As part of my login I execute this code:
LoginResult loginResult = newService().getSoap().login(
userName(),
password());
Soap soap = newService().getSoap(new URL(loginResult.getServerUrl()));
The value of loginResult.getServerUrl() is "https://na1-api.salesforce.com/services/Soap/c/4.0".
Any clues how to change the namespace would be appreciated.
AND
Message Edited by JasonRogers on 11-23-2004 03:22 PM
Sorry for the confusion.
Glad to know you found the problem.
Cheers