You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by "Krishnamurthy, Ramanathan" <rk...@APEngines.com> on 2001/12/06 13:08:07 UTC

Deployment Descriptor: Passing Parameters

Hi,

I am trying to do the following:

1. Load a class "foo" as a service "fooService1". 
2. Load "foo" as a different service "fooService2". 

"foo" class definition:
public class foo {
    public void fooBar(Envelope env, SOAPContext in, SOAPContext out).
}

Note: The class is deployed as a non-static class.

Question:
Is there someway to pass environment parameters (say the service name) to
class "foo" so that "foo" can differentiate between its existence as
"fooService1" and "fooService2" ?

Your help will be greatly appreciated.

Regards,
ram


----------------------------------------------------------------------------
------------
Ramanathan Krishnamurthy
AP Engines, Inc.
One Clock Tower Place
Maynard, MA 01754