Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.axis.handlers.BasicHandler
org.apache.axis.providers.BasicProvider
org.apache.axis.providers.java.JavaProvider
org.apache.axis.providers.java.RPCProvider
public class RPCProvider
extends JavaProvider
Field Summary | |
protected static Log |
Fields inherited from class org.apache.axis.providers.java.JavaProvider | |
OPTION_ALLOWEDMETHODS , OPTION_CLASSNAME , OPTION_SCOPE , entLog , log |
Fields inherited from class org.apache.axis.providers.BasicProvider | |
OPTION_EXTRACLASSES , OPTION_WSDL_INPUTSCHEMA , OPTION_WSDL_PORTTYPE , OPTION_WSDL_SERVICEELEMENT , OPTION_WSDL_SERVICEPORT , OPTION_WSDL_SOAPACTION_MODE , OPTION_WSDL_TARGETNAMESPACE , entLog , log |
Fields inherited from class org.apache.axis.handlers.BasicHandler | |
makeLockable , name , options |
Method Summary | |
protected void |
|
protected RPCElement |
|
protected RPCElement |
|
protected OperationDesc |
|
protected Object |
|
void |
|
Methods inherited from class org.apache.axis.providers.java.JavaProvider | |
getServiceClass , getServiceClassName , getServiceClassNameOptionName , getServiceObject , initServiceDesc , invoke , makeNewServiceObject , processMessage |
Methods inherited from class org.apache.axis.providers.BasicProvider | |
addOperation , generateWSDL , getOperationName , getOperationNames , getOperationQNames , initServiceDesc |
Methods inherited from class org.apache.axis.handlers.BasicHandler | |
canHandleBlock , cleanup , generateWSDL , getDeploymentData , getName , getOption , getOptions , getUnderstoodHeaders , init , initHashtable , onFault , setName , setOption , setOptionDefault , setOptions , setOptionsLockable |
protected void checkMethodName(MessageContext msgContext, String allowedMethods, String methodName) throws Exception
Throw an AxisFault if the requested method is not allowed.
- Parameters:
msgContext
- MessageContextallowedMethods
- list of allowed methodsmethodName
- name of target method
protected RPCElement createResponseBody(RPCElement body, MessageContext msgContext, OperationDesc operation, ServiceDesc serviceDesc, Object objRes, SOAPEnvelope resEnv, ArrayList outs) throws Exception
protected RPCElement getBody(SOAPEnvelope reqEnv, MessageContext msgContext) throws Exception
protected OperationDesc getOperationDesc(MessageContext msgContext, RPCElement body) throws SAXException, AxisFault
protected Object invokeMethod(MessageContext msgContext, Method method, Object obj, Object[] argValues) throws Exception
This method encapsulates the method invocation.
- Parameters:
msgContext
- MessageContextmethod
- the target method.obj
- the target objectargValues
- the method arguments
public void processMessage(MessageContext msgContext, SOAPEnvelope reqEnv, SOAPEnvelope resEnv, Object obj) throws Exception
Process the current message. Result in resEnv.
- Overrides:
- processMessage in interface JavaProvider
- Parameters:
msgContext
- self-explanatoryreqEnv
- the request enveloperesEnv
- the response envelopeobj
- the service object itself