Skip to Content
0

CDATA issue using SOAP UI

Feb 03, 2017 at 05:26 AM

89

avatar image
Former Member

Hello Experts,

I am working on SOAP --> PI----> Proxy synchronous scenario which is a pass through interface.

A certain set of special characters are added in the response from ECC which shows a node CDATA in the SOAP UI response as below:-

"><![CDATA[qqqqqqhjlkhgfdsgjkllhbhghghhgjjj&&&<<<<]]></n0:Message>

But if we see the payload of this response in PI it does not show CDATA and only shoes the rest of the text.

Request you all to comment if this "CDATA" is being added by the SOAP adapter in the response or is it a SOAP UI Bug that shows CDATA along with the special characters in the message node.

Request your response on the same.

Regards,

Shubham

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Iñaki Vila Feb 03, 2017 at 06:57 AM
0

Hi Shubham,

It's perfectly normal, if you go to the monitoring and see the message in notepad (view source code) you can see the CDATA, you don't see it because the monitoring uses a browser that interpret the CDATA and it hides it. If you take your response in SOAPui and you save it to html extension, you will see the CDATA hidden.

Regards.

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

HI Inkai,

Thanks for your reply.

1 more thing, I am getting the soap response in which there are there is soap header and body.

I am getting some CDATA content in 1 of the fields named 'Message' in the body.

Now I want to pass other fields as it is in the target and parse the CDATA content inside message field and pass the same to the target.

Request you to let me know how can this be achieved in a easy way.

Thanks!!

Regards,


Shubham

0