This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Kubernetes in Action and have Marko Luksa on-line!
See this thread for details.
Win a copy of Kubernetes in Action this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Apacha Axis Error (401 )  RSS feed

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have running a sample webservice over apache axis on a window platform.
user_axis_step

command
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.

AxisFault
faultCode: {http:xml.apache.org/axis/}HTTP
faultSubcode:
faultString:<401>Unauthorized
faultActor:
faultNode:
faultDetail:{} return code: 401...........................................................


Error_Image

Best Regards
phenix
 
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!