Skip to Content

Proxy to HTTP_AAE / SOAP?

Hi Guys,

My requirement is Sender is Proxy and for the receiver I have "HTTPS" url (eg. https://xxx.xxxxx.com/xotp/stage/xxxx) so I tried using HTTP_AAE adapter as receiver. I have used normal structure for sender data type and for target I have a string (1 field) datatype. For target I am passing the entire XML and values into this string field using a custom UDT. I am using SAP PO 7.4 single stack.

I am getting this error when executing. "MP: exception caught with cause com.sap.aii.adapter.http.api.HttpAdapterException: ERROR_SENDING_HTTP_REQUEST-Message Processing Failed. Reason : java.net.UnknownHostException: https://xxx.xxxxxxxx.com"

But ping channel for the receiver communication channel is working fine. Also the certificates are also verified.

Attached is the HTTP_AAE receiver communication channel screen shot.

Can I achieve it using HTTP_AAE adapter or SOAP adapter?

Thanks in Advance,

RVR

http-aae.png (28.0 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Jul 17, 2017 at 04:20 PM

    Hi,

    Parameter 'Target Host' in HTTP_AAE receiver channel configuration shall not contain protocol scheme (http or https), it shall only contain IP address / DNS name / alias of the called remote server.

    Regards,

    Vadim

    Add comment
    10|10000 characters needed characters exceeded

    • It is very unlikely somebody from ERP or receiver system will suggest which adapter you need to use - this is purely PI architect or developer's decision.

      Given information you provided, you still have multiple adapters to choose from since quite a lot of built-in adapters support XML data format - for example, SOAP adapter does so since SOAP message is entirely based on XML (when you need to consume SOAP service), REST adapter supports XML (although in many use cases for REST adapter predominant data format is JSON), as well a XML can be passed in HTTP body of the message when using HTTP_AAE adapter.

      I would suggest you getting in touch with somebody from receiver system side / service provider, and query them about what type of service they expose. Or alternatively, get in touch with your ERP team to gather more details about how they consume the remote service - this will also bring you extra useful details that can be used when making decision on adapter type selection in PI.

      Regards,

      Vadim

  • Aug 16, 2017 at 03:47 PM

    I have used HTTP_AAE adapter, Message Transformation Bean and Java Mapping to resolve the issue.

    Add comment
    10|10000 characters needed characters exceeded