org.apache.axis.providers.java
Class RPCProvider
- Handler, Serializable
Implement message processing by walking over RPCElements of the
envelope body, invoking the appropriate methods on the service object.
- Doug Davis (dug@us.ibm.com)
canHandleBlock , cleanup , generateWSDL , getDeploymentData , getName , getOption , getOptions , getUnderstoodHeaders , init , initHashtable , onFault , setName , setOption , setOptionDefault , setOptions , setOptionsLockable |
log
protected static Log log
checkMethodName
protected void checkMethodName(MessageContext msgContext,
String allowedMethods,
String methodName)
throws Exception
Throw an AxisFault if the requested method is not allowed.
msgContext
- MessageContextallowedMethods
- list of allowed methodsmethodName
- name of target method
invokeMethod
protected Object invokeMethod(MessageContext msgContext,
Method method,
Object obj,
Object[] argValues)
throws Exception
This method encapsulates the method invocation.
msgContext
- MessageContextmethod
- the target method.obj
- the target objectargValues
- the method arguments
processMessage
public void processMessage(MessageContext msgContext,
SOAPEnvelope reqEnv,
SOAPEnvelope resEnv,
Object obj)
throws Exception
Process the current message.
Result in resEnv.
- processMessage in interface JavaProvider
msgContext
- self-explanatoryreqEnv
- the request enveloperesEnv
- the response envelopeobj
- the service object itself
Copyright B) 2005 Apache Web Services Project. All Rights Reserved.