Two Laptop Bag*
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Admin Client: Exception (401)Unauthorized problem" Watch "Admin Client: Exception (401)Unauthorized problem" New topic
Author

Admin Client: Exception (401)Unauthorized problem

david kim
Greenhorn

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?

Thanks
Balaji Loganathan
author and deputy
Bartender

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: http://aspose.com/file-tools
 
subject: Admin Client: Exception (401)Unauthorized problem