This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Services and the fly likes Apacha Axis Error (401 ) 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 "Apacha Axis Error (401 )" Watch "Apacha Axis Error (401 )" New topic

Apacha Axis Error (401 )

phenix java

Joined: Jun 20, 2004
Posts: 13
I have running a sample webservice over apache axis on a window platform.

java -cp .;%AXISCLASSPATH% samples.stock.GetQuote -lhttp://localhost:8080/axis/servlet/AxisServlet -uuser1 -wpass1 XXX

I had get error exception message. Can somebody plz tell me where I am going wrong? Are there some environment setup issues? Thank a lot for advance.

faultCode: {}HTTP
faultDetail:{} return code: 401...........................................................


Best Regards

If I don't make dust. I may eat dust.<br />SCJP 1.4 ,SCWCD 1.4,SCBCD 1.3
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41060
That means that the username and/or password you send along are not valid on the server. Have you configured a Realm so that Tomcat knows where to look up usernames and passwords?

Ping & DNS - my free Android networking tools app
I agree. Here's the link:
subject: Apacha Axis Error (401 )
Similar Threads
How to build and deploy web service in JavaWebservice Development kit?
Axis on WebLogic
Axis on WebLogic
webservices tutor
Java call SOAP???