|
||||||||||
| 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
org.ow2.petals.binding.soap.listener.incoming.PetalsAxisService
public class PetalsAxisService
The PetalsAxisService extends an AxisService. It is
registered during SU deployment into the AxisConfiguration.
This class override the printWSDL method to dynamically generate the WSDL
from the JBI container.
| Field Summary | |
|---|---|
static javax.xml.namespace.QName |
GENERIC_OPERATION_NAME
|
static javax.xml.namespace.QName |
NOTIFY_OPERATION_NAME
|
static java.lang.String |
OUTGOING_SERVICE_CLIENT_PREFIX
The client service name prefix |
| Fields inherited from class org.apache.axis2.description.AxisService |
|---|
IMPORT_TAG, INCLUDE_TAG, SCHEMA_LOCATION, SUPPORT_SINGLE_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 | |
|---|---|
PetalsAxisService(java.lang.String name,
javax.jbi.component.ComponentContext componentContext,
org.ow2.petals.component.framework.jbidescriptor.generated.Consumes consumes,
org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions consumesExtensions,
java.lang.String localAddress,
PetalsReceiver petalsReceiver,
java.util.logging.Logger logger)
Creates a new instance of PetalsAxisService |
|
| Method Summary | |
|---|---|
org.ow2.petals.component.framework.jbidescriptor.generated.Consumes |
getConsumes()
|
org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions |
getConsumesCDKExtensions()
|
org.ow2.easywsdl.extensions.wsdl4complexwsdl.api.Description |
getDescription()
|
java.util.Map<java.net.URI,org.w3c.dom.Document> |
getImportedDocuments(java.lang.String rootURI)
Return the imported documents in the WSDL description of the services. |
java.lang.String |
getLocalAddress()
|
java.util.Map<javax.xml.namespace.QName,java.net.URI> |
getOperationMep()
|
javax.jbi.servicedesc.ServiceEndpoint |
getServiceEndpoint()
Get the service endpoint. |
void |
printWSDL(java.io.OutputStream out,
java.lang.String requestIP)
|
void |
printWSDL2(java.io.OutputStream out,
java.lang.String requestIP)
|
| Methods inherited from class org.apache.axis2.description.AxisService |
|---|
addDataLocatorClassNames, addEndpoint, addExposedTransport, addHttpLocationDispatcherString, addMessageContextListener, addMessageElementQNameToOperationMapping, addMessageReceiver, addModuleConfig, addModuleref, addOperation, addSchema, addSchema, attachEnvelopeEvent, attachServiceContextEvent, createClientSideAxisService, createClientSideAxisService, createService, createService, createService, getAxisServiceGroup, getBindingName, getClassLoader, getControlOperations, getCustomSchemaNamePrefix, getCustomSchemaNameSuffix, getData, getDataLocator, getEndpoint, getEndpointName, getEndpoints, getEndpointURL, getEpMap, getEPRs, getExcludeInfo, getExposedTransports, getFileName, getGlobalDataLocator, getImportedNamespaces, getKey, getLastupdate, getLastUpdate, getMessageReceiver, getModuleConfig, getModules, getName, getNamespaceMap, getNameSpacesMap, getObjectSupplier, getOperation, getOperationByAction, getOperationByMessageElementQName, getOperationBySOAPAction, getOperations, getOperationsNameList, getP2nMap, getPortTypeName, getPublishedOperations, getSchema, getSchema, getSchemaElement, getSchemaMappingTable, getSchematargetNamespace, getSchemaTargetNamespace, getSchemaTargetNamespacePrefix, getScope, getServiceDescription, getServiceLifeCycle, getSoapNsUri, getTargetNamespace, getTargetNamespacePrefix, getTypeTable, getWSAddressingFlag, hasMessageContextListener, isActive, isClientSide, isCustomWsdl, isElementFormDefault, isEnableAllTransports, isExposedTransport, isModifyUserWSDLPortAddress, isSchemaLocationsAdjusted, isUseDefaultChains, isUseUserWSDL, isWsdlFound, loadDataLocator, lookupPolicy, mapActionToOperation, onDisengage, onEngage, populateSchemaMappings, populateSchemaMappings, printSchema, printUserWSDL, printWSDL, printWSDL2, printXSD, registerPolicy, releaseSchemaList, removeExposedTransport, removeMessageContextListener, removeOperation, setActive, setBindingName, setClassLoader, setClientSide, setCustomSchemaNamePrefix, setCustomSchemaNameSuffix, setCustomWsdl, setElementFormDefault, setEnableAllTransports, setEndpointName, setEndpointURL, setEpMap, setEPRs, setExcludeInfo, setExposedTransports, setFileName, setImportedNamespaces, setLastupdate, setLastUpdate, setMessageElementQNameToOperationMap, setName, setNamespaceMap, setNameSpacesMap, setObjectSupplier, setOperationsNameList, setP2nMap, setParent, setPortTypeName, setSchemaLocationsAdjusted, setSchemaMappingTable, setSchemaTargetNamespace, setSchematargetNamespacePrefix, setSchemaTargetNamespacePrefix, setScope, setServiceDescription, setServiceLifeCycle, setSoapNsUri, setTargetNamespace, setTargetNamespacePrefix, setTypeTable, setUseDefaultChains, setWSAddressingFlag, setWsdlFound, 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 java.lang.String OUTGOING_SERVICE_CLIENT_PREFIX
public static final javax.xml.namespace.QName NOTIFY_OPERATION_NAME
public static final javax.xml.namespace.QName GENERIC_OPERATION_NAME
| Constructor Detail |
|---|
public PetalsAxisService(java.lang.String name,
javax.jbi.component.ComponentContext componentContext,
org.ow2.petals.component.framework.jbidescriptor.generated.Consumes consumes,
org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions consumesExtensions,
java.lang.String localAddress,
PetalsReceiver petalsReceiver,
java.util.logging.Logger logger)
PetalsAxisService
name - componentContext - jbiEndpoint - extensions - | Method Detail |
|---|
public void printWSDL(java.io.OutputStream out,
java.lang.String requestIP)
throws org.apache.axis2.AxisFault
printWSDL in class org.apache.axis2.description.AxisServiceorg.apache.axis2.AxisFaultpublic java.lang.String getLocalAddress()
public java.util.Map<java.net.URI,org.w3c.dom.Document> getImportedDocuments(java.lang.String rootURI)
throws org.apache.axis2.AxisFault
requestURI - the URL of the web service, typically http://..:8084/petals/services/MyWebService
org.apache.axis2.AxisFault
public void printWSDL2(java.io.OutputStream out,
java.lang.String requestIP)
throws org.apache.axis2.AxisFault
printWSDL2 in class org.apache.axis2.description.AxisServiceorg.apache.axis2.AxisFaultpublic javax.jbi.servicedesc.ServiceEndpoint getServiceEndpoint()
public java.util.Map<javax.xml.namespace.QName,java.net.URI> getOperationMep()
public org.ow2.petals.component.framework.api.configuration.ConfigurationExtensions getConsumesCDKExtensions()
public org.ow2.petals.component.framework.jbidescriptor.generated.Consumes getConsumes()
public org.ow2.easywsdl.extensions.wsdl4complexwsdl.api.Description getDescription()
throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||