Hi Folks,
someone has changed the namespaes so that they appear to start at ns2 instead of ns1 when we have multiple requests. Ah ha - ! Perhaps, Samisa this is a bit of constructor initialisation that needs to be fixed.
Because the first call is fine but the second call has the wrong/different namespace?
POST /Calculator/services/Calculator HTTP/1.1
Host: localhost:13260
Content-Type: text/xml; charset=UTF-8
SOAPAction: "Calculator#div"
Content-Length: 400
<?xml version='1.0' encoding='utf-8' ?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<ns1:div xmlns:ns1="http://localhost/axis/Calculator">
<ns1:arg_0_3>100</ns1:arg_0_3>
<ns1:arg_1_3>20</ns1:arg_1_3>
</ns1:div>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
POST /Calculator/services/Calculator HTTP/1.1
Host: localhost:13260
Content-Type: text/xml; charset=UTF-8
SOAPAction: "Calculator#div"
Content-Length: 1055
<?xml version='1.0' encoding='utf-8' ?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<env:Header><ns3:TestHeader xmlns:ns3="http://apache.axis.com" env:role="http://www.w3.org/2003/05/soap-envelope/role/next"></ns3:TestHeader><ns4:TestHeader xmlns:ns4="http://apache.axis.com" env:role="http://www.w3.org/2003/05/soap-envelope/role/none"></ns4:TestHeader><ns5:TestHeader xmlns:ns5="http://apache.axis.com" env:role="http://www.w3.org/2003/05/soap-envelope/role/ultimateReceiver"></ns5:TestHeader><ns6:TestHeader xmlns:ns6="http://apache.axis.com" env:mustUnderstand="true"></ns6:TestHeader><ns7:TestHeader xmlns:ns7="http://apache.axis.com" env:mustUnderstand="false"></ns7:TestHeader><ns8:TestHeader xmlns:ns8="http://apache.axis.com"></ns8:TestHeader></env:Header>
<env:Body>
<ns2:div xmlns:ns2="http://localhost/axis/Calculator">
<ns2:arg_0_3>100</ns2:arg_0_3>
<ns2:arg_1_3>20</ns2:arg_1_3>
</ns2:div>
</env:Body>
</env:Envelope>
- namespace changes John Hawkins
- Re: namespace changes Samisa Abeysinghe
- Re: namespace changes sanjaya gayan
- RE: namespace changes Samisa Abeysinghe
