on 11-16-2012 3:28 PM
I am developing a scenario with a SOAP sender channel. The channel appears to be working correctly, the user authentication works and a SOAP response (200 OK) is returend. The sender channel is using a QoS of "Exactly Once".
The 401 error is apping in the adapter engine in the audit log. The specific error is:
Transmitting the message to endpoint https://<SNIPPED>/sap/xi/engine?type=entry using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Received HTTP response code 401 : Unauthorized.
The message never leaves the adapter engine. I have been unable to find any documentation discussing authentication of the SOAP adapter beyond the user authentication, which we know is working becasue of the 200 OK response, verified by using a bad user password getting a 401 error for the user connection itself.
We've checked all of the users associated with SOAP. We have a note open with SAP. It does not appear to be a configuration item, at last anything obvious.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It was identified that an update was done (EhP1) however a step was missed.
Our basis team completed the steps below, and the problem was resolved. SOAP messages now are passed to the integration engine without error.
Configuration of Principal Propagation
http://help.sap.com/saphelp_nwpi71/helpdata/en/45/0f16bef65c7249e10000000a155369/frameset.htm
Hi,
401 : Unauthorized is related to User credentials issue.Please check if any of your Service users(EX:PIAPPLUSER,PIAFUSER,PIDIRUSER...e.t.c) got locked.
Regards,
Naveen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Does the above error occuring for all the scenarios ? If yes then there is a problem in passing the data from the adapter engine to the integration engine...
As said above by mark check the credentials maintained..
HTH
Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mark,
The end point URL is as below:
http://PIServer:5<SystemNumber>00/XISOAPAdapter/MessageServlet?Channel=:BusinessComponent:CC_SNDR
Try this URL.
Regards,
Sreeni.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
A couple of things:
1. Maybe your AF times out during high load, you may refer to this document
http://scn.sap.com/docs/DOC-16238
See section 2.2.2 HTTP 401 - Authentication Failure
2. Maybe the user that you are using is not authorized. You can check this by typing https://<SNIPPED>/sap/xi/engine?type=entry in IE and then entering the password for PIISUSER or PIAFUSER.
Hope this helps,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.