cancel
Showing results for 
Search instead for 
Did you mean: 

Handling CDATA in PI

Former Member
0 Kudos

Hello,

I am receiving input message in CDATA format with ISO-Latin-1 encoding ,Will PI be able to parse this

How to check whether CDATA received is correct format or not ,Is it possible to check the same using XML SPY?

Replies will be very helpful

Rajesh

Accepted Solutions (0)

Answers (2)

Answers (2)

JaganMohan
Participant
0 Kudos

Dear Rajesh,

You can write Java modules to parse and generate the required XML format and add the module in adapter.

Regards,

JP.

Former Member
0 Kudos

Hi,

basically it should not be problem to parse it - done this before without any issues - as long as the XML containing CDATA is well-formed. You could use XSLT within mapping step to extract the data and pass it into a XML with propper encoding (e.g. ISO-8859-1) and then process it.

Regards,

Kai

Former Member
0 Kudos

Thanks for replies I solved by using XSLT

with property disable-output-escaping='Yes'

Rajesh

Former Member
0 Kudos

Hi Rajesh,

Can you help me in confirming if PI can accept the CDATA using SOAP adapter? Please find the discussion created for the same.

Appreciate if you could provide any help.

Thanks.

Regards,

AJ