public class JiraAxisJavaPicoRPCProvider
extends org.apache.axis.providers.java.RPCProvider
RPCProvider
that
uses PICO to create SOAP service instances based on service class nameentLog, OPTION_ALLOWEDMETHODS, OPTION_CLASSNAME, OPTION_SCOPE
Constructor and Description |
---|
JiraAxisJavaPicoRPCProvider(SoapModuleDescriptor descriptor) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.axis.message.RPCElement |
getBody(org.apache.axis.message.SOAPEnvelope reqEnv,
org.apache.axis.MessageContext msgContext)
This allows access to the SOAP body given an AXIS message context.
|
protected Class |
getServiceClass(String clsName,
org.apache.axis.handlers.soap.SOAPService service,
org.apache.axis.MessageContext msgContext) |
protected int |
getTokenParameterIndex(String operationName)
This is called to allow the RPC plugins to tell us what index the token occurs in the operation.
|
protected Object |
makeNewServiceObject(org.apache.axis.MessageContext msgContext,
String clsName)
Called by AXIS to create a new service object instance for a specified class name
|
protected String |
resolveTokenToUserName(String token)
This can be called to resolve a token to user name.
|
checkMethodName, createResponseBody, getOperationDesc, invokeMethod, processMessage
getServiceClassName, getServiceClassNameOptionName, getServiceObject, initServiceDesc, invoke
addOperation, generateWSDL, getOperationName, getOperationNames, getOperationQNames
public JiraAxisJavaPicoRPCProvider(SoapModuleDescriptor descriptor)
protected Class getServiceClass(String clsName, org.apache.axis.handlers.soap.SOAPService service, org.apache.axis.MessageContext msgContext)
getServiceClass
in class org.apache.axis.providers.java.JavaProvider
protected Object makeNewServiceObject(org.apache.axis.MessageContext msgContext, String clsName) throws Exception
makeNewServiceObject
in class org.apache.axis.providers.java.JavaProvider
msgContext
- the message context in playclsName
- the class name to instantiateException
- if something goes wrongprotected org.apache.axis.message.RPCElement getBody(org.apache.axis.message.SOAPEnvelope reqEnv, org.apache.axis.MessageContext msgContext) throws Exception
getBody
in class org.apache.axis.providers.java.RPCProvider
reqEnv
- the outer soap envelopemsgContext
- the AXIS message context in playException
protected String resolveTokenToUserName(String token)
token
- the token to resolveprotected int getTokenParameterIndex(String operationName)
operationName
- the name of the current SOAP operationCopyright © 2002-2015 Atlassian. All Rights Reserved.