Java Reference
In-Depth Information
<ReplyTo xmlns="http://www.w3.org/2005/08/addressing">
<Address>http://www.w3.org/2005/08/addressing/anonymous</Address>
</ReplyTo>
<MessageID xmlns="http://www.w3.org/2005/08/addressing">
uuid:1ab08d0b-b919-479c-b0f6-9a843b4c8b28
</MessageID>
<ns3:Sequence xmlns:ns2="http://www.w3.org/2005/08/addressing"
xmlns:ns3="http://schemas.xmlsoap.org/ws/2005/02/rm"
xmlns:ns4="http://docs.oasis-open.org/wss/2004/01/oasis-200401
-wss-wssecurity-secext-1.0.xsd"
xmlns:ns5="http://docs.oasis-open.org/wss/2004/01/oasis-200401
-wss-wssecurity-utility-1.0.xsd"
xmlns:ns6="http://schemas.microsoft.com/ws/2006/05/rm">
<ns3:Identifier>uuid:8ce634c6-7b0f-4e7c-9e21-77eac4491944
</ns3:Identifier>
<ns3:MessageNumber>1</ns3:MessageNumber>
</ns3:Sequence>
</S:Header>
<S:Body>
<ns2:get xmlns:ns2="http://soacookbook.com/sigcap">
<ns2:getRequest>
60990aff-1c1f-45a7-b35c-cf0410908e36
</ns2:getRequest>
</ns2:get>
</S:Body>
</S:Envelope>
--uuid:c19f6849-27ee-473a-b02c-5e7b1130818a--
There's a SOAPAction attached to the message in the HTTP header, and the SOAP envelope
headers contain all of the WS-Addressing information. The <To> , <Action> , and <ReplyTo>
elements are all in the WS-Addressing namespace. In a way, addressing represents an attempt
to provide a URI in a manner similar to how RESTful services do. The <ReplyTo> address is
for the “anonymous” user because the client was not identified as having a URI of its own.
The WS-RM information is also included in the SOAP envelope headers. The message in this
case is given an ID that conforms to the structure of a universally unique ID (UUID, usu-
ally generated based on an intersection of a timestamp and information from the NIC). The
specification does not require that this ID be in the UUID structure, however, as long as it is
unique. The runtime uses this message ID to keep track of whether the request has been ac-
knowledged as received, and in what sequence.
Search WWH ::




Custom Search