org.globus.axis.description
Class ServiceDescUtil
java.lang.Object
org.globus.axis.description.ServiceDescUtil
- public class ServiceDescUtil
- extends java.lang.Object
This class updates the Java service description with information retreived
from the wsdl file. It also updates the soap address location url in the
wsdl file.
|
Method Summary |
private static void |
createWSAActionMapping(org.apache.axis.description.ServiceDesc serviceDesc,
org.apache.axis.description.OperationDesc operationDesc,
javax.xml.namespace.QName portTypeQName,
javax.wsdl.Operation operation)
|
private static void |
fixFaults(org.apache.axis.description.ServiceDesc serviceDesc,
org.apache.axis.description.OperationDesc operationDesc,
org.apache.axis.utils.cache.ClassCache cache,
java.lang.ClassLoader cl,
javax.wsdl.Operation operation,
org.apache.axis.wsdl.symbolTable.SymbolTable table)
|
static boolean |
fixNamespaces(org.apache.axis.MessageContext msgCtx,
org.apache.axis.handlers.soap.SOAPService service,
org.apache.axis.description.ServiceDesc serviceDesc)
|
protected static java.util.List |
getAllowedOperations(org.apache.axis.MessageContext msgCtx,
org.apache.axis.handlers.soap.SOAPService service,
org.apache.axis.description.ServiceDesc serviceDesc)
|
protected static java.lang.reflect.Method[] |
getMethods(java.lang.Class clazz)
|
static boolean |
initializeProviders(org.apache.axis.MessageContext msgCtx,
org.apache.axis.handlers.soap.SOAPService service,
org.apache.axis.description.ServiceDesc serviceDesc)
|
static void |
initializeService(org.apache.axis.MessageContext msgContext)
|
static void |
resetOperations(org.apache.axis.MessageContext msgContext)
|
static void |
updateAllowedMethods(org.apache.axis.MessageContext msgCtx,
org.apache.axis.handlers.soap.SOAPService service,
org.apache.axis.description.ServiceDesc serviceDesc)
|
static void |
updateWSDL(org.apache.axis.MessageContext ctx)
|
static void |
updateWSDLImport(org.apache.axis.MessageContext ctx)
|
static void |
updateWSDLSOAPAddress(org.apache.axis.MessageContext ctx)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROVIDER_MAPPING
public static final java.lang.String PROVIDER_MAPPING
- See Also:
- Constant Field Values
PROVIDERS_OPTION
public static final java.lang.String PROVIDERS_OPTION
- See Also:
- Constant Field Values
INITIALIZED
private static final java.lang.String INITIALIZED
- See Also:
- Constant Field Values
ALLOWED_METHODS_CLASS
public static final java.lang.String ALLOWED_METHODS_CLASS
- See Also:
- Constant Field Values
ACTION_MAP
public static final java.lang.String ACTION_MAP
- See Also:
- Constant Field Values
logger
static org.apache.commons.logging.Log logger
i18n
private static org.globus.util.I18n i18n
ServiceDescUtil
public ServiceDescUtil()
resetOperations
public static void resetOperations(org.apache.axis.MessageContext msgContext)
throws org.apache.axis.AxisFault
- Throws:
org.apache.axis.AxisFault
initializeService
public static void initializeService(org.apache.axis.MessageContext msgContext)
throws java.lang.Exception
- Throws:
java.lang.Exception
initializeProviders
public static boolean initializeProviders(org.apache.axis.MessageContext msgCtx,
org.apache.axis.handlers.soap.SOAPService service,
org.apache.axis.description.ServiceDesc serviceDesc)
throws java.lang.Exception
- Throws:
java.lang.Exception
fixNamespaces
public static boolean fixNamespaces(org.apache.axis.MessageContext msgCtx,
org.apache.axis.handlers.soap.SOAPService service,
org.apache.axis.description.ServiceDesc serviceDesc)
throws java.lang.Exception
- Throws:
java.lang.Exception
createWSAActionMapping
private static void createWSAActionMapping(org.apache.axis.description.ServiceDesc serviceDesc,
org.apache.axis.description.OperationDesc operationDesc,
javax.xml.namespace.QName portTypeQName,
javax.wsdl.Operation operation)
throws java.lang.Exception
- Throws:
java.lang.Exception
fixFaults
private static void fixFaults(org.apache.axis.description.ServiceDesc serviceDesc,
org.apache.axis.description.OperationDesc operationDesc,
org.apache.axis.utils.cache.ClassCache cache,
java.lang.ClassLoader cl,
javax.wsdl.Operation operation,
org.apache.axis.wsdl.symbolTable.SymbolTable table)
throws java.lang.Exception
- Throws:
java.lang.Exception
updateWSDL
public static void updateWSDL(org.apache.axis.MessageContext ctx)
throws java.lang.Exception
- Throws:
java.lang.Exception
updateWSDLImport
public static void updateWSDLImport(org.apache.axis.MessageContext ctx)
throws java.lang.Exception
- Throws:
java.lang.Exception
updateWSDLSOAPAddress
public static void updateWSDLSOAPAddress(org.apache.axis.MessageContext ctx)
throws java.lang.Exception
- Throws:
java.lang.Exception
updateAllowedMethods
public static void updateAllowedMethods(org.apache.axis.MessageContext msgCtx,
org.apache.axis.handlers.soap.SOAPService service,
org.apache.axis.description.ServiceDesc serviceDesc)
throws java.lang.Exception
- Throws:
java.lang.Exception
getAllowedOperations
protected static java.util.List getAllowedOperations(org.apache.axis.MessageContext msgCtx,
org.apache.axis.handlers.soap.SOAPService service,
org.apache.axis.description.ServiceDesc serviceDesc)
throws java.lang.Exception
- Throws:
java.lang.Exception
getMethods
protected static java.lang.reflect.Method[] getMethods(java.lang.Class clazz)