org.apache.axis.providers.java
public class RPCProvider extends JavaProvider
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
log |
entLog, OPTION_ALLOWEDMETHODS, OPTION_CLASSNAME, OPTION_SCOPEOPTION_EXTRACLASSES, OPTION_WSDL_INPUTSCHEMA, OPTION_WSDL_PORTTYPE, OPTION_WSDL_SERVICEELEMENT, OPTION_WSDL_SERVICEPORT, OPTION_WSDL_SOAPACTION_MODE, OPTION_WSDL_TARGETNAMESPACEmakeLockable, name, options| Constructor and Description |
|---|
RPCProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkMethodName(MessageContext msgContext,
java.lang.String allowedMethods,
java.lang.String methodName)
Throw an AxisFault if the requested method is not allowed.
|
protected java.lang.Object |
invokeMethod(MessageContext msgContext,
java.lang.reflect.Method method,
java.lang.Object obj,
java.lang.Object[] argValues)
This method encapsulates the method invocation.
|
void |
processMessage(MessageContext msgContext,
SOAPEnvelope reqEnv,
SOAPEnvelope resEnv,
java.lang.Object obj)
Process the current message.
|
getServiceClass, getServiceClassName, getServiceClassNameOptionName, getServiceObject, initServiceDesc, invoke, makeNewServiceObjectaddOperation, generateWSDL, getOperationName, getOperationNames, getOperationQNamescanHandleBlock, cleanup, getDeploymentData, getName, getOption, getOptions, getUnderstoodHeaders, init, initHashtable, onFault, setName, setOption, setOptionDefault, setOptions, setOptionsLockablepublic void processMessage(MessageContext msgContext, SOAPEnvelope reqEnv, SOAPEnvelope resEnv, java.lang.Object obj) throws java.lang.Exception
processMessage in class JavaProvidermsgContext - self-explanatoryreqEnv - the request enveloperesEnv - the response envelopeobj - the service object itselfjava.lang.Exceptionprotected java.lang.Object invokeMethod(MessageContext msgContext, java.lang.reflect.Method method, java.lang.Object obj, java.lang.Object[] argValues) throws java.lang.Exception
msgContext - MessageContextmethod - the target method.obj - the target objectargValues - the method argumentsjava.lang.Exceptionprotected void checkMethodName(MessageContext msgContext, java.lang.String allowedMethods, java.lang.String methodName) throws java.lang.Exception
msgContext - MessageContextallowedMethods - list of allowed methodsmethodName - name of target methodjava.lang.ExceptionCopyright ? 2005 Apache Web Services Project. All Rights Reserved.