I'm trying to deploy a axis web service in JBOSS but I really want to use a standalone web service in a WAR file instead using the jboss-net service (that uses axis itself). In conclusion, I want to use standard features J2EE instead specific features of application servers, to permit independence of web services and of application servers.

So, I created my web service and I deployed it a WAR file with the following structure:

When I invoke http://localhost:8080/myapp/services, I saw only the services AdminService and Version. So, I run the ant task "axis-admin" (similar to org.apache.axis.client.AdminClient class) to deploy the service from the deploy.wsdd. The service is now listed.

Now, I tested to restart the server (jboss) but my service is gone and I have to deploy it again!! There is no persistence on services deployed???

I have another solution that appears to be working. In axis.jar there exist a file org/apache/axis/server/server-config.wsdd. By default, axis service will read this file to know what are the default services available.

I changed this file, and I put my service generated on deploy.wsdd, and included it inside my WEB-INF directory on my WAR file.