Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 39544
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 - updated with new look and Ping home screen widget
I agree. Here's the link:
subject: Apacha Axis Error (401 )
Similar Threads
Java call SOAP???
Axis on WebLogic
webservices tutor
Axis on WebLogic
How to build and deploy web service in JavaWebservice Development kit?