The only issue is , you have not engage addressing module at the client
side , but at the server you do.

Thanks
Deepal


> Hi,
>
> I have a strange problem: when I call a web service from a test client,
> the request/response is like this:
>
>   ==== Request ====
>   POST /axis2/services/UpdateService HTTP/1.1
>   Content-Type: text/xml; charset=UTF-8
>   SOAPAction: "sendUpdate"
>   User-Agent: Axis2
>   Host: localhost:8888
>   Transfer-Encoding: chunked
>
>   <?xml version='1.0' encoding='UTF-8'?>
>      <soapenv:Envelope 
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
>       <soapenv:Body>
>          <sendUpdate xmlns="http://schemas.west.nl/update/";>
>             <updateString xmlns="">some test!</updateString>
>          </sendUpdate>
>       </soapenv:Body>
>      </soapenv:Envelope>0
>   ==== Response ====
>   HTTP/1.1 200 OK
>   Server: Apache-Coyote/1.1
>   Content-Type: text/xml;charset=UTF-8
>   Transfer-Encoding: chunked
>   Date: Tue, 03 Jul 2007 08:41:46 GMT
>
>   <?xml version='1.0' encoding='UTF-8'?>
>      <soapenv:Envelope 
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
>       <soapenv:Body>
>          <sendUpdateResponse xmlns="http://schemas.west.nl/update/"; />
>       </soapenv:Body>
>      </soapenv:Envelope>0
>   ==============
>
> If I call the same web service from within another web service inside
> Axis2, the request/response is like this:
>
>   ==== Request ====
>   POST /axis2/services/UpdateService HTTP/1.1
>   Content-Type: text/xml; charset=UTF-8
>   SOAPAction: "sendUpdate"
>   User-Agent: Axis2
>   Host: localhost:8888
>   Transfer-Encoding: chunked
>
>   <?xml version='1.0' encoding='UTF-8'?>
>      <soapenv:Envelope xmlns:wsa="http://www.w3.org/2005/08/addressing"; 
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
>       <soapenv:Header>
>          <wsa:To>http://localhost:8888/axis2/services/UpdateService</wsa:To>
>          
> <wsa:MessageID>urn:uuid:E428BE6AFDFFB1FE101183452106041</wsa:MessageID>
>          <wsa:Action>sendUpdate</wsa:Action>
>       </soapenv:Header>
>       <soapenv:Body>
>          <sendUpdate xmlns="http://schemas.west.nl/update/";>
>             <updateString xmlns="">some test!</updateString>
>          </sendUpdate>
>       </soapenv:Body>
>      </soapenv:Envelope>0
>   ==== Response ====
>   HTTP/1.1 200 OK
>   Server: Apache-Coyote/1.1
>   Content-Type: text/xml;charset=UTF-8
>   Transfer-Encoding: chunked
>   Date: Tue, 03 Jul 2007 08:41:45 GMT
>
>   <?xml version='1.0' encoding='UTF-8'?>
>      <soapenv:Envelope xmlns:wsa="http://www.w3.org/2005/08/addressing"; 
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
>       <soapenv:Header>
>          
> <wsa:Action>http://schemas.west.nl/update/UpdateServiceInterface/sendUpdateResponse</wsa:Action>
>          
> <wsa:RelatesTo>urn:uuid:E428BE6AFDFFB1FE101183452106041</wsa:RelatesTo>
>       </soapenv:Header>
>       <soapenv:Body>
>          <sendUpdateResponse xmlns="http://schemas.west.nl/update/"; />
>       </soapenv:Body>
>      </soapenv:Envelope>0
>   ==============
>
> This is with Axis2 1.2.  The client code calling the web service is
> identical in both cases.  What causes this, and what can I do to get the
> second call to behave the same as the first?
>
> Regards,
>   

-- 
Thanks,
Deepal
................................................................
"The highest tower is built one brick at a time"



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

Reply via email to