Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

axis java:msg webservice error

 
vinod shirke
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
environment : win2k professional,Tomcat 4.1.27,Axis 1.2.1final release
when trying to deploy the .wsdd file to deploy the following errors are shown

C:\axis-1_2_1\applications>java org.apache.axis.client.AdminClient -1 http://localhost:8080/axis/services/AdminService CatalogPublisherServiceDeploy.wsdd
Processing file http://localhost:8080/axis/services/AdminService
Exception: http:\localhost:8080\axis\services\AdminService (The filename, directory name, or volume label syntax is incorrect)

contents of .wsdd files are

<deployment
xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"
xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance">
<service name="CatalogPublisherService" provider="java:MSG">
<parameter name="className"
value="wroxaxis.chapter2.messaging.CatalogPublisherService"
/>
<parameter name="allowedMethods" value="publishCatalog"/>
</service>
</deployment>

I tried the things by removing the packages also but failed

Best Regards




 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The syntax of the command is incorrect. You can see that it mistakes a URL for a file. It should read "-l", and not "-1", and there shouldn't be a space between the "-l" and the URL.
[ October 22, 2005: Message edited by: Ulf Dittmer ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic