It's not a secret anymore!
The moose likes Web Services and the fly likes Admin Client: Exception (401)Unauthorized problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Admin Client: Exception (401)Unauthorized problem" Watch "Admin Client: Exception (401)Unauthorized problem" New topic

Admin Client: Exception (401)Unauthorized problem

david kim

Joined: Oct 31, 2004
Posts: 1
I installed Axis and everything is working fine (Axis Happy page).
However, when I tried to deploy a sample app, by running:

java org.apache.axis.client.AdminClient deploy.wsdd
Processing file deploy.wsdd
Exception:: (401)Unauthorized

Any ideas why?

Balaji Loganathan
author and deputy

Joined: Jul 13, 2001
Posts: 3150
whats your application server?

If it is Tomcat, then the admin deploy should work, if it is other engine then you have to use the -l option

java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient
-lhttp://localhost:8080/axis/services/AdminService deploy.wsdd

Spritle Software Blogs
I agree. Here's the link:
subject: Admin Client: Exception (401)Unauthorized problem
jQuery in Action, 3rd edition