cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP Adapter Error

Former Member
0 Kudos

Hi Experts,

I am working on a SOAP to PROXY scenario.

While the third party system is sending the SOAP request and trying to get a respnse , they are getting the following error

"The remote server returned an error: (401) Unauthorized."

However they are able to successfully send the request without any response.

Also I do not see any message in XI.

They are not using any used id for this, Do they need a used ID for this?

Could any one suggest what could be the reason for this?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

srikanth_srinivasan3
Active Participant
0 Kudos

SOAP request message could be posted by a sender to PI without using user name or password by opting 2nd choice in the list below.

Three options:

1) Basic Authentication (User ID/Password) - Transport Channel Authentication (by SOAP adapter)

2) Certificate Authentication - Transport Channel Authentication (by SOAP adapter)

3) UserID/ Password - Message Authentication (by WS Adapter)

-

Srikanth Srinivasan

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi ,

for Third party System , you must have generated a WSDL file from ID of XI system using (generate WSDL file option) and must have given to Sender system , to pass Data in it ..

What you can do is .. Edit your that WSDL file and Add username and password to it ..

Hint

For testing purpose it is possible to add logon data directly to the URL.

The parameters are the same as in the HTTP sender adapter: &sap-user=<username>&sap-password=<password>

and then Tell your sender system to use it .

You can Look for this Blog also ..

/people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integration-engine

Regards

Prabhat Sharma.

baskar_gopalakrishnan2
Active Contributor
0 Kudos

>> They are not using any used id for this, Do they need a used ID for this

When user post request data to the SOAP adapter, soap adapter looks for user id and password. This is basic authentication.

401 unauthorized error is clearly says userid/password credentials are expected.

Provide user id/password to the user and retest again.

0 Kudos

Hi there,

To solve this, ensure you have maintained the correct password, which MUST be the same, for all the service user on XI

and ensure it has eight (8) characters in length.

You may check all the places it should be maintained, such as Exchange Profile, SU01, SLDAPICUST, etc..

Kindly check the note below, according to 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

Also ensure that the user has the correct role as per link below:

http://help.sap.com/saphelp_nwpi71/helpdata/en/9f/d12940cbf2195de10000000a1550b0/frameset.htm

For your reference, you may also wanna check the 401 error description at:

"/people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi

Best regards,

Caio Cagnani

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>They are not using any used id for this, Do they need a used ID for this?

but they have to - you cannot post a SOAP call to PI without a user/pass

Regards,

Michal Krawczyk