cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP Sender Async - Error 401 - Unauthorized

05-28-2014 9:43 AM
894 views 8 comments Go to solution
0 Likes
SAP Managed Tags
Subscribe

Hello Experts,

We have developed a scenario: SOAP -> PI (7.11) -> IDOC.

For this, PI expose an Asynchronous service which we try to test using SoapUI.

The message is delivered successfully to the adapter engine (SoapUI display a technical response message 200 OK) but in the adapter engine, it is failing (and not delivering the message to the Integration Engine) with the following trace:

When we invoke a different synchronous web service exposed by PI, we do no receive the same error, rather, the message is processed successfully.

Please advise.

Regards.

0 Likes

Accepted Solutions (1)

Accepted Solutions (1)

former_member286225
Participant
0 Likes

Hello All,

Thank you all for your help.

Eventually, the problem is resolved and it is very simple...

In the Sender Agreement, the flag Propagate Principal was checked without me noticing it.

I unchecked it and the problem is resolved 🙂

Regards.

naveen_chichili
Active Contributor
0 Likes

thats great..

Answers (3)

Answers (3)

naveen_chichili
Active Contributor
0 Likes

Hi ,

Seems like the issue is with the user credentials you are using. 401 unauthorised is due to incorrect user credentials.

Please check the user/password and correct it.

Rgds,

Naveen

former_member286225
Participant
0 Likes

Hi Naveen,

If you are referring to the user I am using to invoke the web service then the credentials are okay as I am able to get through to the adapter engine.

If you are referring to the user that tries to access the integration engine from the adapter engine which is: "SAPPasswordCredential(PIAFUSER):password=********:sapclient=530:saplang=en", then the username/password are correct since I am able to consume a synchronous web service.

Regards.

Former Member
0 Likes

Hi Effi,

Can you please try to check the trace using XPIINSPECTOR tool option available in NWA and figure out if you can get more details on the issue

Regards,

Sriram

former_member286225
Participant
0 Likes

Hi Sriram,

Which option should I select in XPIINSPECTOR ?

Regards.

Former Member
0 Likes

Hi Effiy,

Can you test "INTEGRATION_DIRECTORY_HMI" under connection type H and see what result do you get?

I guess connectivity between Java stack & ABAP stack has been lost.

Also, check with your BASIS team once.

Regards,

Akshay

former_member286225
Participant
0 Likes

Hi,

Testing INTEGRATION_DIRECTORY_HMI return result 500 (I guess this is okay).

Regards.