Reference parameters inside acks_to epr need to be processed from sandesha2/C 
------------------------------------------------------------------------------

                 Key: SANDESHA2C-65
                 URL: https://issues.apache.org/jira/browse/SANDESHA2C-65
             Project: Sandesha2/C
          Issue Type: Bug
            Reporter: Manjula Peiris


When there is a reference parameter inside an acks_to in a CreateSequence 
message it should be processed and sent back with the actual acknowledgment 
message.

For example following is a CS message containing a reference parameter, in the 
AcksTo

<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"; 
xmlns:a="http://www.w3.org/2005/08/addressing";>
   <s:Header>
      <a:Action 
s:mustUnderstand="1">http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequence</a:Action>
      <a:MessageID>urn:uuid:e2c30e08-6793-4b47-9690-3c65506b3b08</a:MessageID>
      <ActivityId CorrelationId="a644476f-13d2-4448-ae2e-2e613d40a18a" 
xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics";>adaca99d-3bf5-44de-98a6-e8b67df73fbe</ActivityId>
      <a:ReplyTo>
         
<a:Address>http://10.100.1.140:8000/3202708b-34d9-4b75-b749-97f90ee2897c/bb760266-e31a-4029-adf8-0c645ab83a1e</a:Address>
         <a:ReferenceParameters>
            <ChannelInstance 
xmlns="http://schemas.microsoft.com/ws/2005/02/duplex";>8</ChannelInstance>
         </a:ReferenceParameters>
      </a:ReplyTo>
      <a:To 
s:mustUnderstand="1">http://10.100.1.184:9090/axis2/services/rm_twoway_interop_service</a:To>
   </s:Header>
   <s:Body>
      <CreateSequence xmlns="http://schemas.xmlsoap.org/ws/2005/02/rm";>
         <AcksTo>
            
<a:Address>http://10.100.1.140:8000/3202708b-34d9-4b75-b749-97f90ee2897c/bb760266-e31a-4029-adf8-0c645ab83a1e</a:Address>
            <a:ReferenceParameters>
               <ChannelInstance 
xmlns="http://schemas.microsoft.com/ws/2005/02/duplex";>7</ChannelInstance>
            </a:ReferenceParameters>
         </AcksTo>
         <Offer>
            
<Identifier>urn:uuid:33d4c898-069d-462c-a8f7-ffaf1e9f8bd5</Identifier>
         </Offer>
      </CreateSequence>
   </s:Body></s:Envelope>

When sending acknowledgments alone this reference parameter should be sent 
back, like below.

<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope";>
      <soapenv:Header>
         <wsrm:SequenceAcknowledgement 
xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm"; 
soapenv:mustUnderstand="true">
            
<wsrm:Identifier>urn:uuid:81CB845587F4AE50171221564197608</wsrm:Identifier>
            <wsrm:AcknowledgementRange Lower="1" Upper="4" />
         </wsrm:SequenceAcknowledgement>
         <ChannelInstance 
xmlns="http://schemas.microsoft.com/ws/2005/02/duplex"; 
xmlns:wsa="http://www.w3.org/2005/08/addressing"; 
wsa:IsReferenceParameter="true">8</ChannelInstance>
         <wsa:To 
xmlns:wsa="http://www.w3.org/2005/08/addressing";>http://10.100.1.140:8000/5cbaa819-3eef-4d21-a862-836c5828e8e9/6e3c9c6d-745a-4208-9e83-e1d0d64b71af</wsa:To>
         <wsa:MessageID 
xmlns:wsa="http://www.w3.org/2005/08/addressing";>urn:uuid:81CB845587F4AE50171221564201412</wsa:MessageID>
         <wsa:Action 
xmlns:wsa="http://www.w3.org/2005/08/addressing";>http://schemas.xmlsoap.org/ws/2005/02/rm/SequenceAcknowledgement</wsa:Action>
      </soapenv:Header>
      <soapenv:Body />
   </soapenv:Envelope>
 


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to