This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: AXIS 1.4 Call.invoke() - (401)Unauthorized
It's not a secret anymore!