Skip to Content
author's profile photo Former Member
Former Member

CDATA issue in RFC XML conversion

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Oct 25, 2006 at 10:31 AM


    as this is not a proper CDATA


    <![CDATA[ cdata text ]]>

    you can test it easily by opening with IExplorer




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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi michal,

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

      This is part of payload found in transaction ST11.


      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?



  • author's profile photo Former Member
    Former Member
    Posted on Oct 26, 2006 at 04:06 AM

    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.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.