SOAP Header element


  Translation results:

SOAP is a simple XML-based protocol that enables applications to exchange information over HTTP.

Or more simply: SOAP is a protocol for accessing web services.

SOAP Header elementsyntax

The optional SOAP Header element can contain application-specific information about the SOAP message (such as authentication, payment, etc.).

If the Header element is provided, it must be the first child of the Envelope element.

SOAP Header elementexample

<?xml version="1.0"?>
<soap:Envelope
xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding">
<soap:Header>
  <m:Trans xmlns:m="http://www.w3schools.com/transaction/"
  soap:mustUnderstand="1">234
  </m:Trans>
</soap:Header>
...
...
</soap:Envelope>

Popular Recommendations

Home

Videos

Q&A