on 11-30-2007 8:09 PM
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
try with your user
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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
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,
Try appending the userid and password to your soap url as follows :
url: http://............&sap-user=user id&sap-password=password
Cheers,
Sarat
Did you test with XIAPPLUSER? That is the recommended user to access integration engine from outside..
VJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.