You need to sign in to do that
Don't have an account?
How to search custom objects using Web Service API
I'm using the web services API to retrieve the list of the Global Objects by name using the describeGlobal() webservice call as follows:
DescribeGlobalResult describeGlobalResult = binding.describeGlobal();
if (!(describeGlobalResult == null)) {
types = describeGlobalResult.getTypes();
}
The problem is that all I get are standard objects non of the custom objects in the result. I would very much appreciate any information that would provide an idea as to how to retrieve the list of custom objects via the web service. Please note that I have created some custom objects in the same SalesForce instance.
This is working just fine in my organization. Unfortunately I don't know how it was set up. I'm just writing an ODA to query against it.
DescribeGlobalResult describeGlobalResult = binding.describeGlobal();
if (!(describeGlobalResult == null)) {
DescribeGlobalSObjectResult[] types = describeGlobalResult.getSobjects();
I'm using the new Partner WSDL, and I think getTypes and getSobjects do the same thing.