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

Damitha Kumarage closed AXIS2C-1161.
------------------------------------

    Resolution: Fixed

The reason for this issue is in op_client_two_way_send function we take the 
options from the outgoing messagecontext and set it to response message context 
before passing to engine_receive() function. I removed this line and it works 
fine now.

> In echo sample client wrong addressing headers passed in the second message.
> ----------------------------------------------------------------------------
>
>                 Key: AXIS2C-1161
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1161
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/engine
>         Environment: debian
>            Reporter: Damitha Kumarage
>            Assignee: Damitha Kumarage
>
> When I run echo client samples, in the second message I can see addressing 
> headers 'relates_to' and 'from' as can be seen in the following message.
> In effect what this tell is that from address is 
> "http://localhost:9090/axis2/services/echo"; and that this message releates to 
> the first client message.
> When I debugged I can see that these headers are added to the 
> msg_info_headers struct from addressing_in_handler.
> I am testing with the current svn header.
> <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope";>
>    <soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing";>
>       <wsa:To>http://localhost:9090/axis2/services/echo</wsa:To>
>       <wsa:Action>http://ws.apache.org/axis2/c/samples/echoString</wsa:Action>
>       <wsa:From>
>          <wsa:Address>http://localhost:9090/axis2/services/echo</wsa:Address>
>       </wsa:From>
>       <wsa:MessageID>07dd679a-2a4c-1dd1-2b3c-001125b4c0fc</wsa:MessageID>
>       <wsa:RelatesTo 
> wsa:RelationshipType="http://www.w3.org/2005/08/addressing/reply";>07d15306-2a4c-1dd1-2b3b-001125b4c0fc</wsa:RelatesTo>
>    </soapenv:Header>
>    <soapenv:Body>
>       <ns1:echoString xmlns:ns1="http://ws.apache.org/axis2/services/echo";>
>          <text>Hello World!</text>
>       </ns1:echoString>
>    </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