4.1.1 Establish the Sequences

The RMS emits a new sequence identifier and sends it to the RMD on a CreateSequence message that includes an Offer element (lines 15-17). The CreateSequence message indicates the RMS is anonymous (an empty projection of the [reply endpoint] addressing property implies an anonymous reply endpoint, as specified in [WSASB]) and carries an anonymous address in the AcksTo Endpoint (lines 12-14).

 1     <?xml version="1.0" encoding="utf-8"?>
 2     <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" 
 3                 xmlns:a="http://www.w3.org/2005/08/addressing">
 4         <s:Header>
 5             <a:Action s:mustUnderstand="1">
 6                 http://schemas.xmlsoap.org/ws/2005/02/rm
                   /CreateSequence</a:Action>
 7             <a:MessageID>urn:uuid:20c29d59-2f5d-401a-80c7
                   -55a6f57ffd52</a:MessageID>
 8             <a:To s:mustUnderstand="1">http://localhost/RMD</a:To>
 9         </s:Header>
 10         <s:Body>
 11            <CreateSequence xmlns="http://schemas.xmlsoap.org/ws
                       /2005/02/rm">
 12                 <AcksTo>
 13                     <a:Address>http://www.w3.org/2005/08
                            /addressing/anonymous</a:Address>
 14                 </AcksTo>
 15                 <Offer>
 16                     <Identifier>urn:uuid:f29e9c52-5b2e-4fc4-821f
                        -85abe541d973</Identifier>
 17                 </Offer>
 18             </CreateSequence>
 19         </s:Body>
 20     </s:Envelope>
  
  

The RMD responds by emitting a new sequence identifier and sending it to the RMS on a CreateSequenceResponse message (line 11). The CreateSequenceResponse message indicates acceptance of the offered sequence (lines 12-16).

 1     <?xml version="1.0" encoding="utf-8"?>
 2     <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" 
 3                 xmlns:a="http://www.w3.org/2005/08/addressing">
 4         <s:Header>
 5             <a:Action s:mustUnderstand="1">
 6                 http://schemas.xmlsoap.org/ws/2005/02/rm
                   /CreateSequenceResponse</a:Action>
 7             <a:RelatesTo>urn:uuid:20c29d59-2f5d-401a-80c7
                     -55a6f57ffd52</a:RelatesTo>
 8         </s:Header>
 9         <s:Body>
 10             <CreateSequenceResponse 
                      xmlns="http://schemas.xmlsoap.org/ws/2005/02/rm">
 11                 <Identifier>urn:uuid:57c7d4a2-2b43-4621-bc78
                        -38c78f2defbd</Identifier>
 12                 <Accept>
 13                     <AcksTo>
 14                         <a:Address>http://localhost/RMD</a:Address>
 15                     </AcksTo>
 16                 </Accept>
 17             </CreateSequenceResponse>
 18         </s:Body>
 19     </s:Envelope>