Package org.apache.axis.providers
Class BasicProvider
java.lang.Object
org.apache.axis.handlers.BasicHandler
org.apache.axis.providers.BasicProvider
- All Implemented Interfaces:
Serializable
,Handler
- Direct Known Subclasses:
BSFProvider
,ComProvider
,JavaProvider
This class has one way of keeping track of the
operations declared for a particular service
provider. I'm not exactly married to this though.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static org.apache.commons.logging.Log
protected static org.apache.commons.logging.Log
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from class org.apache.axis.handlers.BasicHandler
makeLockable, name, options
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addOperation
(String name, QName qname) void
generateWSDL
(MessageContext msgContext) Generate the WSDL for this service.getOperationName
(QName qname) String[]
QName[]
abstract void
initServiceDesc
(SOAPService service, MessageContext msgContext) This method returns a ServiceDesc that contains the correct implimentation class.Methods inherited from class org.apache.axis.handlers.BasicHandler
canHandleBlock, cleanup, getDeploymentData, getName, getOption, getOptions, getUnderstoodHeaders, init, initHashtable, onFault, setName, setOption, setOptionDefault, setOptions, setOptionsLockable
-
Field Details
-
OPTION_WSDL_PORTTYPE
- See Also:
-
OPTION_WSDL_SERVICEELEMENT
- See Also:
-
OPTION_WSDL_SERVICEPORT
- See Also:
-
OPTION_WSDL_TARGETNAMESPACE
- See Also:
-
OPTION_WSDL_INPUTSCHEMA
- See Also:
-
OPTION_WSDL_SOAPACTION_MODE
- See Also:
-
OPTION_EXTRACLASSES
- See Also:
-
log
protected static org.apache.commons.logging.Log log -
entLog
protected static org.apache.commons.logging.Log entLog
-
-
Constructor Details
-
BasicProvider
public BasicProvider()
-
-
Method Details
-
initServiceDesc
public abstract void initServiceDesc(SOAPService service, MessageContext msgContext) throws AxisFault This method returns a ServiceDesc that contains the correct implimentation class.- Throws:
AxisFault
-
addOperation
-
getOperationName
-
getOperationQNames
-
getOperationNames
-
generateWSDL
Generate the WSDL for this service. Put in the "WSDL" property of the message context as a org.w3c.dom.Document- Specified by:
generateWSDL
in interfaceHandler
- Overrides:
generateWSDL
in classBasicHandler
- Parameters:
msgContext
- theMessageContext
to generate the WSDL to- Throws:
AxisFault
- if there was a problem generating the WSDL
-