I do this now. I have a DeployedServices.xml file that I edit by hand. To use DeployedServices.xml as opposed to DeployedServices.ds (which is created using Java serialization and is difficult to edit), you'll need to use the XMLConfigManager class included with Apache SOAP. To do this, you need a soap.xml file like so:
<soapServer>
<configManager value="org.apache.soap.server.XMLConfigManager" >
<option name="filename" value="DeployedServices.xml" />
</configManager>
</soapServer>
and an init param for the SOAP servlet like so:
<init-param>
<param-name>ConfigFile</param-name>
<param-value>soap.xml</param-value>
</init-param>
You can also write your own ConfigManager class that manages deployment information in some other way. Unfortunately, the soap.xml file has to be in the filesystem. So you can't put it in a WAR file and hard-code the deployment information as part of the webapp. This may not be important to you though...
-brian
-----Original Message-----
From: Rich Catlett [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 24, 2001 6:05 PM
To: [EMAIL PROTECTED]
Subject: Re: deploying services
Rather than having to deploy services, I want to start up the soap
server with all of the services already deployed.
Krishna Vemuri wrote:
> Can you please explain what do you mean by hard code deployed services??
>
> -----Original Message-----
> From: Rich Catlett [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 24, 2001 1:01 PM
> To: [EMAIL PROTECTED]
> Subject: deploying services
>
>
> I want to hard code the deployed services. I am not sure how to go
> about
> this. Can someone point me in the right direction to get started.
> Thanks!
>
> ---------------------------------------------------------------------
> Rich Catlett [EMAIL PROTECTED] | Confuscious say "Man who stand |
> Programmer | on toilet, high on pot!" |
> | |
> ---------------------------------------------------------------------
>
