4.1.3 Close and Terminate the Sequences
The RMS completes the exchange by sending a [WSRM1-0] CloseSequence message, ending the sequence provided by the RMD (line 13) and acknowledging all the responses received (lines 6-9).
-
1 <?xml version="1.0" encoding="utf-8"?> 2 <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" 3 xmlns:r="http://schemas.xmlsoap.org/ws/2005/02/rm" 4 xmlns:a="http://www.w3.org/2005/08/addressing"> 5 <s:Header> 6 <r:SequenceAcknowledgement> 7 <r:Identifier>urn:uuid:c107badb-a401-4d57-b74d-72be 4451b2c5</r:Identifier> 8 <r:AcknowledgementRange Lower="1" Upper="2"> </r:AcknowledgementRange> 9 </r:SequenceAcknowledgement> 10 <r:Sequence s:mustUnderstand="1"> 11 <r:Identifier>urn:uuid:1f5ce322-c000-4e66-8f73 -6dbd5ab8d21d</r:Identifier> 12 <r:MessageNumber>3</r:MessageNumber> 13 <r:LastMessage></r:LastMessage> 14 </r:Sequence> 15 <a:Action s:mustUnderstand="1"> 16 http://schemas.xmlsoap.org/ws/2005/02/rm /LastMessage</a:Action> 17 <a:To s:mustUnderstand="1">http://localhost/RMD</a:To> 18 </s:Header> 19 <s:Body></s:Body> 20 </s:Envelope>
The RMD responds by sending a [WSRM1-0] CloseSequenceResponse message, ending the sequence provided by the RMS (line 9) and acknowledging all the requests received (lines 11-14).
-
1 <?xml version="1.0" encoding="utf-8"?> 2 <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" 3 xmlns:r="http://schemas.xmlsoap.org/ws/2005/02/rm" 4 xmlns:a="http://www.w3.org/2005/08/addressing"> 5 <s:Header> 6 <r:Sequence s:mustUnderstand="1"> 7 <r:Identifier>urn:uuid:c107badb-a401-4d57-b74d-72be 4451b2c5</r:Identifier> 8 <r:MessageNumber>3</r:MessageNumber> 9 <r:LastMessage></r:LastMessage> 10 </r:Sequence> 11 <r:SequenceAcknowledgement> 12 <r:Identifier>urn:uuid:1f5ce322-c000-4e66-8f73-6dbd 5ab8d21d</r:Identifier> 13 <r:AcknowledgementRange Lower="1" Upper="3"> </r:AcknowledgementRange> 14 </r:SequenceAcknowledgement> 15 <a:Action s:mustUnderstand="1"> 16 http://schemas.xmlsoap.org/ws/2005/02/rm /LastMessage</a:Action> 17 </s:Header> 18 <s:Body></s:Body> 19 </s:Envelope>
The RMS sends a [WSRM1-0] TerminateSequence message, terminating the sequence provided by the RMD (line 17) and acknowledging all the responses received (lines 6-9).
-
1 <?xml version="1.0" encoding="utf-8"?> 2 <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" 3 xmlns:r="http://schemas.xmlsoap.org/ws/2005/02/rm" 4 xmlns:a="http://www.w3.org/2005/08/addressing"> 5 <s:Header> 6 <r:SequenceAcknowledgement> 7 <r:Identifier>urn:uuid:c107badb-a401-4d57-b74d-72be 4451b2c5</r:Identifier> 8 <r:AcknowledgementRange Lower="1" Upper="3"> </r:AcknowledgementRange> 9 </r:SequenceAcknowledgement> 10 <a:Action s:mustUnderstand="1"> 11 http://schemas.xmlsoap.org/ws/2005/02/rm /TerminateSequence</a:Action> 12 <a:MessageID>urn:uuid:ac81c6c7-bdd8-4d9e-bb64-6d5098aca 2ee</a:MessageID> 13 <a:To s:mustUnderstand="1">http://localhost/RMD</a:To> 14 </s:Header> 15 <s:Body> 16 <r:TerminateSequence> 17 <r:Identifier>urn:uuid:1f5ce322-c000-4e66-8f73-6dbd 5ab8d21d</r:Identifier> 18 </r:TerminateSequence> 19 </s:Body> 20 </s:Envelope>
The RMD responds by sending a [WSRM1-0] TerminateSequenceResponse message, terminating the sequence provided by the RMS (line 15) and acknowledging all the requests received (lines 6-9).
-
1 <?xml version="1.0" encoding="utf-8"?> 2 <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" 3 xmlns:r="http://schemas.xmlsoap.org/ws/2005/02/rm" 4 xmlns:a="http://www.w3.org/2005/08/addressing"> 5 <s:Header> 6 <r:SequenceAcknowledgement> 7 <r:Identifier>urn:uuid:1f5ce322-c000-4e66-8f73-6dbd 5ab8d21d</r:Identifier> 8 <r:AcknowledgementRange Lower="1" Upper="3"> </r:AcknowledgementRange> 9 </r:SequenceAcknowledgement> 10 <a:Action s:mustUnderstand="1"> 11 http://schemas.xmlsoap.org/ws/2005/02/rm /TerminateSequence</a:Action> 12 </s:Header> 13 <s:Body> 14 <r:TerminateSequence> 15 <r:Identifier>urn:uuid:c107badb-a401-4d57-b74d-72be 4451b2c5</r:Identifier> 16 </r:TerminateSequence> 17 </s:Body> 18 </s:Envelope>