cancel
Showing results for 
Search instead for 
Did you mean: 

PI 7.0 - Error HTTP 401 when calling XISOAPAdapter/MessageServlet

Former Member
0 Kudos

Hi experts,

I am trying to call a web service, published from our XI system. (SAP PI 7.0 SP 15).

I generated the Web Service & saved the WSDL successfully from Integration Directory.

The whole scenario is well designed and configured, because it had been working well for some time.

I am using XMLSpy to send a request (something that have been working well) but now, we are unable to log on to the system.

It doesnt matter with which user we try to log on. Its simply not possible. It raises a HTTP 401 ERROR.

The configuration channel SOAP SENDER is configured like this.

- SOAP - SENDER

- Transport Protocol HTTP

- HTTP Security Level : HTTP

- QOF - BEST EFFORT.

Another symptom

when i call the service http://<host>:<50nn00>/XISOAPAdapter/MessageServlet (on DEV system) it doesnt work.

"401   Unauthorized 
  Cannot authenticate the user. 
  Details:   No details available"

when i call the same service (but on QA system) it works well.

(the calls from XMLSpy work fine, and the interface executes well)

Message Servlet is in Status OK 
Status information: 
Servlet com.sap.aii.af.mp.soap.web.MessageServlet (Version $Id: //tc/xi/NW04S_14_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#1 $) 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_0 
ModuleProcessorRemote not instantiated

I will appreciate if you could give me some advice, which configuration i need to check, or any usefull information.

Thanks!

Cristian.

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Cem,

Are you providing the Username & Password in the URL or separately?

Regards,

Supriya

Former Member
0 Kudos

Hi Srinivas,

Yes, i tried on the Browser and it didnt work.

I checked whether the users are locked, and with appropriate authorization, and everything seems fine.

But i still cant reach the MessageServlet service.

On the RWB Monitoring, the sender soap channel didnt receive any request. So, no message is generated.

The scenario is WS <-> XI <-> JDBC.

Regards,

Cristian.

Former Member
0 Kudos

Hi,

The first thing you can do is check your URL via a Web browser,delete cookies in the browser with the user name and password you have.I hope you tried it.

Also see if the user name password that you have specified in the receiver SOAP channel has appropriate authorization.

similar query.

regards,

srinivas

Former Member
0 Kudos

Hi Supriya, thanks for your reply.

I ve tryed with my user, which is not locked, and also with other users, none of them locke. With SAP_ALL and SAP_NEW profiles. And it didnt work.

The url is something like that.

for DEV:

http://myhost:50000/XISOAPAdapter/MessageServlet

for QA:

http://myhost:50200/XISOAPAdapter/MessageServlet

Since DEV and QA instances are on the same server.

Thanks.

Cristian.

Former Member
0 Kudos

Hi Cem,

If you are not able to log on to system, pls check whether the User you are using to log on is not locked.

And if it is locked, get it unlocked from you basis team.

And for another symptom, can you pls post your URL here?

Regards,

Supriya.