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_SCOPE
OPTION_EXTRACLASSES, OPTION_WSDL_INPUTSCHEMA, OPTION_WSDL_PORTTYPE, OPTION_WSDL_SERVICEELEMENT, OPTION_WSDL_SERVICEPORT, OPTION_WSDL_SOAPACTION_MODE, OPTION_WSDL_TARGETNAMESPACE
makeLockable, 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, makeNewServiceObject
addOperation, generateWSDL, getOperationName, getOperationNames, getOperationQNames
canHandleBlock, cleanup, getDeploymentData, getName, getOption, getOptions, getUnderstoodHeaders, init, initHashtable, onFault, setName, setOption, setOptionDefault, setOptions, setOptionsLockable
public void processMessage(MessageContext msgContext, SOAPEnvelope reqEnv, SOAPEnvelope resEnv, java.lang.Object obj) throws java.lang.Exception
processMessage
in class JavaProvider
msgContext
- self-explanatoryreqEnv
- the request enveloperesEnv
- the response envelopeobj
- the service object itselfjava.lang.Exception
protected 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.Exception
protected 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.Exception
Copyright ? 2005 Apache Web Services Project. All Rights Reserved.