cancel
Showing results for 
Search instead for 
Did you mean: 

Receiver SOAP Adapter Problem-HTTP 401 Unauthorized

Former Member
0 Kudos

We are using XI-7.0. We have scenario IDOC >> XI >> SOAP by making asynchornous call.

Vendor has two web server - A and B. Both the servers set up are identical in the vendor system.

Web server "A" works fine from XML spy tool as well as XI for sending service order SOAP messages.

Web server "B", we are able to send SOAP messages from XML spy successfully and vendor also confirms that it updates database in their system.

But we are not able to send SOAP messages from XI on Server "B". We are getting following error message in the adpter engine.

Can someone please help me? Thanks!

<i>SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 401 Unauthorized

MP: exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 401 Unauthorized

Exception caught by adapter framework: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 401 Unauthorized

Delivery of the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 401 Unauthorized.</i>

Thanks!

MP

Accepted Solutions (0)

Answers (4)

Answers (4)

0 Kudos

Hi,

Verify if the user provided is using a correct password.

Also check the SAP Note:

#821026 - AdapterEngine messaging URL returns HTTP 401 under high load

Cheers,

Caio

Former Member
0 Kudos

Hi,

I am also facing the same issue.

Can you please let me know if you have got the solution?

Need help urgently.

Thanks.

former_member190624
Active Contributor
0 Kudos

Hi Riya,

The problem is purely user authentication , please check with ur WS provider is their any change in the user name and password.

Regards

Hari.

Former Member
0 Kudos

Hi Hari,

Already checked with WS provider, there is no user authentication.

WS provider is saying that unauthorized access may mean SSL certificate is not being presented to them while sending the message, so the correct SSL certificate settings have to be configured.

Can anyone let me know in detail step by step configuration for SSL certificate?

Please dont provide any link, as i have referred help.sap.com and have got more confused.

We are using SOAP receiver adapter.

Thanks.

Former Member
0 Kudos

Thanks Inaki.. The links were very useful.

Former Member
0 Kudos

http 401: -


1) <u><b>Un authorized : check username and password</b></u>

2) also check: Go to SXMB_ADM and review the config for the Integration Engine Configuration. If you put http://host:port/sap/xi/engine/entry?type=entry user information is passed in the HTTP header. If you put dest://INTEGRATION_SERVER check the user information is valid for the http INTEGRATION_SERVER entry in sm59

Best Regards,

Srikanth

Reward the useful answers and you will get one point yourself

Former Member
0 Kudos

hi

Have a look at this link

HTTP* Errors /people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi