You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Michael Svoboda <mi...@softwired-inc.com> on 2001/09/21 15:57:16 UTC
Deploy multiple Services
I'd like to deploy multiple services with one DeployDescriptor.xml file.
Is it possible to have one DeployDescriptor.xml file which contains
multiple services?
Does Apache and it's "ServiceManagerClient" mehtod support it?
If it's possible how does the DeployDescriptor should look like?
Thanks for your help
Michael Svoboda
Re: Deploy multiple Services
Posted by Michael Svoboda <mi...@softwired-inc.com>.
Yes, your suggestion make sense to me, if I want to have automatically
predeployed services in Tomcat.
But what should I do if I want to deploy and undeploy a bunch of
services without restarting Tomcat.
I'd like to have a Script (I.e. a .bat file) and ONE DeployDescriptor.
Thus I can just run my script and all services are deployed or just run
an other script and all services are undeployed.
In the SOAP-Admin client it is possible to deploy several mehtods at
once by just adding them with whitespace in the method field.
I'm just wondering if there is already a solution, to do the same with
just one script and ONE DeployDescriptor file.
Does anybody has a solution?
Michael Svoboda
Rich Catlett wrote:
>
> As a matter of fact it is.The first thing you have to do is change the
> web.xml for the soap webapp and include the following <init-param> in
> the servlet configuration you are using rpcrouter or messagerouter
>
> <init-param>
> <name>configFile</name>
> <value>[whatever you want to call it].xml</value>
> </init-param>
>
> <soapServer>
> <configManager value="org.apache.soap.server.XMLConfigManager">
> <option name="filename" value="[path to file]/DeployedServices.xml"/>
> </configManager>
> </soapServer>
>
> The final thing is to make sure if you are running with security that
> you grant read and write access to it.
>
> Rich Catlett
>
> Michael Svoboda wrote:
>
> >I'd like to deploy multiple services with one DeployDescriptor.xml file.
> >Is it possible to have one DeployDescriptor.xml file which contains
> >multiple services?
> >Does Apache and it's "ServiceManagerClient" mehtod support it?
> >
> >If it's possible how does the DeployDescriptor should look like?
> >
> >Thanks for your help
> >Michael Svoboda
> >
Re: Deploy multiple Services
Posted by Michael Svoboda <mi...@softwired-inc.com>.
Yes, your suggestion make sense to me, if I want to have automatically
predeployed services in Tomcat.
But what should I do if I want to deploy and undeploy a bunch of
services without restarting Tomcat.
I'd like to have a Script (I.e. a .bat file) and ONE DeployDescriptor.
Thus I can just run my script and all services are deployed or just run
an other script and all services are undeployed.
In the SOAP-Admin client it is possible to deploy several mehtods at
once by just adding them with whitespace in the method field.
I'm just wondering if there is already a solution, to do the same with
just one script and ONE DeployDescriptor file.
Does anybody has a solution?
Michael Svoboda
Rich Catlett wrote:
>
> As a matter of fact it is.The first thing you have to do is change the
> web.xml for the soap webapp and include the following <init-param> in
> the servlet configuration you are using rpcrouter or messagerouter
>
> <init-param>
> <name>configFile</name>
> <value>[whatever you want to call it].xml</value>
> </init-param>
>
> <soapServer>
> <configManager value="org.apache.soap.server.XMLConfigManager">
> <option name="filename" value="[path to file]/DeployedServices.xml"/>
> </configManager>
> </soapServer>
>
> The final thing is to make sure if you are running with security that
> you grant read and write access to it.
>
> Rich Catlett
>
> Michael Svoboda wrote:
>
> >I'd like to deploy multiple services with one DeployDescriptor.xml file.
> >Is it possible to have one DeployDescriptor.xml file which contains
> >multiple services?
> >Does Apache and it's "ServiceManagerClient" mehtod support it?
> >
> >If it's possible how does the DeployDescriptor should look like?
> >
> >Thanks for your help
> >Michael Svoboda
> >
Re: Deploy multiple Services
Posted by Rich Catlett <ri...@more.net>.
As a matter of fact it is.The first thing you have to do is change the
web.xml for the soap webapp and include the following <init-param> in
the servlet configuration you are using rpcrouter or messagerouter
<init-param>
<name>configFile</name>
<value>[whatever you want to call it].xml</value>
</init-param>
<soapServer>
<configManager value="org.apache.soap.server.XMLConfigManager">
<option name="filename" value="[path to file]/DeployedServices.xml"/>
</configManager>
</soapServer>
The final thing is to make sure if you are running with security that
you grant read and write access to it.
Rich Catlett
Michael Svoboda wrote:
>I'd like to deploy multiple services with one DeployDescriptor.xml file.
>Is it possible to have one DeployDescriptor.xml file which contains
>multiple services?
>Does Apache and it's "ServiceManagerClient" mehtod support it?
>
>If it's possible how does the DeployDescriptor should look like?
>
>Thanks for your help
>Michael Svoboda
>
Re: Deploy multiple Services
Posted by Rich Catlett <ri...@more.net>.
As a matter of fact it is.The first thing you have to do is change the
web.xml for the soap webapp and include the following <init-param> in
the servlet configuration you are using rpcrouter or messagerouter
<init-param>
<name>configFile</name>
<value>[whatever you want to call it].xml</value>
</init-param>
<soapServer>
<configManager value="org.apache.soap.server.XMLConfigManager">
<option name="filename" value="[path to file]/DeployedServices.xml"/>
</configManager>
</soapServer>
The final thing is to make sure if you are running with security that
you grant read and write access to it.
Rich Catlett
Michael Svoboda wrote:
>I'd like to deploy multiple services with one DeployDescriptor.xml file.
>Is it possible to have one DeployDescriptor.xml file which contains
>multiple services?
>Does Apache and it's "ServiceManagerClient" mehtod support it?
>
>If it's possible how does the DeployDescriptor should look like?
>
>Thanks for your help
>Michael Svoboda
>