Uploaded image for project: 'Axis2-C'
  1. Axis2-C
  2. AXIS2C-1161

In echo sample client wrong addressing headers passed in the second message.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • core/engine
    • None
    • debian

    Description

      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>

      Attachments

        Activity

          People

            damitha Damitha N.M. Kumarage
            damitha Damitha N.M. Kumarage
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: