[ 
https://issues.apache.org/jira/browse/SYNAPSE-492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ruwan Linton resolved SYNAPSE-492.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3

committed the patch from Amila. sould be fixed and will be available with the 
1.3 release.

> synapse does not add addressing headers to addresing client response
> --------------------------------------------------------------------
>
>                 Key: SYNAPSE-492
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-492
>             Project: Synapse
>          Issue Type: Bug
>            Reporter: Amila Chinthaka Suriarachchi
>            Assignee: Ruwan Linton
>             Fix For: 1.3
>
>         Attachments: patch.txt
>
>
> Create a proxy service with the following synapse configuration.
> <definitions xmlns="http://ws.apache.org/ns/synapse";>
>     <proxy name="StockQuoteProxy">
>         <target>
>             <inSequence>
>                                 <header name="wsrm:SequenceAcknowledgement" 
> action="remove"
>                                     
> xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm"/>
>                                 <header name="wsrm:Sequence" action="remove"
>                                     
> xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm"/>
>                 <send>
>                     <endpoint>
>                         <address 
> uri="http://localhost:9001/services/SimpleStockQuoteService"/>
>                     </endpoint>
>                 </send>
>             </inSequence>
>                         <outSequence>
>                                 <send/>
>                         </outSequence>
>         </target>
>     </proxy>
> </definitions>
> Note that for proxy service end point addressing is not engaged. 
> Then invoke this proxy service with the following client request.
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
>       <soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing";>
>          <wsa:To>http://localhost:8281/services/StockQuoteProxy</wsa:To>
>          
> <wsa:MessageID>urn:uuid:7A24BA37E7FBA1158F1230053211470</wsa:MessageID>
>          <wsa:Action>urn:getQuote</wsa:Action>
>       </soapenv:Header>
>       <soapenv:Body>
>          <m0:getQuote xmlns:m0="http://services.samples";>
>             <m0:request>
>                <m0:symbol>IBM</m0:symbol>
>             </m0:request>
>          </m0:getQuote>
>       </soapenv:Body>
>    </soapenv:Envelope>
> Then the response message does not have the addressing headers.

-- 
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