SOAP - The Next Generation?


Request: GetStateName(47)
POST /States HTTP/1.1
Host: www.stateserver.com
Content-type: text/xml
Content-length: nnnn
SOAPMethodName: Some-Namespace-URI#GetStateName

<SOAP:Envelope xmlns:SOAP="urn:schemas-xmlsoap-org:soap.v1">
  [<SOAP:Header>
    <t:Transaction xmlns:t="some-URI"
     SOAP:mustUnderstand="1">5</t:Transaction>
  </SOAP:Header>]
  <SOAP:Body>
    <m:GetStateName xmlns:m="Some-Namespace-URI">
      <StateNumber>47</StateNumber>
    </m:GetStateName>
  </SOAP:Body>
</SOAP:Envelope>