Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
1.3 Final
-
None
-
None
-
Windows
Description
I am working with Axis C++ 1.3. it is working smooth . But I have a small problem.
For Deserialization of the return XML, I am using my own custom Deserializer function. From that function I am using the getAnyObject of SoapDeserilizer class. Actually my return data is a XML( I am sending a sample copy ). This function returns the data properly. But if the XML has any encoded data it make problem. When the function returns these data will unencoded and return actual charectors. But when I use this XML with any parser, it fails because of this data. For Examlple my XML consist of a data "<result> shijith&lal</result>". To properly parse this "&" charector must be encoded. But when the function returns this data in the abouve style ( not encoded ).
My sample return XML
<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<ns1:myfunResponse xmlns:ns1="urn:myServer" SOAP-ENV:encodingStyle="http://xml.apache.org/xml-soap/literalxml">
<return>
<myresult><status recordid="shijith" statusid="0"><statusdesc>cn=shijith,ou=R&D,o=fishcer,c=ind</statusdesc></status></myresult>
</return>
</ns1:myfunResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Hope u can give me a suggestion
Thaks
Attachments
Issue Links
- is duplicated by
-
AXISCPP-663 Element values not escaped when using getAnyObject()
- Resolved