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 ax...@ws.apache.org on 2004/10/13 08:20:53 UTC
[jira] Closed: (AXISCPP-184) Client cannot handle '<' and '>' characters in deserializing a returned string
Message:
The following issue has been closed.
Resolver: Samisa Abeysinghe
Date: Tue, 12 Oct 2004 11:20 PM
Fixed the problem for Xerces parser.
Expat parser did not need any fix, it works.
I used the following XML for testing with echoSting of base sample and it works:
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <PaymentConfirmResponse xmlns="http://service.zx.chinavnet.com/v1.0/"> <PaymentConfirmResult> <SenderID/> <Result>-10021</Result> <ErrorDescription>XXXXX</ErrorDescription> </PaymentConfirmResult> </PaymentConfirmResponse> </soap:Body> </soap:Envelope>
One more observation: Xerces parser is much slower than Expat parser in this case.
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/AXISCPP-184
Here is an overview of the issue:
---------------------------------------------------------------------
Key: AXISCPP-184
Summary: Client cannot handle '<' and '>' characters in deserializing a returned string
Type: Bug
Status: Closed
Priority: Major
Resolution: FIXED
Project: Axis-C++
Components:
Serialization/Deserialization
Fix Fors:
1.3 Final
Versions:
1.3 Beta
Assignee: Samisa Abeysinghe
Reporter: Samisa Abeysinghe
Created: Mon, 4 Oct 2004 10:08 PM
Updated: Tue, 12 Oct 2004 11:20 PM
Environment: All platforms
Description:
Client cannot handle '<' character and '>' characters while deserializing a returned string.
e.g.
If server response contains:
<echoStringReturn xsi:type="xsd:string">hello< world</echoStringReturn>
the client get the return value as:
< world
If server response contains:
<echoStringReturn xsi:type="xsd:string">hello> world</echoStringReturn>
the client get the return value as:
> world
---------------------------------------------------------------------
JIRA INFORMATION:
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