Skip to Content

Error on mapping SAP>PI>SOAP

Hello,

I'm trying to create a interface to get a XML from a website, I managed to get to the website through a SOAP receiver adapter, but now I'm getting the error

Runtime exception occurred during application mapping 
com/sap/xi/tf/_mm_XXXXXXXXXX_Resp_Out_In_; 
com.sap.aii.utilxi.misc.api.BaseRuntimeException:Fatal Error: 
com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here (:main:, row:2, col:2)

I don't know if my mapping is right, I got the XML from the website and create a XSD for the ESR

My mapping is:

While the action XML is

One thing I'm not sure is the SOAPAction field on SOAP channel, I'm leaving it blank while the whole URL is being passed through a UDF.

Is there a way to see the content the channel is receiving? I tryed RWB, SXI_MONITOR and XPI Inspector but I coudnt see nothing.

I don't know if this "Body" is related to my inbound

Thanks in advance

mapping.jpg (247.3 kB)
ihnk6t3.jpg (30.7 kB)
insp.jpg (210.7 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 13, 2017 at 05:00 PM

    Hi Marcelo,

    As I understood the problem is that your external Web Service sends you a TEXT/HTML page as a response (instead of XML content). The reason of that may be an incorrect URL or an incorrect request message.

    Could you check with SoapUI that you can connect successfully with your Web Service?

    To see the content of the response please use XPI Inspector (choose: 50 (XI Channel) and add your communication channel).

    Best regards,

    Andrzej

    Add comment
    10|10000 characters needed characters exceeded