SAP PO: Proxy -> SOAP Synchronous scenario with CDATA structure

In some SOAP provider they need CDATA inside XML request structure. Picture below show you full configuration steps when you work with this scenario. I won’t show you all steps, just highlight important notes with CDATA conversion.

1 – Download WSDL from service provider

Copy content and save as with WSDL file extension.

2 – Import WSDL into Enterprise Services Builder (ESB)

3 – Convert XML Segment to CDATA field

4 – Mapping program in Operation Mapping

5 – Testing mapping program

Test mapping convert CDATA, here we can see many escaping characters in mapping step 1

Test mapping program step 2 with XSLT conversion, here escaping output was disabled

XSLT Transform

Thanks,

Cuong Dang

5 comments

  1. Hi! How to make the opposite operation – transform CDATA block to XML for further mapping?

    I receive XML-response via SOAP-channel, and part of it has a CDATA block (it is because of the response system prerequisites). I need to change this CDATA-part to XML, because I need to return mapped XML-structure from PO.

    Like

      1. Thank you! Do you have any examples for this kind of transformation?

        I’m trying to create an XSL archive but I don’t understand which option should I use to transform elements from CDATA to XML

        Like

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.