Apache SOAP -- can I use one Java method for all operations?

Apache SOAP -- can I use one Java method for all operations?

Post by sarahd00 » Tue, 13 Jan 2004 17:18:46


I want to implement a variety of SOAP methods (with Apache SOAP) using
just one method of one Java class, with the SOAP method name passed as
a
parameter to the Java method and the SOAP parameters passed in as an
array of Strings.

For example, the method could look like this:

public static void executeSoapMethod (String soapMethodName, String[]
soapParams) {
////
}

The reason for this is that I am writing an application that will
allow users to define their own SOAP operations interactively in a
proprietary scripting language.

Is anyone aware of a way I can do this?

Thanks!


Sarah