Description
echo_blocking_soap11 client sends a request without addressing details, but the response message contains the addressing details.
Request:
POST /axis2/services/echo HTTP/1.1
User-Agent: Axis2/C
SOAPAction: "http://ws.apache.org/axis2/c/samples/echo/soap_action"
Content-Length: 303
Content-Type: text/xml;charset=UTF-8
Host: 127.0.0.1:9090
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header></soapenv:Header>
<soapenv:Body>
<ns1:echoString xmlns:ns1="http://ws.apache.org/axis2/c/samples">
<text>Hello World!</text>
</ns1:echoString>
</soapenv:Body>
</soapenv:Envelope>
Response:
HTTP/1.1 200 OK
Date: Mon, 18 Dec 2006 11:56:12 GMT
Server: Apache/2.2.3 (Win32)
Content-Length: 586
Content-Type: text/xml;charset=UTF-8
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
<wsa:Action>http://ws.apache.org/axis2/c/samples/echo/soap_action</wsa:Action>
<wsa:From>
<wsa:Address>http://127.0.0.1:9090/axis2/services/echo</wsa:Address>
</wsa:From>
<wsa:MessageID>29e7686b-bd59-4749-9dd5-e9160036c71b</wsa:MessageID>
</soapenv:Header>
<soapenv:Body>
<ns1:echoString xmlns:ns1="http://ws.apache.org/axis2/c/samples">
<text>Hello World!</text>
</ns1:echoString>
</soapenv:Body>
</soapenv:Envelope>