There is no way to undeploy all services with one command (although it would be nice, as you point out). What I do on development environments is stop Tomcat, delete DeployedServices.ds, then start Tomcat, which provides a fresh start.
I also agree that undeploying using the deployment descriptor would be nice, but the capability is not there today. Scott Nichol Do not send e-mail directly to this e-mail address, because it is filtered to accept only mail from specific mail lists. ----- Original Message ----- From: "Cook, Michael" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 04, 2003 1:54 PM Subject: Undeploying All Services? > Is there a way to undeploy all services with one command to the > ServiceManagerClient? > > The only way I know how to undeploy all services right now is to explicitly > call undeploy > for each service using the following command(s), for example: > > java org.apache.soap.server.ServiceManagerClient %routerURL% undeploy > urn:myservice1 > java org.apache.soap.server.ServiceManagerClient %routerURL% undeploy > urn:myservice2 > ....... > java org.apache.soap.server.ServiceManagerClient %routerURL% undeploy > urn:myserviceN > > What I am hoping for is the ability to provide something like a wildcard > argument to the > undeploy command such as: > > java org.apache.soap.server.ServiceManagerClient %routerURL% undeploy * > or > java org.apache.soap.server.ServiceManagerClient %routerURL% undeploy > ALL > > (The nice thing about having the concept of a wildcard is that there is no > need to know > the names of the deployed services a priori.) > > Thanks!!!!!! > > P.S. > > It would also be nice if you could use the deployment descriptor to undeploy > a service. > For example: > > java org.apache.soap.server.ServiceManagerClient %routerURL% undeploy > descriptor.xml > > In this case the service URN would be obtained directly from the descriptor. >