|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.description.AxisDescription
org.apache.axis2.description.AxisService
public class AxisService
Class AxisService
Field Summary | |
---|---|
static String |
IMPORT_TAG
|
static String |
INCLUDE_TAG
|
static String |
SCHEMA_LOCATION
|
static String |
SUPPORT_SINGLE_OP
If this param is true, and the service has exactly one AxisOperation, normal operation dispatch (via URI/soapAction/etc) will not be necessary, and we'll just default to funneling all messages to that op. |
Fields inherited from class org.apache.axis2.description.AxisDescription |
---|
engagedModules, parameterObservers, parent |
Fields inherited from interface org.apache.axis2.description.DescriptionConstants |
---|
CLASSLOADER_KEY, CONTEXTPATH_KEY, EXECUTION_CHAIN_KEY, EXECUTION_FAULT_CHAIN_KEY, EXECUTION_OUT_CHAIN_KEY, IN_FAULTFLOW_KEY, INFLOW_KEY, MESSAGE_RECEIVER_KEY, MODULEREF_KEY, OPERATION_KEY, OUT_FAULTFLOW_KEY, OUTFLOW_KEY, PARAMETER_KEY, PHASES_KEY, SERVICE_CLASS_NAME, STYLE_KEY |
Constructor Summary | |
---|---|
AxisService()
Constructor AxisService. |
|
AxisService(String name)
Constructor AxisService. |
Method Summary | |
---|---|
void |
addDataLocatorClassNames(String dialect,
String dataLocatorClassName)
Save data Locator configured at service level for this Axis Service |
void |
addEndpoint(String key,
AxisEndpoint axisEndpoint)
|
void |
addExposedTransport(String transport)
|
void |
addHttpLocationDispatcherString(String string,
AxisOperation axisOperation)
Maps an constant string in the whttp:location to the given operation. |
void |
addMessageContextListener(MessageContextListener scl)
Add a ServiceContextListener |
void |
addMessageElementQNameToOperationMapping(QName messageElementQName,
AxisOperation operation)
Add an entry to the map between element QNames in WSDL messages and AxisOperations for this service. |
void |
addMessageReceiver(String mepURI,
MessageReceiver messageReceiver)
|
void |
addModuleConfig(ModuleConfiguration moduleConfiguration)
Adds module configuration , if there is moduleConfig tag in service. |
void |
addModuleref(String moduleref)
|
void |
addOperation(AxisOperation axisOperation)
Method addOperation. |
void |
addSchema(Collection<org.apache.ws.commons.schema.XmlSchema> schemas)
|
void |
addSchema(org.apache.ws.commons.schema.XmlSchema schema)
|
void |
attachEnvelopeEvent(MessageContext mc)
Signal an Attach Envelope Event |
void |
attachServiceContextEvent(ServiceContext sc,
MessageContext mc)
Signal an Attach ServiceContext Event |
static AxisService |
createClientSideAxisService(javax.wsdl.Definition wsdlDefinition,
QName wsdlServiceName,
String portName,
Options options)
|
static AxisService |
createClientSideAxisService(URL wsdlURL,
QName wsdlServiceName,
String portName,
Options options)
To create a AxisService for a given WSDL and the created client is most suitable for client side invocation not for server side invocation. |
static AxisService |
createService(String implClass,
AxisConfiguration axisConfig)
To create an AxisService using given service impl class name first generate schema corresponding to the given java class , next for each methods AxisOperation will be created. |
static AxisService |
createService(String implClass,
AxisConfiguration axisConfiguration,
Map messageReceiverClassMap,
String targetNamespace,
String schemaNamespace,
ClassLoader loader)
messageReceiverClassMap will hold the MessageReceivers for given meps. |
static AxisService |
createService(String implClass,
String serviceName,
AxisConfiguration axisConfiguration,
Map<String,MessageReceiver> messageReceiverClassMap,
String targetNamespace,
ClassLoader loader,
SchemaGenerator schemaGenerator,
AxisService axisService)
messageReceiverClassMap will hold the MessageReceivers for given meps. |
AxisServiceGroup |
getAxisServiceGroup()
|
String |
getBindingName()
|
ClassLoader |
getClassLoader()
Method getClassLoader. |
ArrayList<AxisOperation> |
getControlOperations()
Gets the control operation which are added by module like RM. |
String |
getCustomSchemaNamePrefix()
|
String |
getCustomSchemaNameSuffix()
|
Data[] |
getData(DataRetrievalRequest request,
MessageContext msgContext)
Find a data locator from the available data locators (both configured and default ones) to retrieve Metadata or data specified in the request. |
AxisDataLocator |
getDataLocator(LocatorType locatorType,
String dialect)
|
AxisEndpoint |
getEndpoint(String key)
|
String |
getEndpointName()
get the endpointName |
Map<String,AxisEndpoint> |
getEndpoints()
|
String |
getEndpointURL()
Deprecated. use AxisEndpoint.getEndpointURL() |
String[] |
getEPRs()
|
ExcludeInfo |
getExcludeInfo()
|
List<String> |
getExposedTransports()
|
URL |
getFileName()
|
AxisDataLocator |
getGlobalDataLocator(String dialect)
|
List |
getImportedNamespaces()
Get the namespaces associated with imported WSDLs |
Object |
getKey()
|
long |
getLastupdate()
Deprecated. please use getLastUpdate |
long |
getLastUpdate()
|
MessageReceiver |
getMessageReceiver(String mepURL)
|
ModuleConfiguration |
getModuleConfig(String moduleName)
|
ArrayList<String> |
getModules()
|
String |
getName()
|
Map |
getNamespaceMap()
Get the namespace map for this service. |
Map<String,String> |
getNameSpacesMap()
Deprecated. please use getNamespaceMap() |
ObjectSupplier |
getObjectSupplier()
|
AxisOperation |
getOperation(QName operationName)
Method getOperation. |
AxisOperation |
getOperationByAction(String action)
Returns the AxisOperation which has been mapped to the given alias. |
AxisOperation |
getOperationByMessageElementQName(QName messageElementQName)
Look up an AxisOperation for this service based off of an element QName from a WSDL message element. |
AxisOperation |
getOperationBySOAPAction(String soapAction)
Returns the operation given a SOAP Action. |
Iterator<AxisOperation> |
getOperations()
Method getOperations. |
List |
getOperationsNameList()
|
Map |
getP2nMap()
|
String |
getPortTypeName()
Deprecated. use AxisService#getEndpointName() instead. |
ArrayList<AxisOperation> |
getPublishedOperations()
Gets only the published operations. |
ArrayList<org.apache.ws.commons.schema.XmlSchema> |
getSchema()
|
org.apache.ws.commons.schema.XmlSchema |
getSchema(int index)
|
org.apache.ws.commons.schema.XmlSchemaElement |
getSchemaElement(QName elementQName)
|
Map |
getSchemaMappingTable()
|
String |
getSchematargetNamespace()
Deprecated. please use getSchemaTargetNamespace |
String |
getSchemaTargetNamespace()
|
String |
getSchemaTargetNamespacePrefix()
|
String |
getScope()
|
String |
getServiceDescription()
Deprecated. Use getDocumentation() instead |
ServiceLifeCycle |
getServiceLifeCycle()
|
String |
getSoapNsUri()
get the SOAPVersion |
String |
getTargetNamespace()
|
String |
getTargetNamespacePrefix()
|
TypeTable |
getTypeTable()
|
String |
getWSAddressingFlag()
Deprecated. Use AddressingHelper.getAddressingRequirementParemeterValue |
boolean |
hasMessageContextListener(Class cls)
|
boolean |
isActive()
|
boolean |
isClientSide()
|
boolean |
isCustomWsdl()
|
boolean |
isElementFormDefault()
|
boolean |
isEnableAllTransports()
|
boolean |
isExposedTransport(String transport)
|
boolean |
isModifyUserWSDLPortAddress()
By default the port address in user WSDLs is modified, set the following parameter to override this behaviour |
boolean |
isSchemaLocationsAdjusted()
|
boolean |
isSetEndpointsToAllUsedBindings()
users can use this parameter when they supply a wsdl file with the .aar file but wants to generate the endpoints for all available transports. |
boolean |
isUseDefaultChains()
|
boolean |
isUseUserWSDL()
User can set a parameter in services.xml saying he want to show the original wsdl that he put into META-INF once someone ask for ?wsdl so if you want to use your own wsdl then add following parameter into services.xml |
boolean |
isWsdlFound()
|
protected AxisDataLocator |
loadDataLocator(String className)
|
org.apache.neethi.Policy |
lookupPolicy(String key)
|
void |
mapActionToOperation(String action,
AxisOperation axisOperation)
Maps an alias (such as a SOAPAction, WSA action, or an operation name) to the given AxisOperation. |
void |
onDisengage(AxisModule module)
|
void |
onEngage(AxisModule axisModule,
AxisDescription engager)
Engages a module. |
Map |
populateSchemaMappings()
|
Map |
populateSchemaMappings(boolean overrideAbsoluteAddress)
runs the schema mappings if it has not been run previously it is best that this logic be in the axis service since one can call the axis service to populate the schema mappings |
void |
printSchema(OutputStream out)
Prints the schema to the given output stream. |
void |
printUserWSDL(OutputStream out,
String wsdlName)
|
void |
printUserWSDL(OutputStream out,
String wsdlName,
String ip)
Prints the user WSDL. |
void |
printWSDL(OutputStream out)
Print the WSDL with a default URL. |
void |
printWSDL(OutputStream out,
String requestIP)
Produces a WSDL for this AxisService and prints it to the specified OutputStream. |
void |
printWSDL2(OutputStream out)
Print the WSDL2.0 with a default URL. |
void |
printWSDL2(OutputStream out,
String requestIP)
Prints WSDL2.0 data for the service with the given host IP address. |
int |
printWSDL2(OutputStream out,
String requestIP,
String wsdl)
Produces a WSDL2 for this AxisService and prints it to the specified OutputStream. |
int |
printXSD(OutputStream out,
String xsd)
Produces a XSD for this AxisService and prints it to the specified OutputStream. |
void |
registerPolicy(String key,
org.apache.neethi.Policy policy)
|
void |
releaseSchemaList()
Release the list of schema objects. |
void |
removeExposedTransport(String transport)
|
void |
removeMessageContextListener(MessageContextListener scl)
Remove a ServiceContextListener |
void |
removeOperation(QName opName)
|
void |
setActive(boolean active)
|
void |
setBindingName(String bindingName)
|
void |
setClassLoader(ClassLoader classLoader)
Method setClassLoader. |
void |
setClientSide(boolean clientSide)
|
void |
setCustomSchemaNamePrefix(String customSchemaNamePrefix)
|
void |
setCustomSchemaNameSuffix(String customSchemaNameSuffix)
|
void |
setCustomWsdl(boolean customWsdl)
|
void |
setElementFormDefault(boolean elementFormDefault)
|
void |
setEnableAllTransports(boolean enableAllTransports)
To eneble service to be expose in all the transport |
void |
setEndpointName(String endpoint)
|
void |
setEndpointURL(String endpointURL)
Deprecated. use AxisEndpoint.setEndpointURL(String) |
void |
setEPRs(String[] eprs)
|
void |
setExcludeInfo(ExcludeInfo excludeInfo)
|
void |
setExposedTransports(List transports)
|
void |
setFileName(URL fileName)
|
void |
setImportedNamespaces(List importedNamespaces)
Set the namespaces associated with imported WSDLs |
void |
setLastupdate()
Deprecated. please use setLastUpdate |
void |
setLastUpdate()
Sets the current time as last update time of the service. |
void |
setMessageElementQNameToOperationMap(Map messageElementQNameToOperationMap)
Set the map of WSDL message element QNames to AxisOperations for this service. |
void |
setName(String name)
|
void |
setNamespaceMap(org.apache.ws.commons.schema.utils.NamespaceMap namespaceMap)
|
void |
setNameSpacesMap(org.apache.ws.commons.schema.utils.NamespaceMap nameSpacesMap)
Deprecated. please use setNamespaceMap |
void |
setObjectSupplier(ObjectSupplier objectSupplier)
|
void |
setOperationsNameList(List operationsNameList)
|
void |
setP2nMap(Map p2nMap)
|
void |
setParent(AxisServiceGroup parent)
|
void |
setPortTypeName(String portTypeName)
Deprecated. use AxisService#setEndpointName() instead |
void |
setSchemaLocationsAdjusted(boolean schemaLocationsAdjusted)
|
void |
setSchemaMappingTable(Map schemaMappingTable)
|
void |
setSchemaTargetNamespace(String schematargetNamespace)
|
void |
setSchematargetNamespacePrefix(String schematargetNamespacePrefix)
Deprecated. please use setSchemaTargetNamespacePrefix |
void |
setSchemaTargetNamespacePrefix(String schematargetNamespacePrefix)
|
void |
setScope(String scope)
|
void |
setServiceDescription(String documentation)
Deprecated. Use setDocumentation() instead |
void |
setServiceLifeCycle(ServiceLifeCycle serviceLifeCycle)
|
void |
setSoapNsUri(String soapNsUri)
|
void |
setTargetNamespace(String targetNamespace)
|
void |
setTargetNamespacePrefix(String targetNamespacePrefix)
|
void |
setTypeTable(TypeTable typeTable)
|
void |
setUseDefaultChains(boolean useDefaultChains)
|
void |
setWSAddressingFlag(String ar)
Deprecated. Use AddressingHelper.setAddressingRequirementParemeterValue |
void |
setWsdlFound(boolean wsdlFound)
|
String |
toString()
|
Methods inherited from class org.apache.axis2.description.AxisDescription |
---|
addChild, addChild, addParameter, addParameter, addParameterObserver, applyPolicy, applyPolicy, deserializeParameters, disengageModule, engageModule, engageModule, getAxisConfiguration, getChild, getChildren, getDocumentation, getDocumentationNode, getEngagedModules, getParameter, getParameters, getParameterValue, getParent, getPolicyInclude, getPolicySubject, isEngaged, isEngaged, isParameterLocked, isParameterTrue, removeChild, removeParameter, removeParameterObserver, setDocumentation, setDocumentation, setParent, setPolicyInclude |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String SUPPORT_SINGLE_OP
public static final String IMPORT_TAG
public static final String INCLUDE_TAG
public static final String SCHEMA_LOCATION
Constructor Detail |
---|
public AxisService()
public AxisService(String name)
Method Detail |
---|
public AxisEndpoint getEndpoint(String key)
public void addEndpoint(String key, AxisEndpoint axisEndpoint)
public String getWSAddressingFlag()
public void setWSAddressingFlag(String ar)
public boolean isSchemaLocationsAdjusted()
public void setSchemaLocationsAdjusted(boolean schemaLocationsAdjusted)
public Map getSchemaMappingTable()
public void setSchemaMappingTable(Map schemaMappingTable)
public String getCustomSchemaNamePrefix()
public void setCustomSchemaNamePrefix(String customSchemaNamePrefix)
public String getCustomSchemaNameSuffix()
public void setCustomSchemaNameSuffix(String customSchemaNameSuffix)
public String getPortTypeName()
public void setPortTypeName(String portTypeName)
portTypeName
- public String getBindingName()
public void setBindingName(String bindingName)
public String getSoapNsUri()
public void setSoapNsUri(String soapNsUri)
public String getEndpointName()
public void setEndpointName(String endpoint)
public void addMessageReceiver(String mepURI, MessageReceiver messageReceiver)
public MessageReceiver getMessageReceiver(String mepURL)
public void addModuleConfig(ModuleConfiguration moduleConfiguration)
moduleConfiguration
- public void addModuleref(String moduleref)
public void addOperation(AxisOperation axisOperation)
axisOperation
- public void onEngage(AxisModule axisModule, AxisDescription engager) throws AxisFault
onEngage
in class AxisDescription
axisModule
- engager
-
AxisFault
public void mapActionToOperation(String action, AxisOperation axisOperation)
action
- the alias keyaxisOperation
- the operation to map togetOperationByAction(String)
public void addHttpLocationDispatcherString(String string, AxisOperation axisOperation)
string
- the constant drawn from whttp:locationaxisOperation
- the operation to map topublic void printSchema(OutputStream out) throws AxisFault
out
- The output stream for the data to be written. NOTE: the stream is not closed after the operation,
it is the responsibility of the caller to close the stream after usage.
AxisFault
public org.apache.ws.commons.schema.XmlSchema getSchema(int index)
public void releaseSchemaList()
public void setEPRs(String[] eprs)
public String[] getEPRs()
public void printUserWSDL(OutputStream out, String wsdlName) throws AxisFault
AxisFault
public void printUserWSDL(OutputStream out, String wsdlName, String ip) throws AxisFault
out
- The output stream for the data to be written. NOTE: the stream is not closed after the operation,
it is the responsibility of the caller to close the stream after usage.wsdlName
- The name of the WSDL.ip
- The host IP address.
AxisFault
public int printXSD(OutputStream out, String xsd) throws IOException
out
- destination stream, NOTE: the stream is not closed after the operation,
it is the responsibility of the caller to close the stream after usage.xsd
- schema name
IOException
public void printWSDL(OutputStream out, String requestIP) throws AxisFault
out
- destination stream. The WSDL will be sent here. NOTE: the stream is not closed after the operation,
it is the responsibility of the caller to close the stream after usage.requestIP
- the hostname the WSDL request was directed at. This should be
the address that appears in the generated WSDL.
AxisFault
- if an error occurspublic boolean isSetEndpointsToAllUsedBindings()
public void printWSDL(OutputStream out) throws AxisFault
out
- The output stream for the data to be written. NOTE: the stream is not closed after the operation,
it is the responsibility of the caller to close the stream after usage.
AxisFault
public void printWSDL2(OutputStream out) throws AxisFault
out
- The output stream for the data to be written for. NOTE: the stream is not closed after the operation,
it is the responsibility of the caller to close the stream after usage.
AxisFault
public void printWSDL2(OutputStream out, String requestIP) throws AxisFault
out
- The output stream for the data to be written for. NOTE: the stream is not closed after the operation,
it is the responsibility of the caller to close the stream after usage.requestIP
- The host IP address.
AxisFault
public int printWSDL2(OutputStream out, String requestIP, String wsdl) throws IOException, AxisFault
out
- destination stream. NOTE: the stream is not closed after the operation,
it is the responsibility of the caller to close the stream after usage.wsdl
- wsdl name
IOException
AxisFault
public String getServiceDescription()
public ClassLoader getClassLoader()
public ArrayList<AxisOperation> getControlOperations()
public URL getFileName()
public long getLastupdate()
public long getLastUpdate()
public ModuleConfiguration getModuleConfig(String moduleName)
public ArrayList<String> getModules()
public String getName()
public AxisOperation getOperation(QName operationName)
operationName
-
public AxisOperation getOperationByAction(String action)
action
- the alias key
mapActionToOperation(String, AxisOperation)
public AxisOperation getOperationBySOAPAction(String soapAction)
soapAction
- SOAP Action defined for the particular Operation
public Iterator<AxisOperation> getOperations()
public ArrayList<AxisOperation> getPublishedOperations()
public void setServiceDescription(String documentation)
documentation
- public void setClassLoader(ClassLoader classLoader)
classLoader
- public void setFileName(URL fileName)
public void setLastupdate()
public void setLastUpdate()
public void setName(String name)
public ArrayList<org.apache.ws.commons.schema.XmlSchema> getSchema()
public void addSchema(org.apache.ws.commons.schema.XmlSchema schema)
public void addSchema(Collection<org.apache.ws.commons.schema.XmlSchema> schemas)
public boolean isWsdlFound()
public void setWsdlFound(boolean wsdlFound)
public String getScope()
public void setScope(String scope)
scope
- -
Available scopes : Constants.SCOPE_APPLICATION
Constants.SCOPE_TRANSPORT_SESSION Constants.SCOPE_SOAP_SESSION
Constants.SCOPE_REQUEST.equalspublic boolean isUseDefaultChains()
public void setUseDefaultChains(boolean useDefaultChains)
public Object getKey()
getKey
in class AxisDescription
public boolean isActive()
public void setActive(boolean active)
public String getSchematargetNamespace()
public String getSchemaTargetNamespace()
public void setSchemaTargetNamespace(String schematargetNamespace)
public String getSchemaTargetNamespacePrefix()
public void setSchematargetNamespacePrefix(String schematargetNamespacePrefix)
schematargetNamespacePrefix
- public void setSchemaTargetNamespacePrefix(String schematargetNamespacePrefix)
public String getTargetNamespace()
public void setTargetNamespace(String targetNamespace)
public String getTargetNamespacePrefix()
public void setTargetNamespacePrefix(String targetNamespacePrefix)
public org.apache.ws.commons.schema.XmlSchemaElement getSchemaElement(QName elementQName)
public boolean isEnableAllTransports()
public void setEnableAllTransports(boolean enableAllTransports)
enableAllTransports
- public List<String> getExposedTransports()
public void setExposedTransports(List transports)
public void addExposedTransport(String transport)
public void removeExposedTransport(String transport)
public boolean isExposedTransport(String transport)
public void onDisengage(AxisModule module) throws AxisFault
onDisengage
in class AxisDescription
AxisFault
public static AxisService createClientSideAxisService(URL wsdlURL, QName wsdlServiceName, String portName, Options options) throws AxisFault
wsdlURL
- location of the WSDLwsdlServiceName
- name of the service to be invoke , if it is null then the
first one will be selected if there are more than oneportName
- name of the port , if there are more than one , if it is null
then the first one in the iterator will be selectedoptions
- Service client options, to set the target EPR
AxisFault
public static AxisService createClientSideAxisService(javax.wsdl.Definition wsdlDefinition, QName wsdlServiceName, String portName, Options options) throws AxisFault
AxisFault
public static AxisService createService(String implClass, AxisConfiguration axisConfig) throws AxisFault
implClass
- Service implementation classaxisConfig
- Current AxisConfiguration
AxisFault
public static AxisService createService(String implClass, AxisConfiguration axisConfiguration, Map messageReceiverClassMap, String targetNamespace, String schemaNamespace, ClassLoader loader) throws AxisFault
implClass
- axisConfiguration
- messageReceiverClassMap
- targetNamespace
- schemaNamespace
-
AxisFault
public static AxisService createService(String implClass, String serviceName, AxisConfiguration axisConfiguration, Map<String,MessageReceiver> messageReceiverClassMap, String targetNamespace, ClassLoader loader, SchemaGenerator schemaGenerator, AxisService axisService) throws AxisFault
implClass
- axisConfiguration
- messageReceiverClassMap
- targetNamespace
-
AxisFault
public void removeOperation(QName opName)
public Map<String,String> getNameSpacesMap()
public Map getNamespaceMap()
public List getImportedNamespaces()
List
of namespace URIs (String)public void setImportedNamespaces(List importedNamespaces)
importedNamespaces
- public void setNameSpacesMap(org.apache.ws.commons.schema.utils.NamespaceMap nameSpacesMap)
nameSpacesMap
- public void setNamespaceMap(org.apache.ws.commons.schema.utils.NamespaceMap namespaceMap)
public Map populateSchemaMappings()
public Map populateSchemaMappings(boolean overrideAbsoluteAddress)
public boolean isClientSide()
public void setClientSide(boolean clientSide)
public boolean isElementFormDefault()
public void setElementFormDefault(boolean elementFormDefault)
public boolean isUseUserWSDL()
public boolean isModifyUserWSDLPortAddress()
public ServiceLifeCycle getServiceLifeCycle()
public void setServiceLifeCycle(ServiceLifeCycle serviceLifeCycle)
public Map getP2nMap()
public void setP2nMap(Map p2nMap)
public ObjectSupplier getObjectSupplier()
public void setObjectSupplier(ObjectSupplier objectSupplier)
public TypeTable getTypeTable()
public void setTypeTable(TypeTable typeTable)
public Data[] getData(DataRetrievalRequest request, MessageContext msgContext) throws AxisFault
request
- an DataRetrievalRequest
objectmsgContext
- message context
Data
object for the request.
AxisFault
public void addDataLocatorClassNames(String dialect, String dataLocatorClassName)
dialect-
- an absolute URI represents the Dialect i.e. WSDL, Policy,
Schema or "ServiceLevel" for non-dialect service level data
locator.dataLocatorClassName
- -
class name of the Data Locator configured to support data
retrieval for the specified dialect.public AxisDataLocator getDataLocator(LocatorType locatorType, String dialect) throws AxisFault
AxisFault
public AxisDataLocator getGlobalDataLocator(String dialect) throws AxisFault
AxisFault
protected AxisDataLocator loadDataLocator(String className) throws AxisFault
AxisFault
public void setMessageElementQNameToOperationMap(Map messageElementQNameToOperationMap)
messageElementQNameToOperationMap
- The map from WSDL message element QNames to AxisOperations.public AxisOperation getOperationByMessageElementQName(QName messageElementQName)
messageElementQName
- The QName to search for.
setMessageElementQNameToOperationMap(Map)
public void addMessageElementQNameToOperationMapping(QName messageElementQName, AxisOperation operation)
messageElementQName
- The QName of the element on the input message that maps to the
given operation.operation
- The AxisOperation to be mapped to.setMessageElementQNameToOperationMap(Map)
public String getEndpointURL()
AxisEndpoint.getEndpointURL()
public void setEndpointURL(String endpointURL)
AxisEndpoint.setEndpointURL(String)
public Map<String,AxisEndpoint> getEndpoints()
public boolean isCustomWsdl()
public void setCustomWsdl(boolean customWsdl)
public List getOperationsNameList()
public void setOperationsNameList(List operationsNameList)
public AxisServiceGroup getAxisServiceGroup()
public void setParent(AxisServiceGroup parent)
public String toString()
toString
in class Object
public ExcludeInfo getExcludeInfo()
public void setExcludeInfo(ExcludeInfo excludeInfo)
public void registerPolicy(String key, org.apache.neethi.Policy policy)
public org.apache.neethi.Policy lookupPolicy(String key)
public void addMessageContextListener(MessageContextListener scl)
scl
- public void removeMessageContextListener(MessageContextListener scl)
scl
- public boolean hasMessageContextListener(Class cls)
cls
- Class of ServiceContextListener
public void attachServiceContextEvent(ServiceContext sc, MessageContext mc)
sc
- ServiceContextmc
- MessageContextpublic void attachEnvelopeEvent(MessageContext mc)
mc
- MessageContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |