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 "Dushshantha Chandradasa (JIRA)" <ax...@ws.apache.org> on 2005/03/30 11:12:20 UTC

[jira] Commented: (AXISCPP-596) IAttributeTest1, IAttributeTest3 and IAttributeTest4 get garbage as results from CalculatorDoc

     [ http://issues.apache.org/jira/browse/AXISCPP-596?page=comments#action_61815 ]
     
Dushshantha Chandradasa commented on AXISCPP-596:
-------------------------------------------------

The Service CalculatorDoc gives the expected results for other tests. But here, it seems that Axis C++ server cannot deserialize the header block of the SOAP message.

> IAttributeTest1, IAttributeTest3 and IAttributeTest4 get garbage as results from CalculatorDoc
> ----------------------------------------------------------------------------------------------
>
>          Key: AXISCPP-596
>          URL: http://issues.apache.org/jira/browse/AXISCPP-596
>      Project: Axis-C++
>         Type: Bug
>   Components: Deserialization
>     Versions: current (nightly)
>  Environment: All
>     Reporter: Dushshantha Chandradasa

>
> IAttributeTest1, IAttributeTest3 and IAttributeTest4 get garbage value for result from CalculatorDoc service. following are the request from the client and response from the server.
> Request
> -------
> POST /axis/CalculatorDoc HTTP/1.1 Host: 127.0.0.1:8888 Content-Type: text/xml; charset=UTF-8 SOAPAction: "CalculatorDoc#add" Content-Length: 550  <?xml version='1.0' encoding='utf-8' ?>
> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlnssd="http://www.w3.org/2001/XMLSchema" xmlnssi="http://www.w3.org/2001/XMLSchema-instance">
> <SOAP-ENV:Header><ns:TestHeader xmlns:ns="http://ws.apache.org/" ns:Name="AXIS"><Project Type="Open Source"></Project></ns:TestHeader></SOAP-ENV:Header>
> <SOAP-ENV:Body>
> <ns1:add xmlns:ns1="http://localhost/axis/Calculator">
> <ns1:arg_0_0>2</ns1:arg_0_0>
> <ns1:arg_1_0>3</ns1:arg_1_0>
> </ns1:add>
> </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
> Response
> --------
> HTTP/1.1 200 OK Date: Wed, 30 Mar 2005 08:34:20 GMT Server: Apache/2.0.52 (Win32) Content-Length: 524 Content-Type: text/xml  <?xml version='1.0' encoding='utf-8' ?>
> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlnssd="http://www.w3.org/2001/XMLSchema" xmlnssi="http://www.w3.org/2001/XMLSchema-instance">
> <SOAP-ENV:Header><ns2:TestHeader xmlns:ns2="http://ws.apache.org/" ns2:Name="AXIS"><Project></Project></ns2:TestHeader></SOAP-ENV:Header>
> <SOAP-ENV:Body>
> <ns1:addResponse xmlns:ns1="http://localhost/axis/Calculator">
> <addReturn>2555904</addReturn>
> </ns1:addResponse>
> </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira