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 "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org> on 2005/03/30 11:23:16 UTC

[jira] Closed: (AXISCPP-587) Test Service InteropBase for the test InteropTestRound1 returns a garbage value for echoString() method

     [ http://issues.apache.org/jira/browse/AXISCPP-587?page=history ]
     
Samisa Abeysinghe closed AXISCPP-587:
-------------------------------------

     Resolution: Fixed
    Fix Version: 1.5 Final

There was some problems in the generated code for serilizing in the wrapper. The WSDL tool was fixed and the problem seems to be solved.

> Test Service InteropBase for the test InteropTestRound1 returns a garbage value for echoString() method
> -------------------------------------------------------------------------------------------------------
>
>          Key: AXISCPP-587
>          URL: http://issues.apache.org/jira/browse/AXISCPP-587
>      Project: Axis-C++
>         Type: Bug
>   Components: Deserialization
>     Versions: current (nightly)
>  Environment: All
>     Reporter: Dushshantha Chandradasa
>     Assignee: Samisa Abeysinghe
>      Fix For: 1.5 Final

>
> The test service InteropBase returns a garbage value for the method call of echoString. It seems to be a deserialization problem. This service is used for more than 10 tests. following are the SOAP messages sent to the server and the response from the  server.
> Request sent to the server
> POST /axis/InteropBase HTTP/1.1
> Host: localhost:8888
> Content-Type: text/xml; charset=UTF-8
> SOAPAction: "InteropBase#echoString"
> Content-Length: 418
> <?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:echoString xmlns:ns1="http://soapinterop.org/">
> <inputString xsi:type="xsd:string">hello world hello world </inputString>
> </ns1:echoString>
> </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
> POST /axis/InteropBase HTTP/1.1
> Host: localhost:8888
> Content-Type: text/xml; charset=UTF-8
> SOAPAction: "InteropBase#echoString"
> Content-Length: 405
> <?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:echoString xmlns:ns1="http://soapinterop.org/">
> <inputString xsi:type="xsd:string">hello world</inputString>
> </ns1:echoString>
> </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
> POST /axis/InteropBase HTTP/1.1
> Host: localhost:8888
> Content-Type: text/xml; charset=UTF-8
> SOAPAction: "InteropBase#echoString"
> Content-Length: 567
> <?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:echoStringArray xmlns:ns1="http://soapinterop.org/">
> <inputStringArrayArray xmlns:enc="http://www.w3.org/2001/06/soap-encoding" enc:arrayType="xsd:string[2]">
> <item>0th element of string array</item>
> <item>0th element of string array</item>
> </inputStringArrayArray>
> </ns1:echoStringArray>
> </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
> The response to the request
> HTTP/1.1 200 OK
> Date: Tue, 29 Mar 2005 12:10:10 GMT
> Server: Apache/2.0.52 (Win32)
> Content-Length: 421
> Content-Type: text/xml
> <?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:echoStringResponse xmlns:ns1="http://soapinterop.org/">
> <echoStringReturn xsi:type="xsd:string">@</echoStringReturn>
> </ns1:echoStringResponse>
> </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
> HTTP/1.1 200 OK
> Date: Tue, 29 Mar 2005 12:10:10 GMT
> Server: Apache/2.0.52 (Win32)
> Content-Length: 423
> Content-Type: text/xml
> <?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:echoStringResponse xmlns:ns1="http://soapinterop.org/">
> <echoStringReturn xsi:type="xsd:string">xۋ</echoStringReturn>
> </ns1:echoStringResponse>
> </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