on 10-25-2006 10:42 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.