You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by John Hawkins <HA...@uk.ibm.com> on 2005/06/09 15:48:49 UTC

namespace changes

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>

Re: namespace changes

Posted by sanjaya gayan <sa...@yahoo.co.uk>.
Good to hear that tests are being run against the c++ server. How are they faring Samisa?
 
sanjaya.

Samisa Abeysinghe <sa...@virtusa.com> wrote:
Ooops, sorry, my fault. I should have had a look at the message on wire,
but did not bother as the tests were passing with C++ server.

I have put the fix in CVS now.

Thanks,
Samisa...

On Thu, 2005-06-09 at 13:48, John Hawkins wrote:
> 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
> 
> 
> > 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">
> 
> 
> 100
> 20
> 
> 
> 
> 
> POST /Calculator/services/Calculator HTTP/1.1
> Host: localhost:13260
> Content-Type: text/xml; charset=UTF-8
> SOAPAction: "Calculator#div"
> Content-Length: 1055
> 
> 
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> > env:role="http://www.w3.org/2003/05/soap-envelope/role/next">
> 
> 
> 100
> 20
> 
> 
> 
-- 
Samisa Abeysinghe 
Virtusa Corporation

		
---------------------------------
How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos. Get Yahoo! Photos

Re: namespace changes

Posted by Samisa Abeysinghe <sa...@virtusa.com>.
Ooops, sorry, my fault. I should have had a look at the message on wire,
but did not bother as the tests were passing with C++ server.

I have put the fix in CVS now.

Thanks,
Samisa...

On Thu, 2005-06-09 at 13:48, John Hawkins wrote:
> 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>
-- 
Samisa Abeysinghe <sa...@virtusa.com>
Virtusa Corporation