cancel
Showing results for 
Search instead for 
Did you mean: 

Sender SOAP Adapter Authentication issue

Former Member
0 Kudos

All,

We have a SOAP-XI-RFC scenario. We exported the wsdl from the Integration Directory. When we try to call the web service using webservice studio client. We get the following error. We are using a user that has (SAP_XI_ADMINISTRATOR role on it).

ResponseCode: 401 (Unauthorized)

Connection:close

Pragma:no-cache

Content-Length:1790

Cache-Control:no-cache

Content-Type:text/html

Date:Fri, 30 Nov 2007 20:01:23 GMT

Expires:0

Server:SAP J2EE Engine/7.00

WWW-Authenticate:Basic realm="XISOAPApps"

Any thoughts?

Thanks.

Accepted Solutions (0)

Answers (7)

Answers (7)

Former Member
0 Kudos

check my answers here

peter

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

hi,

try with your user

Former Member
0 Kudos

Try going to Senders agreement of interface and under assigned user, provide the user id and passwd that you are giving in SOAP client.

Reward points if it helps

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

hi..

please

check this. sure it can help you

Thanks

Rodrigo

Former Member
0 Kudos

You are pointing to the same thread.

Thank you

Moni

Former Member
0 Kudos

hi thezone ,

<i>ResponseCode: 401 (Unauthorized)</i>

as per this specific error try checking that

1.check the wsdl url format

http://<server>:<port>/XISOAPADAPTER/MESSAGESERVLET?channel=:<Service>:<Channel>;

2. test the wsdl by putting the url in internet explorer and see if you are getting a dialog box for user name and password, also in this step you will confirm the working status of message servlets of web service.

3. by step 2 IE will send a message to XI, now you check your adapter

4. test ur xml instance in your soap tester, go to its properties and make sure that you had given correct user name and password over there on specified fields.

regarding your soap communication channel it will be activated after receiving first message. you can detect any problem in connection only after receiving first message.

Regards,

Mandeep Virk

  • reward points if helpful

Former Member
0 Kudos

Hi,

checked 1, it is in the correct format.

When i did 2 - it did ask for the user id/pwd. And when provided, this is the response,

Message Servlet is in Status OK

Status information:

Servlet com.sap.aii.af.mp.soap.web.MessageServlet (Version $Id: //tc/xi/NW04S_06_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#3 $) bound to /MessageServlet

Classname ModuleProcessor: null

Lookupname for localModuleProcessorLookupName: localejbs/ModuleProcessorBean

Lookupname for remoteModuleProcessorLookupName: null

ModuleProcessorClass not instantiated

ModuleProcessorLocal is Instance of com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0

ModuleProcessorRemote not instantiated

Is this ok?

Thanks.

Former Member
0 Kudos

hi thezone,

your servlet information is giving null values.

also please tell me what message you are getting in <b>soap tester</b> eg xml spy or soapui. please tell me the message. i think it will display a message regarding adapter problem. check out your adapter is working or not.

remember to give SOAP ACTION in RECEIVER DETERMINATION which you can take from wsdl file you r using.

let me know the status. also tell what msg u r getting in soap tester.

Mandeep Virk

Former Member
0 Kudos

The error we get is what is there in the first post.

ResponseCode: 401 (Unauthorized)

Connection:close

Pragma:no-cache

Content-Length:1790

Cache-Control:no-cache

Content-Type:text/html

Date:Tue, 04 Dec 2007 17:13:48 GMT

Expires:0

Server:SAP J2EE Engine/7.00

WWW-Authenticate:Basic realm="XISOAPApps"

Also - you said - "<b>remember to give SOAP ACTION in RECEIVER DETERMINATION which you can take from wsdl file you r using</b>."

Im using a Sender SOAP adapter. In the receiver confuiguration all we have is,

Sender - TPSystemName

Sender Interface - TPInterfaceName

Receiver - R3SystemName

Receiver Interface - R3ItnerfaceName.

and the mapping name and the communication channel used.

Where do we put SOAP Action in the receiver determination?

Thanks,

Former Member
0 Kudos

hi

i am sorry that i mis spelled "receiver channel" as "receiver determination".

if you are using soap receiver channel then you have to specify soap action in you receiver channel. this problem generally occur in case of soap action problem.

I regret for inconvenience.

mandeep

Former Member
0 Kudos

Any one has any solution for this

Regards

Monika

Former Member
0 Kudos

Try appending the userid and password to your soap url as follows :

url: http://............&sap-user=user id&sap-password=password

Cheers,

Sarat

VijayKonam
Active Contributor
0 Kudos

Did you test with XIAPPLUSER? That is the recommended user to access integration engine from outside..

VJ

Former Member
0 Kudos

We tried with PIAPPLUSER - still the same error.

Any other way of debugging this?

Thanks.

Former Member
0 Kudos

Also - I dont see my communication channel green in the Adapter monitoring in the RWB. Infact the SOAP adpater itself is greyed and doesnt show any communication channels when clicked.

Thanks,

VijayKonam
Active Contributor
0 Kudos

That would come to green once it processes atleast one message..

VJ