You can also set the directory in which deployedservices.ds is found by
setting up a soapconfig.xml file as follows:

<soapServer>
  <serviceManager>
    <option name="SOAPInterfaceEnabled" value="true" /> 
    <!-- value is true or false, setting to false and restarting Tomcat
stops 
        further services being deployed -->

  </serviceManager>
  <configManager value="org.apache.soap.server.DefaultConfigManager" >
    <option name="filename"
value="where_i_want_deployedservices.ds_to_be/DeployedServices.ds" />
  </configManager>
</soapServer>

(maybe this was the file you were thinking of below?
> - From the source code I found that the list is stored as "myconfig.xml"
> but I could not find it. Is it hidden ?
)

and adding the following lines to your webapps\soap\WEB-INF\web.xml inside
the 
<servlet> tag that enables the RPCRouterServlet to get the soap engine to
read it:

<servlet>
        <servlet-name>rpcrouter</servlet-name>
        
<servlet-class>org.apache.soap.server.http.RPCRouterServlet</servlet-class>
        <init-param>
        <param-name>ConfigFile</param-name>
          <param-value>path_to_soap_xml_file/soapconfig.xml</param-value>
        </init-param>
</servlet>


Chris

-----Original Message-----
From: Scott Nichol [mailto:[EMAIL PROTECTED]]
Sent: 22 July 2002 19:15
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Questions on new SOAP services


The deployed services can be found in deployedservices.ds.  This is in the
root of the web app, e.g. for me it is
j:\jakarta-tomcat-4.0.1\webapps\soap\deployedservices.ds.

For deployment, you just drop soap.war in Tomcat's webapps directory, which
for me is j:\jakarta-tomcat-4.0.1.  Tomcat will unjar this into
webapps\soap.  This creates a web app which is accessed under the /soap URI
path.  If you call soap.war another name, you adjust accordingly.  For
example, if I copy soap.war to j:\jakarta-tomcat-4.0.1\webapps\soapcvs.war,
the file is unjarred to j:\jakarta-tomcat-4.0.1\webapps\soapcvs and I access
it via /soapcvs, e.g. http://localhost:8080/soapcvs/servlet/rpcrouter.

You can deploy an arbitrary number of SOAP services to a single installation
of Apache SOAP.  You use a deployment descriptor to "register" each service.
You copy the necessary jar or class files to webapps\soap\WEB-INF\lib or
webapps\soap\WEB-INF\classes.

Scott Nichol

----- Original Message -----
From: "root" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 22, 2002 10:20 AM
Subject: Questions on new SOAP services


> Hello everybody,
> I am still quite new in this SOAP Apache environment so that I have
> several beginner questions :
> - Where actually does the SOAP package store its service list as we can
> see through the admin page ? It seems it must be stored somewhere as a
> persistent data (as a file)
> - From the source code I found that the list is stored as "myconfig.xml"
> but I could not find it. Is it hidden ?
> - When I wish to set up several new SOAP services, muss I keep the whole
> org.apache.soap...classes in my new server side SOAP package ? Can I
> make a separate services in another package ?
> - It seems that the package name must be always "soap.war" because I
> tried with another name, it failed. Is it correct ? I didn't even
> configure the server.xml in Tomcat but all SOAP.war examples are
> running.
>
> I am using Tomcat 4.0.3 plus JBoss 3.0.0 framework in a single huge
> module. I am using a WAR to deploy a web application and the
> Tomcat+JBoss automatically takes care of SOAP.war to be deployed. From
> the docs, it is mentioned that I could simply copy the WAR file into the
> Tomcat deployment directory and all SOAP examples can be accessed (after
> deploying the corresponding DeploymentDescriptor.xml).
>
> Thank you for any hints and helps.
>
> Regards,
> Agustinus Tedja
> InfoDesign-OSD
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to