cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to send "soapenv:Header" data using the SOAP Element ?

Heber_Olivar
New Contributor

Hi Experts,

 

I'm trying to consume a SOAP WS that have <soapenv:Header> and also the <soapenv:Body> parts, but it seems that I can access only the Body part when I set the SOAP Element parameters names and values.

 

Is there any way I can set the XML below using the standard SOAP Element? Any suggestions?

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:partner.soap.sforce.com">
   <soapenv:Header>
      <urn:SessionHeader>
         <urn:sessionId>my session id</urn:sessionId>
      </urn:SessionHeader>
   </soapenv:Header>
   <soapenv:Body>
      <urn:query>
         <urn:queryString>my query here</urn:queryString>
      </urn:query>
   </soapenv:Body>
</soapenv:Envelope>

 

Best Regards,

Heber Olivar

-

 

1 REPLY 1

Jukka
Employee
Employee

Hello, 

This feature is not available in standard product. I'm not sure, but I think that could be doable via customizer if needed. 

BR,
Jukka

Jukka Suhonen, Contact Pro Senior Product Engineer