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.

Reply via email to