I'm developing Document/Literal web services using JBoss 4.0.2.
I'm using the wscompile tool to generate client and mapping artifacts from wsdl.
I have a text (String) like
abcd\r\n
efgh\r\n
every line ends with the control characters \r(ASCII 13)\n(ASCII 10).
After sending the string on the server the control character \r are missing.
The request-string looks as follows (on the server):
abcd\n
efgh\n
Any idea why control character ASCII 13 is missing ?
Thanks for Help !!!
This is part of the xml spec. A client must view CRLF and LF as equal. If you need to send special characters, then you must either base64 encode the string, or use attachments.
-Jason