Carl,

We had the same issue in Apache Synapse (which is based on Axis2). You may have a look at the following JIRA issue to get an idea about the cause of this behavior, a possible workaround and the risks of that workaround:

https://issues.apache.org/jira/browse/SYNAPSE-280

Regards,

Andreas

On 27 août 08, at 13:55, Walker, Carleton wrote:

Hi,

I'm writing a web service for a legacy client. The legacy client sends embedded XML in string elements that are escaped by a CDATA section. My web service needs to echo these sections back to the client in the original form. However, Axis2 (or a subcomponent) is replacing the CDATA section with a string containing

For example,

<app-specific-contents><![CDATA[<embedded-xml>myevent</embedded- xml>]]></app-specific-contents>

Is replaced with

<app-specific-contents>&lt;embedded-xml&gt;myevent&lt;/embedded- xml&gt;</app-specific-contents>

I put some debug messages in the MessageReceiver and it looks like the escaping is taking place when the SOAP envelope is formed. "wrappedParam" and my XMLBeans response object look okay. Printing the envelope from the toEnvelope() method shows the escaped contents.

Any help is appreciated.

-Carl

-----------------------
Carl Walker, Consultant
FINRA Data Services
(240) 386-6793
Key West Ave (Rockville)

Confidentiality Notice: This email, including attachments, may include non-public, proprietary, confidential or legally privileged information. If you are not an intended recipient or an authorized agent of an intended recipient, you are hereby notified that any dissemination, distribution or copying of the information contained in or transmitted with this e-mail is unauthorized and strictly prohibited. If you have received this email in error, please notify the sender by replying to this message and permanently delete this e- mail, its attachments, and any copies of it immediately. You should not retain, copy or use this e-mail or any attachment for any purpose, nor disclose all or any part of the contents to any other person. Thank you


Reply via email to