You say that the you can't put the soap.xml into the war file.  What 
aoubt this from the server configuration page in the docs

If a different file is to be used, the default pConfiguration 
information may be passed to the Apache SOAP server via an XML-based 
configuration file. By default, the server will look in the current 
working directory for a file called "soap.xml."  If a different file is 
to be used, the default path and name can be overridden by specifying a 
parameter that the transport listener (i.e. RPCRouterServlet) passes 
along to the SOAP server during startup. (All transport listeners should 
call the org.apache.soap.server.ServiceManager's static method 
setConfigFileName(...) before invoking the SOAP server.)

Tell me if I'm reading this wrong but couldn't you pass a parameter that 
names the soap.xml file in the war file.  If this is the case where do I 
set this parameter to be passed along.

Brian Levine wrote:

> 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!"      |
>  >                                   |                                 |
>  > ---------------------------------------------------------------------
>  >
> 

Reply via email to