cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP to ABAP Proxy - 401 Un Authorized access error

Former Member
0 Kudos

Hi Experts,

My scenario is SOAP to ABAP Proxy. I am testing the scenario by using the SOAP UI tool. after sending the request (I already given pay load and WSDL file) I am getting 401 Un Authorized access error. Could you please suggest me how to resolve this?

I am using this URL patterns:

http://host>:<port>/XISOAPAdapter/MessageServlet?channel=:<service>:<channel>;

http://<user>:<passwd>@<host>:<port>/XISOAPAdapter/MessageServlet?channel=:<service>:<channel>; (Here user and pwd are PI user and pwd right?)

Regards

Vishnu

Accepted Solutions (0)

Answers (7)

Answers (7)

Former Member
0 Kudos

probelm got resolved.

Former Member
0 Kudos

Hi Vishnu,

Di this SOAP URL with password worked ?

Regards

Inder

Former Member
0 Kudos

hi,

hope you are entering the username and password in the 'request properties' in SOAP UI tool.

regards

ridhima

former_member472138
Active Contributor
0 Kudos

Hey Vishnu,

http://<user>:<passwd>@<host>:<port>/XISOAPAdapter/MessageServlet?channel=:<service>:<channel> (Here user and pwd are PI user and pwd right?)

CORRECT.

But if you still facing the problem then you need to check all these below

o User XIAFUSER/PIAFUSER has used the wrong password.

o Check the exchange profile and transaction SU01; try to reset the password.

o Restart the Java Engine to activate changes in the exchange profile.

Also make sure XI/PI user has the role SAP_XI_IS_SERV_USER_MAIN

Regards

Pothana

Former Member
0 Kudos

You need to provide a basic HTTP authentication when sending a SOAP request to PI.

Provide user & paswword of a user from PI system.

Andrzej

Former Member
0 Kudos

The user can be any logon user in the PI system.

Former Member
0 Kudos

Hi,

You need to pass User & Password credential, as follow:

http://<host>:<port>/XISOAPAdapter/MessageServlet?channel=:<service>:<channel>;&sap-user=<user>&sap-password=<passw>

The user that you want to use, can be PIAPPLUSER (copy this user and create an adhoc user in your pi system)

Former Member

Hi,

I am giving the pi user only when i am connecting to Http external system. that user is having the SAP_ALL athorization. but still i am getting the same problem(401 unauthorized error).

Regards

Vishnu

Former Member

Set User&Password credentials in Endpoint Url, or try to set User&Password in SOAP UI Autenthication Field