The only way to do it is by writing your config manager. If the only thing you want to do is to disable the config manager once you gave deployed your services, then extend the DefaultConfigManager and disable those methods you want. Then , you need to set your class as the "value" in the config file below:
<soapServer>
<serviceManager>
<option name="SOAPInterfaceEnabled" value="false"/>
</serviceManager>
<configManager value="org.apache.soap.server.CatalogaDefaultConfigManager">
<option name="filename" value="conf/CatalogaSoapServices.ds"/>
</configManager>
</soapServer>
Check the JavaDocs for the DefaultConfigManager class.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 1:01 PM
To: [EMAIL PROTECTED]
Subject: Turning off the ServiceManager
All,
I am using the following config file:
<soapServer>
<serviceManager>
<option name="SOAPInterfaceEnabled" value="false"/>
</serviceManager>
<configManager value="org.apache.soap.server.DefaultConfigManager">
<option name="filename" value="conf/CatalogaSoapServices.ds"/>
</configManager>
</soapServer>
and was rather hoping that I would not be able to list or deplot services
from the command line using:
java org.apache.soap.server.ServiceManagerClient
http://localhost/.../rpcrouter list
java org.apache.soap.server.ServiceManagerClient
http://localhost/.../rpcrouter deploy file.xml
but they both still work. Have I misunderstood? I want to prevent the
listing and deployment of services in my production environment (and simply
get them from the .ds file). Can anyone advise?
Dave
_______________________________________________________
DATA SECURITY - PLEASE READ
This communication may contain information which is CATALOGA confidential
and may also be privileged. It is for exclusive use of the intended
recipient(s). If you are not the intended recipient(s) please note that any
form of distribution, copying or use of this communication or information in
it, is strictly prohibited and may be unlawful.
If you have received this communication in error please forward it to
[EMAIL PROTECTED], then delete the email and destroy any copies of
it.
Thank you for your cooperation.
_______________________________________________________