Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2812

Re: Removing CDATA around XML Adds Unwanted Escaping

$
0
0

Hi Carlton

 

It's not entirely clear whether you are getting all these escape characters as a raw response back from the SOAP service or after some logic/mapping has been performed in PI.

 

We need to establish when this happens and if it is due to your Java mapping above.

 

Can you add the module MessageLoggerBean on your SOAP receiver channel? Add it as the module AFTER the CallAdapter step so that it logs a payload of the raw response from the SOAP service. Refer to the following blog for usage details of the module.

Message Staging and Logging Options in Advanced Adapter Engine of PI/PO 7.3x/7.4

 

One you have this, can you provide a screenshot of the raw response that was logged by the module?

 

If the raw response from the SOAP service is as per your first sample XML above (which has CData) then I can provide you a much simpler Java mapping to extract the XML content wrapped in the <Data> node. The Java mapping above that you got from other posts is actually quite horrible - it can be so much more simpler.

 

Regards

Eng Swee


Viewing all articles
Browse latest Browse all 2812

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>