09-18-2009 3:12 PM
Hello,
I have created a WS with a function module to retreive some data from a non SAP system.
An error occurs
The reason for the exception was:
Error when converting XML => ABAP (Response Message ; ID erreur :
CX_ST_DESERIALIZATION_ERROR ; (/1SAI/TXS00000000000000000015 XML Bytepos.: 405
XML Path:
root(1)ws:getShipmentPostsResponse(1)ws:return(1)xsd:posts(2)xsd:post(1)xsd:sap
RefNr(3) Err
It dumps on
call transformation (transformation_name)
source xml x_xml
result (bindings).
in the XML_PARSE method of CL_WS_PAYLOAD_HANDLER
I can't go inside "call transformation"
with transformation_name = /1SAI/TXS00000000000000000015
How to analyse it ? transaction ? prog to test ?
Best Regards.
Ramdane
09-23-2009 10:34 AM
09-23-2009 10:35 AM
Hi,
As far as i know. the only way to debug a webservice is from SE80.
open your webservice from se80,
Give your REQUEST as an XML file,(put a break point in side ur web-class)and analyis ur RESPONSE.
you are using RFC but it seams that problem is not in that function module else you can use SRDEBUG tcode to debug remote enabled function module.
If you are getting error in CALL TRANSFORMATION.
The only posibility is the data u r passing it for converting it in XML.
just post your code with CALL TRANSFORMATION or the point which is going into dump....
Regards,
Raj