|
||||||||||
| 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 QName |
GENERIC_OPERATION_NAME
|
static QName |
NOTIFY_OPERATION_NAME
|
static 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(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,
SoapServerConfig soapServerConfig,
PetalsReceiver petalsReceiver,
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(String transport)
|
Map<URI,Document> |
getImportedDocuments(String rootURI)
Return the imported documents in the WSDL description of the services. |
Map<QName,URI> |
getOperationMep()
|
javax.jbi.servicedesc.ServiceEndpoint |
getServiceEndpoint()
Get the service endpoint. |
String |
getServiceURL(String transport)
Return the HTTP/HTTPS URL of the Axis service |
void |
initFromWSDL()
|
void |
printWSDL(OutputStream out,
String requestURI)
|
void |
printWSDL2(OutputStream out,
String requestIP)
|
boolean |
wasAlreadyInitializedFromWSDL()
|
| 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, 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, printUserWSDL, printWSDL, printWSDL2, printWSDL2, printXSD, registerPolicy, releaseSchemaList, removeExposedTransport, removeMessageContextListener, removeOperation, setActive, setBindingName, setClassLoader, setClientSide, setCustomSchemaNamePrefix, setCustomSchemaNameSuffix, setCustomWsdl, setElementFormDefault, setEnableAllTransports, setEndpointName, setEndpointURL, 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 String OUTGOING_SERVICE_CLIENT_PREFIX
public static final QName NOTIFY_OPERATION_NAME
public static final QName GENERIC_OPERATION_NAME
| Constructor Detail |
|---|
public PetalsAxisService(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,
SoapServerConfig soapServerConfig,
PetalsReceiver petalsReceiver,
Logger logger)
PetalsAxisService
name - componentContext - jbiEndpoint - extensions - | Method Detail |
|---|
public void printWSDL(OutputStream out,
String requestURI)
throws org.apache.axis2.AxisFault
printWSDL in class org.apache.axis2.description.AxisServiceorg.apache.axis2.AxisFault
public Map<URI,Document> getImportedDocuments(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(OutputStream out,
String requestIP)
throws org.apache.axis2.AxisFault
printWSDL2 in class org.apache.axis2.description.AxisServiceorg.apache.axis2.AxisFaultpublic String getServiceURL(String transport)
transport - the transport ("http"/"https")
public javax.jbi.servicedesc.ServiceEndpoint getServiceEndpoint()
null if no endpoint is identified.public Map<QName,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(String transport)
throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFaultpublic boolean wasAlreadyInitializedFromWSDL()
public void initFromWSDL()
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 | |||||||||