File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
Consider Paul's rocket mass heater.
subject: Admin Client: Exception (401)Unauthorized problem
Similar Threads
Axis Fault while deploying !!!Help me
can i use the AdminClient tool to deploy my ws package to wls or jboss?
Unable to deploy Web Service
WSDD Deployment problem
AXIS 1.4 Call.invoke() - (401)Unauthorized