cancel
Showing results for 
Search instead for 
Did you mean: 

Sending JSON message from SAP CPI to Oracle on premise ERP via cloud connector failing

YayatiEkbote
Contributor
0 Kudos
504

Hello experts,

We are integrating Ariba with Oracle ERP using SAP CPI-PI. We have configured cloud connector and cloud connector to subaccount is correctly configured. Connectivity test is successful. In cloud to on premise, HTTPS connection is reachable and all paths and sub-paths are allowed.

In I-Flow, we are converting cXML message from Ariba to JSON message. I am using Request-Reply with HTTP receiver adapter to send message to Oracle ERP. The communication is asynchronous where ERP is supposed to send HTTP 202.

Address URL - http://virtualhost:virtualport/endpointURLsubpath

proxy type - On-premise

Location ID - Location ID of cloud connector

Method - POST

Authentication - Basic

Credential Name - Credential stored in security material

I am getting HTTP 500 error at HTTP receiver adapter Exception Message - HTTP operation failed invoking <Address URL> with statusCode: 500.

I am unable to understand what wrong I am doing. Please suggest if I am missing anything.

Regards,

Yayati

Accepted Solutions (0)

Answers (1)

Answers (1)

sunny_kapoor
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi yayatiekbote,

Are you setting any header before making the call, if yes please allow the header which you like to pass to HTTPS reciever adapter using the request headers attribute.

You can find more information here.

Regards,

Sunny