Also if you want axis to automatically deploy your service when the war is deployed, then you need to do the following:
1) Create your own Initialization servlet which will use the AdminServlet to do the deployment
2) Supply the deploy.wsdd file in the war file or put it in a location that your servlet can read from.
3) put entries in the web.xml file so that your init servlet gets initialized at the deploy time.
Here is a sample entry for init servlet in web.xml
<servlet>
<servlet-name>initServlet</servlet-name>
<display-name>Initialize Servlet</display-name>
<servlet-class>com.earthlink.pfe.servlets.InitializationServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
not sure if it clears up for you, you may need to readup a bit on the user guide as well and experiement before things will start to work.
Mir
James Carman wrote:
I would like to package the AxisServlet in my webapp along with other pieces
of my distributed application (Java WebStart servlet, etc.). How do I "war
up" my files so that when I place my WAR file in the webapps directory of a
server, it will already have my service deployed? I've tried supplying my
own /WEB-INF/server-config.wsdd file containing only my service, but that
didn't seem to work. When I tried to view the WSDL file, it returned a 404
error. I don't want to have to run the AdminClient. I want this thing to
work "out of the box." Any thoughts/ideas?
James Carman, President
Carman Consulting, Inc.
1218 Bob White Ct.
Edgewood, KY 41018
(513) 325-7977