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 Liviu Chiriac <li...@inetsoft.com> on 2002/09/10 19:55:28 UTC
Deploy Soap Services without web interface
I would like to know how one can deploy a web service from a program,
without
having to go through the admin web interface - /soap/admin/index.html
I noticed the only file changed after deployment is DeployedServices.ds.
So can one
access and modify that directly, going around the admin deployment
screen?
It doesn't look like it is a plain text file....
Liviu
Re: Deploy Soap Services without web interface
Posted by Scott Nichol <sn...@scottnichol.com>.
You can deploy, undeploy and list using the command-line tool:
java org.apache.soap.server.ServiceManagerClient router-url command
[arg]
You are right that DeployedServices.ds is the only file that changes. It is
the Java serialization of DeploymentDescriptor instances, so it would not be
a pleasant thing to edit directly.
It is possible to use an XML representation of the deployed services. The
Java serialized file is produced by the DefaultConfigManager class. There
is also an XMLConfigManager class. This can be used by specifying it in the
soap.xml config file:
<soapServer>
<configManager value="org.apache.soap.server.XMLConfigManager" >
<option name="filename" value="DeployedServices.xml" />
</configManager>
</soapServer>
For Apache SOAP to use the soap.xml file, the web.xml file must specify its
location. See http://xml.apache.org/soap/docs/guide/config.html for more
information about configuration.
Scott Nichol
----- Original Message -----
From: "Liviu Chiriac" <li...@inetsoft.com>
To: <so...@xml.apache.org>
Sent: Tuesday, September 10, 2002 1:55 PM
Subject: Deploy Soap Services without web interface
I would like to know how one can deploy a web service from a program,
without
having to go through the admin web interface - /soap/admin/index.html
I noticed the only file changed after deployment is DeployedServices.ds.
So can one
access and modify that directly, going around the admin deployment
screen?
It doesn't look like it is a plain text file....
Liviu
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
Re: Deploy Soap Services without web interface
Posted by Scott Nichol <sn...@scottnichol.com>.
You can deploy, undeploy and list using the command-line tool:
java org.apache.soap.server.ServiceManagerClient router-url command
[arg]
You are right that DeployedServices.ds is the only file that changes. It is
the Java serialization of DeploymentDescriptor instances, so it would not be
a pleasant thing to edit directly.
It is possible to use an XML representation of the deployed services. The
Java serialized file is produced by the DefaultConfigManager class. There
is also an XMLConfigManager class. This can be used by specifying it in the
soap.xml config file:
<soapServer>
<configManager value="org.apache.soap.server.XMLConfigManager" >
<option name="filename" value="DeployedServices.xml" />
</configManager>
</soapServer>
For Apache SOAP to use the soap.xml file, the web.xml file must specify its
location. See http://xml.apache.org/soap/docs/guide/config.html for more
information about configuration.
Scott Nichol
----- Original Message -----
From: "Liviu Chiriac" <li...@inetsoft.com>
To: <so...@xml.apache.org>
Sent: Tuesday, September 10, 2002 1:55 PM
Subject: Deploy Soap Services without web interface
I would like to know how one can deploy a web service from a program,
without
having to go through the admin web interface - /soap/admin/index.html
I noticed the only file changed after deployment is DeployedServices.ds.
So can one
access and modify that directly, going around the admin deployment
screen?
It doesn't look like it is a plain text file....
Liviu