How to get Axis2/Axiom to escape Carriage Returns?

deejay

New Member
When creating a SOAP message using Axis2/Axiom I need to preserve the carriage returns in the body element. If I escape the CR to \[code\]
\[/code\] (which is what is supposed to be done) Axis2/Axiom escapes the "&" to \[code\]&\[/code\]. If I do nothing Axis2/Axiom converts the CR to LF. How do I get Axis2/Axiom to correctly escape the CR?If that is not possible, how do I get Axis2/Axiom to ignore an already escaped sequence or perhaps even more simply, to leave a specific "&" alone?I would prefer to be able to get Axis2/Axiom to escape the CR correctly to \[code\]
\[/code\]
 
Back
Top