cancel
Showing results for 
Search instead for 
Did you mean: 

ADAPTER.HTTP_EXCEPTION - HTTP 400 Bad request

Former Member
0 Kudos

Hi Folks ,

Error : "com.sap.aii.af.ra.ms.api.DeliveryException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 400 Bad request"

Scenario : Webservice --> XI (ccBPM) -->SAP (By verfying the response from SAP and if the data holds any error it will sends mail to SAP & webservice Admin thru mail Adapter)

1. Webservice will send the update Message to ccBPM asynchronously via XML Gateway

2. ccBPM will call RFC on SAP R/3 synchronously.

3. If R/3 response contains an application error XI will send the error message to SAP and Webservice administrators using Mail Adapter

As per our analyzation error might be if the target message is not creating based on the wsdl structure or if soap receiver not configured properly.

Could you please let me know the actual root cause and suggest me the solution ..

Thanks in Advance..

Regards,

Sekhar

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Can you please help?

We are also getting same error http 400 bad request whentrying to post the data to web service.

How did u managed to resolve the issue?

Thanks in advance

Regards,

SV

baskar_gopalakrishnan2
Active Contributor
0 Kudos

>As per our analyzation error might be if the target message is not creating based on the wsdl structure or if soap receiver not configured properly.

Check whether the WSDL has both response and fault message. If it has fault message and If the response is not happy flow or application error and it might expect fault message on the PI Side. Since your response structure is different and not having fault message structure ,you might get this error.

Check the same directly outside PI using XMLSPY or SOAPUI and see whether you receive difference response structure or fault message during application logic error.

former_member183909
Active Participant
0 Kudos

How is the connection being done ? via HTTP or URL in the communucation channel.

Check if you if have HTTP:// in front of your URL

former_member184681
Active Contributor
0 Kudos

Hi,

Most probably your request message's structure does not exactly match the structure defined in PI. Also make sure that you are using POST (not GET) HTTP request, as this also might cause an error like this. And do not get misled by the error saying

response message contains an error

It is the request that causes the error, as per "HTTP 400 Bad request". The role of the SOAP Response here is to notify you about the error.

Hope this helps,

Greg