Deserialization Problem
-----------------------

         Key: AXISCPP-597
         URL: http://issues.apache.org/jira/browse/AXISCPP-597
     Project: Axis-C++
        Type: Improvement
  Components: Deserialization  
    Versions: 1.3 Final    
 Environment: Windows 
    Reporter: shijith lal


 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

-- 
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

Reply via email to