on 03-04-2009 3:34 PM
Hi,
I am trying to use NTLM authentication using Axis adapter in PI 7.1 SP7 but getting 401 error.
Axis adapter works for Basic auth.
SAP Note 856597 talks about giving PI user security role xi_adapter_soap_message. Haven't found the equivalent navigation of visual admin in NWA.
Details from message monitoring
Information Axis: getting handler trp of java:com.sap.aii.adapter.axis.ra.transport.http.HTTPSender
Error Axis: error in invocation: (401)Unauthorized
Error Adapter Framework caught exception: (401)Unauthorized
Error Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: (401)Unauthorized.
Any help is appreciated.
Thanks
Kiran Gollapudi
Hi Kiran,
I suppose you are getting the authentication error from the external server and what other people were telling you here have nothing to do with your problem.
To solve your problem, you have to read the Axis adapter FAQ Note 1039369. This note explains how to use NTLM. You cannot use the default HTTPSender transport handler. To use NTLM, you need to use the CommonsHTTPSender handler instead. You can find all the information you need in the note.
Sometimes I think some of the replies to this forum have been generated by some automated experimental bots.
Regards, Yza
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi guys,
Even the message being old, there are some of you that may want a hint on how to solve this problem.
First of all, please refer to the generic description of the error that may help one of you:
401 Unauthorized
Description: The request requires user authentication
Possible Tips:
u2022 Check XIAPPLUSER is having this Role -SAP_XI_APPL_SERV_USER
u2022 If the error is in XI Adapter, then your port entry should J2EE port 5<System no>
u2022 If the error is in Adapter Engine
u2013then have a look into SAP note- 821026, Delete the Adapter Engine cache in transaction SXI_CACHE Goto --> Cache.
u2022 May be wrong password for user XIISUSER
u2022 May be wrong password for user XIAFUSER
u2013 for this Check the Exchange Profile and transaction SU01, try to reset the password -Restart the J2EE Engine to activate changes in the Exchange Profile After doing this, you can restart the message
Alternatively, ensure you maintain the correct password for all the service users according to one of the notes
below, taking into account your system version:
PI 7.1:
#999962 - PI 7.10: Change passwords of PI service users
XI 7.0
#936093 - XI 7.0: Changing the passwords of XI service users
XI 3.0
#721548 - XI 3.0: Changing the passwords of the XI service users
Hope I could helped.
Regards,
Caio Cagnani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I added role SAP_XI_APPL_SERV_USER to PIAPPLUSER. I am using PI 7.1 and trying to use the SOAP Axis adapter with NTLM authentication which has been deployed successfully. I am also using the Java port and I deleted the cache in the adapter.
I am still getting the following error in the RWB for the adapter.
Information Axis: getting handler trp of java:com.sap.aii.adapter.axis.ra.transport.http.HTTPSender
Error Axis: error in invocation: (401)Unauthorized
Error Adapter Framework caught exception: (401)Unauthorized
Error Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: (401)Unauthorized.
Do you know what user id it is using? Is it using a different user than PIAPPLUSER?
Thank you for your help,
Rhonda
Hi Rhonda,
Make sure you use correctly the note #999962.
Also, for your reference, here are two links regarding the service users in PI 7.1
Service Users for Internal Communication:
http://help.sap.com/saphelp_nwpi71/helpdata/EN/9f/d12940cbf2195de10000000a1550b0/frameset.htm
Service Users:
http://help.sap.com/saphelp_nwpi71/helpdata/EN/56/361041ebf0f06fe10000000a1550b0/frameset.htm
Regards,
Caio Cagnani
Hello,
I have this exact problem. How were you able to solve this?
Thank you,
Rhonda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have the same issue. Any ideas on this.
cheers,
srinu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sasidharan,
Please note that 7.10 onwards there is NO Visual Administrator instead the NWA (http://<PI Host name>:<http port>/nwa ) is to be used to assign the roles to the user to access the SOAP adater servlet.The user must be assigned one of the following roles SAP_XI_IS_SERV_USER, SAP_XI_APPL_SERV_USER, SAP_XI_DEVELOPER_J2EE, SAP_XI_ADMINISTRATOR_J2EE. Assigning any one of these roles to the user provides necessary permissions for the user to access the SOAP adapter servlet.
To assign these roles to the user,
Login to PI system NWA (http://<PI Host name>:<http port>/nwa )
Choose Operation Management -> Identity Management
I hope this help you in resolving the issue.
Regards
Sekhar
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.