axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From balaji hari <to.haribal...@gmail.com>
Subject Newline character in axis2 response message
Date Wed, 25 Aug 2010 22:35:44 GMT

hi,

we use axis2 1.5.1 pojo webservice where service returns xml string.
We noticed through tcpmon that axis serializes xml special characters

Here is a snippet from tcpmon (output from axis2 POJO service).
&amp;lt;name>resource_LGPD_C1A2_ADDRESS_PEER&amp;lt;/name>\x00a       
&amp;lt;paramNumber>78&amp;lt;/paramNumber>\x00a

however after de-serialization the above snippet looks like
<name>resource_LGPD_C1A2_ADDRESS_PEER</name>\x00a        
<paramNumber>78</paramNumber>\x00a



We use axis2 client libraries.

Object[] response = RPCServiceClient.invokeBlocking(operation,
                args, returnTypes);

1. why the new line character "\n" in xml string or any string becomes
\x00a?
2. Is there any utility / api to get exact string with "\n" characters.
-- 
View this message in context: http://old.nabble.com/Newline-character-in-axis2-response-message-tp29537254p29537254.html
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org


Mime
View raw message