You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Triquoit Mathieu <ma...@gmail.com> on 2009/12/08 16:02:20 UTC
Question About Axis2 1.4.1 and \n
Hi all,
I have a webservice which contains two operations. For the first one, I have
a field "address" (with type string). If the response contains a \n; I have
something like:
<address>Address line 1
Address line 2
Address line 3
</address>
My other operation contains also a field "address"... If I perform the same
test (=this field must contain a multi-line text), I receive something like
the following:
<traderAddress>Address line 1 Address line 2 Address line 3</traderAddress>
How is this possible ? When I am debugging in the two operations, I have
exactly the same behavior:
xmlWriter.writeCharacters(<
FIELD>); and the value of <FIELD> is correct (e.g.: Address line 1\nAddress
line 2\nAddress line 3).
Could you please help me ?
Best regards,
Mathieu