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:01:22 UTC
[jira] Created: (AXISCPP-596) IAttributeTest1, IAttributeTest3 and IAttributeTest4 get garbage as results from CalculatorDoc
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
[jira] Commented: (AXISCPP-596) IAttributeTest1, IAttributeTest3 and IAttributeTest4 get garbage as results from CalculatorDoc
Posted by "Dushshantha Chandradasa (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-596?page=comments#action_61925 ]
Dushshantha Chandradasa commented on AXISCPP-596:
-------------------------------------------------
Samisa,
Your fix to issue AXISCPP-465 has solved this issue as well. Thanks.
> 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
[jira] Commented: (AXISCPP-596) IAttributeTest1, IAttributeTest3 and IAttributeTest4 get garbage as results from CalculatorDoc
Posted by "Dushshantha Chandradasa (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-596?page=comments#action_61816 ]
Dushshantha Chandradasa commented on AXISCPP-596:
-------------------------------------------------
This problen is there in the tests below as well
IHeaderBlockTest1
IHeaderBlockTest2
IHeaderBlockTest3
IHeaderBlockTest4
IHeaderBlockTest5
IHeaderBlockTest6
IHeaderBlockTest7
IHeaderBlockTest8
INamespaceTest1
> 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
[jira] Commented: (AXISCPP-596) IAttributeTest1, IAttributeTest3 and IAttributeTest4 get garbage as results from CalculatorDoc
Posted by "Dushshantha Chandradasa (JIRA)" <ax...@ws.apache.org>.
[ 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
[jira] Closed: (AXISCPP-596) IAttributeTest1, IAttributeTest3 and IAttributeTest4 get garbage as results from CalculatorDoc
Posted by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-596?page=history ]
Samisa Abeysinghe closed AXISCPP-596:
-------------------------------------
Resolution: Fixed
Fix Version: 1.5 Final
These tests have been failing due to garbage memeory problems caused.
This is fixed with the fixes for addParams method
> 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
> Assignee: Samisa Abeysinghe
> Fix For: 1.5 Final
>
> 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
[jira] Assigned: (AXISCPP-596) IAttributeTest1, IAttributeTest3 and IAttributeTest4 get garbage as results from CalculatorDoc
Posted by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-596?page=history ]
Samisa Abeysinghe reassigned AXISCPP-596:
-----------------------------------------
Assign To: Samisa Abeysinghe
> 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
> Assignee: Samisa Abeysinghe
> Fix For: 1.5 Final
>
> 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