File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Head First Android this week in the Android 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
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.
I agree. Here's the link:
subject: AXIS 1.4 Call.invoke() - (401)Unauthorized
jQuery in Action, 3rd edition