respEncStyle = Constants.NS_URI_SOAP_ENC;
}
// invoke the method (directly for Java and via InvokeBSF for script
// methods)
Bean result = null;
try {
if (providerType == DeploymentDescriptor.PROVIDER_JAVA) {
Method m = MethodUtils.getMethod (targetObject, call.getMethodName (),
argTypes);
result = new Bean (m.getReturnType (), m.invoke (targetObject, args));
} else {
// find the class that provides the BSF services (done
// this way via reflection to avoid a compile-time dependency on BSF)
Class bc = Class.forName ("org.apache.soap.server.InvokeBSF");