I'm still trying to get the Salesforce Partner WSDL to work with
Axis2. I'm not so great with editing these WSDLs by hand and I hope
someone here can lead me in the right direction. I don't think I can
pastebin or otherwise distribute the whole partner WSDL, but you can
get a copy from a Salesforce DE (it's free) if you want to see the
whole thing.
The WSDL is flattened - there are no XSD references outside and
everything is supposed to be contained.
Here is an example of one of the sections causing me trouble:
<schema elementFormDefault="qualified"
xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="urn:sobject.partner.soap.sforce.com">
<import namespace="urn:partner.soap.sforce.com"/>
There is a <schema> for each of the three types - partner, sobject and
fault. "partner" and "sobject" import each other through a tag like
the method above. "Out of the box" I receive an error from Axis2
about missing "schemaLocation" attributes and the source won't
compile. I have tried adding IDs to "partner" and "sobject" which
causes the error to go away - but the parsing fails stating that the
sobject namespace is not the one advertised.
Would creating XSDs solve this? What's the correct way to do that?
Do I just pull the <schema> element out and stick it in an XSD?
Is the ID path the way to go? How do I resolve the
namespace/advertised namespace issue if I use IDs?
Sorry for the newbie SOAP/XML questions, but I've just never had to
deal with something like this before.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]