write your own subclass that either doesn't do anything or throws an exception
when it recieves a deploy or undeploy call, and specify your new configManager
in soap.xml right where you put the XMLConfigManager. It's not very hard.
Basically you want a hashmap of urns to deployment descriptors. Give the list of
urns as an option to the class, in loadOptions get each one and use it to find
the deployment descriptor file (whereever you decide they should be) and load
them into the hashmap. In query lookup and return. In list get the keys and
iterate.

HTH,

S-





"Isabella Pighi" <[EMAIL PROTECTED]> on 01/31/2002 10:25:07 AM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:    (bcc: Steve Salkin/3rd/US/AON)

Subject:  disabling ServiceManagerClient  [Virus Checked]


Very sorry to bother you but I don't know what to do with it.
Hi, my name is Isabella and I trying to configure Apache SOAP overhere.
I would obtain the following behaviour,
1) disable the ServiceManagerClient
2) let the admin JSP pages working

I found some clue in a posting  on soap-dev mailing list. (I couldn't find docs
about how to configure SOAP anywhere else, a part form some clues given on the
apache website).

<soapServer>
<configManager value="org.apache.soap.server.XMLConfigManager">
<option name="filename" value="deployed-services.xml"/>
</configManager>
<serviceManager>
<option name="SOAPInterfaceEnabled" value="false"/>
</serviceManager>
</soapServer>

In some way it doesn't work, in terms of

1) good, XMLConfigManager is working so deployment descriptors are saved in
deployed-services.xml
2) bad, very bad, ServiceManagerClient  is still working so anyone can
deploy/undeploy services (using
 % java org.apache.soap.server.ServiceManagerClient
http://myweb/soap/servlet/rpcrouter deploy foo.xml
3) good, JSP admin pages are working.

Can anyone give me some clues about it?

Thank you so much

ISabella


--

This e-mail may contain confidential and/or privileged information. If you are
not the intended recipient (or have received this e-mail in error) please notify
the sender immediately and destroy this e-mail. Any unauthorized copying,
disclosure or distribution of the material in this e-mail is strictly forbidden.







--

This e-mail may contain confidential and/or privileged information. If you are
not the intended recipient (or have received this e-mail in error) please notify
the sender immediately and destroy this e-mail. Any unauthorized copying,
disclosure or distribution of the material in this e-mail is strictly forbidden.








Reply via email to