wood burning stoves 2.0*
The moose likes Web Services and the fly likes AXIS 1.4 Call.invoke() - (401)Unauthorized Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "AXIS 1.4 Call.invoke() - (401)Unauthorized" Watch "AXIS 1.4 Call.invoke() - (401)Unauthorized" New topic

AXIS 1.4 Call.invoke() - (401)Unauthorized

sethuraman sukumaran

Joined: Jul 14, 2004
Posts: 11

I have a stateless session bean wrapped as a webservice and deployed in BEA weblogic 8.1 server.

I created the stubs from the WSDL through AXIS 1.4 and I am getting the below exception when I call it through my client

Exception in thread "main" AxisFault
faultCode: {http://xml.apache.org/axis/}HTTP
faultString: (401)Unauthorized
{}:return code: 401

Any thoughts.

Thanks & Regards,

Thanks & Regards,<br />Sethu.<br /> <br />SCJP 1.4 - 90%<br />SCWCD 1.4 - 88%
sethuraman sukumaran

Joined: Jul 14, 2004
Posts: 11
Just to add, I am able to invoke the standalone EJB without any security issues. I am getting (401)Unauthorized only if I invoke through the AXIS stubs from my client.

Can someone help.
It is sorta covered in the JavaRanch Style Guide.
subject: AXIS 1.4 Call.invoke() - (401)Unauthorized
Similar Threads
How to use Basic Authentication in Axis?
Unable to deploy Web Service
401 exception is coming when i am starting my portal
Axis Fault while deploying !!!Help me
Admin Client: Exception (401)Unauthorized problem