You need to sign in to do that
Don't have an account?
John Saunders
CallOptions Header in Partner WSDL
I was just comparing the partner and enterprise WSDL files, and noticed the CallOptions SOAP header. Is that something currently implemented? If so, is there documentation on it?
John Saunders
Hi John,
The CallOptions header is for sforce certified partners. This is the mechanism by which we can track partner solution usage. If you are in the certification process, you will recieve information about how to use this.
thanks
< SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns4="urn:partner.soap.sforce.com">
< SOAP-ENV:Header>
< ns4:CallOptions SOAP-ENV:actor="http://schemas.xmlsoap.org/soap/actor/next" SOAP-ENV:mustUnderstand="0">
< ns4:CallOptions>
********
< /ns4:CallOptions>
< /SOAP-ENV:Header>
< SOAP-ENV:Body>
< ns4:login>
< ns4:username>email@email.com
< ns4:password>*****< /ns4:password>< /ns4:login>
< /SOAP-ENV:Body>
< /SOAP-ENV:Envelope>
Hmmm....
That soap message look boogered up.
You have 2 <ns4:CallOptions> tags and one </ns4:CallOptions> tag and not <Client>******</Client> element.
The header should look something like:
<CallOptions>
<Client>
clientid
</Client>
</CallOptions>