Skip to Content
avatar image
Former Member

Receiver SOAP adapter Issue - Not reaching to target system

Hi All,

I have an issue in connecting to target system from SAP PI.

Description:

This is Proxy to SOAP scenario.SAP ECC sends the data to SAP PI inform of proxy and PI inturns sends it to target system which is on cloud via webservice.

We have imported the WSDL and did the mapping after mapping below is the output from SAP PI.

Request Mapping structure:

WSDL structure is in the below from in SAP PI after mapping

<?xml version="1.0" encoding="UTF-8"?> <ns0:insert xmlns:ns0="abcd"> <record></record>

</ns0:insert>

Target structure is expecting in the below format:

http://schemas.xmlsoap.org/soap/envelope/">

I have done the XSLT mapping as below:

http://www.w3.org/1999/XSL/Transform" > http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns0="http://abcd">

<xsl:copy-of select="*"/> </soapenv:Body> </soapenv:Envelope> </xsl:template> </xsl:stylesheet>

I have used the XSLT mapping in the OM.Then in receiver SOAP communication channel i have used below module bean to convert ns0 to u

Paramter Value: http://schemas.xmlsoap.org/soap/envelope/ soapenv http://abc u

I have marked DoNotuseSoap Envelope in the confg.

Issue:

We are not able to send the data to the target side.It is HTTPS with SSL confg. We haev installed the cert in trustedCA and using basic authentication.

We tried both Sync and Async,but no luck.

In ASync case it is showing success but the target system is not receiving the data.

In SYNC case it is throwing the below error:Returning to application. Exception: com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error

Please suggest what could be the error from SAP PI.

capture.png (15.0 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Apr 19, 2017 at 03:19 AM

    Hi,

    Only check the "Do Not Use SOAP Envelope" if you are planning to:

    1. Send something in the SOAP Header

    2. Remove the SOAP Envelope

    3. Send something in the HTTP Body that is not XML

    Please untick the Do Not Use SOAP Envelope, remove the anonymizer bean, set the interface to sync and then get back to us.

    Regards,

    Mark

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 19, 2017 at 02:43 PM

    can anyone help me on the above issue ?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 19, 2017 at 02:43 PM

    can anyone help me on the above issue ?

    Add comment
    10|10000 characters needed characters exceeded