function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
John SaundersJohn 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

 

DevAngelDevAngel

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.

lollol
I'm having trouble using callOptions. I'm not quite sure of the message I send, will this be a valid query ?
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>
DevAngelDevAngel

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>

lollol
well mea culpa, it works great with rather than :-(
lollol
< client> ... rahter than < Client>