Sequence header by reliable messaging

Damir Dobric Posts

Next talks:

 

    

Follow me on Twitter: #ddobric



 

 

Archives

By using of reliable messaging, messages exchanged between consumer and provider have an additional haeder “Sequence”, which corresponds to the Web Service Reliable Messaging specification. 

This post contains the request and response messages exchanged during executing of operation string DoSomething(string). 

Request:

 <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:r="http://schemas.xmlsoap.org/ws/2005/02/rm" xmlns:a="http://www.w3.org/2005/08/addressing">
    <s:Header>
        <r:Sequence s:mustUnderstand="1">
            <r:Identifier>urn:uuid:c851e4a7-c6e4-4a23-94d3-e1991d7f063c</r:Identifier>
            <r:MessageNumber>1</r:MessageNumber>
        </r:Sequence>
        <a:Action s:mustUnderstand="1">http://tempuri.org/IHello/DoSomething</a:Action>
        <a:MessageID>urn:uuid:0424eef6-5e31-4df3-b9f0-4d022e171870</a:MessageID>
        <a:ReplyTo>
        <a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address>
        </a:ReplyTo>
        <a:To s:mustUnderstand="1">http://localhost:7777/helloService/helloEndpoint</a:To>
    </s:Header>
<s:Body>
<DoSomething xmlns="http://tempuri.org/"></DoSomething>
</s:Body>
</s:Envelope>

Response:

<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:r="http://schemas.xmlsoap.org/ws/2005/02/rm" xmlns:a="http://www.w3.org/2005/08/addressing">
    <s:Header>
        <r:Sequence s:mustUnderstand="1">
            <r:Identifier>urn:uuid:c851e4a7-c6e4-4a23-94d3-e1991d7f063c</r:Identifier>
            <r:MessageNumber>1</r:MessageNumber>
        </r:Sequence>
        <a:Action s:mustUnderstand="1">http://tempuri.org/IHello/DoSomething</a:Action>
        <a:MessageID>urn:uuid:0424eef6-5e31-4df3-b9f0-4d022e171870</a:MessageID>
        <a:ReplyTo>
        <a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address>
        </a:ReplyTo>
        <a:To s:mustUnderstand="1">http://localhost:7777/helloService/helloEndpoint</a:To>
    </s:Header>
<s:Body>
<DoSomething xmlns="