cancel
Showing results for 
Search instead for 
Did you mean: 

Parsing CDATA

former_member335553
Active Contributor
0 Kudos

I have the interface that is triggered by an HTTPS post to the Integration server with incoming message lying in the CDATA section of the XML .

<Envelope version="01.00">

<Sender></Sender>

<Recipient></Recipient>

<Packet>

<Payload>

<![CDATA[

. . <b>Incoming Message</b>

]]>

</Payload>

</Packet>

</Envelope>

Please sort out a way, as to how to parse the incoming data from the CDATA section in XML, to be sent to XI.

Accepted Solutions (1)

Accepted Solutions (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

You might consider using a Java Mapping to extract the payload out of your HTTP from the inpuit stream and then parse the XML input stream to do the mapping.

Regards,

Bhavesh

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Anusha,

There is no module for this problem. You have to do it in the mapping step via Java Mapping, taking the CDATA values as your input parameter and convert the Outbound payload to the inbound message type.

I guess this answers your query....

Regards,

Abhy

Former Member
0 Kudos

Hey

chk out this thread

cheers

jithesh