What about creating a class that can take multiple filenames that users
the DefaultConfigurationManager? I'm thinking of something like this:
class MultipleConfigManager implements ConfigManager
{
DefaultConfigManager[] configManager;
public void setContext(ServletContext context)
{
for(i=0; i < configManager.size; i++)
{
configManager.setContext(context);
}
}
public void setOptions( Hashtable options ) throws SOAPException ;
see setContext
public void init() throws SOAPException ;
see setContext
public void deploy( DeploymentDescriptor dd ) throws SOAPException;
see setContext
public String[] list() throws SOAPException ;
see setContext
public DeploymentDescriptor undeploy( String id ) throws SOAPException ;
search through DeploymentDescriptors to find the service
public DeploymentDescriptor query(String id) throws SOAPException ;
search through DeploymentDescriptors to find the service
}
--Richard
On Mon, 6 Aug 2001, Anvita Johri wrote:
> I am trying to figure out if it is possible to use multiple
> DeployedServices.ds files in a soap client-server call.
>
> I am using Apache soap toolkit and am planning to make client soap calls to
> server through multiple ".wsdl" files and their corresponding
> DeployedServices.ds files. I am able to set the the path to a
> DeployedServices.ds file from soap.xml file but can seem to do that only
> for one of these files. The Apache's soap document at
> http://xml.apache.org/soap/docs/guide/config.html
> also sounds like you can set path for only one DeployedServices.ds file.
>
> Has anybody come across this problem? Any fixes or ideas on this?
>
> Thanks,
> Anvita
>
>
>
--
-- Rich
[EMAIL PROTECTED]
Dorm Phone: (410) 516-5974
http://hops.cs.jhu.edu/~boehme/