cancel
Showing results for 
Search instead for 
Did you mean: 

CDATA issue in RFC XML conversion

Former Member
0 Kudos

Hi all,

I am trying to consume a webservice from ABAP. One of the webservice method responds with a data holding an xml fragment under the tags CDATA, like,

<!CDATA[[<?xml version="1.0" encoding=.....]]>

But the program throws exception during RFC XML conversion.

However i could find the correct response payload in the error log in ST11 transaction.

Pls advice.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi all,

The webservice method execution works fine till receiving payload response and the exception arise later while parsing the payload with CDATA tag. Will it be possible to retrieve the response payload in the program, So that i can recover the exact response data that i need.

Pls sugget.

Regards,

P.Ganesh

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

as this is not a proper CDATA

try:

<![CDATA[ cdata text ]]>

you can test it easily by opening with IExplorer

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Former Member
0 Kudos

Hi michal,

You are right. I have specified incorrectly in my post.

This is part of payload found in transaction ST11.

<Data><![CDATA[<b>cdata</b>]]></Data>

Is there any solution to avoid this exception. Or Is there any way to retrieve the payload at the end of the webservice call(after exception in RFC XML conversion) in the program, so that i can recover the data i need?

Regards,

Ganesh