cancel
Showing results for 
Search instead for 
Did you mean: 

Sender SOAP Adapter

Former Member
0 Kudos

hi,

i am using SOAP Adapter on the Sender side .

i have created a Web Service in XI and provided the URL of my XI Server while defining web service in the format

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

When i am sending a SOAP request from my test tool using the WSDL file generated in XI , in response i am getting (401) Unauthorized error

i am specifying the username and password in my SOAP Client Test tool to connect to this web Service

Is there any other additional settings required?

regards ,

Loveena

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

hi peter,

I am using userid and password which is not having the role XIAPPLUSER,

even if i use XIAPPLUSER

my question is , the source system will be sending the SOAP request to this same Web Service created .

So we cannot provide this role XIAPPLUSER to the sending system for security purposes

so is there any other way by which this can bew resolved?

thanks ,

loveena

Former Member
0 Kudos

Loveena, I was talking about the user, not a role. I suggested it just as a test, if there is nothing else wrong.

In production environment you will use a user which should have SAP_XI_RWB_SERV_USER role, but I'm not sure with it. but I'm almost 100% sure, that user u r using does not have assigned needed role.

Peter

Former Member
0 Kudos

Hi Loveena

for (401) Unauthorized error at Sender SOAP Adapter

check this thread

Regards

Abhishek

Former Member
0 Kudos

Loveena, which test tool r u using?

But generally, this should be enough - to provide uname and pwd in the properties. Now the question is, which user r u using? Maybe the user has not the appripriate authorization.. So try for example XIAPPLUSER / PIAPPLUSER if u know the password.

Peter

Former Member
0 Kudos

Hi,

Check some links on soap.

For SOAP see below links

/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1

/people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/befdeb90-0201-0010-059b-f22...

/people/padmankumar.sahoo/blog/2005/02/15/an-overview-of-soap

How to use SOAP adapter:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40611dd6-e66e-2910-f383-e80fb44f...

Regards,

Phani

Reward points if Helpful

Former Member
0 Kudos

Hi Loveena,

Please check the authorization right of the user id that you are using with your test tool.

Also,

I believe the URL should contain 'https' if it asks for user ID credentials.

Also try using this URL:

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

In case you are using party communication, then please follow this URL:

http://<user>:<passwd>@<host>:<port>/XISOAPAdapter/MessageServlet?channel=:<party>:<service>:<channe...;

Please let me know further details.

Regards,

Varun

Former Member
0 Kudos

Varun,

https is used with SSL and is not necessary in Loveena's case.

Peter