Modifier and Type | Method and Description |
---|---|
static AxisFault |
AxisFault.makeFault(Throwable e)
Make an AxisFault based on a passed Exception.
|
Modifier and Type | Method and Description |
---|---|
Object |
ServiceObjectSupplier.getServiceObject(AxisService axisService) |
Modifier and Type | Method and Description |
---|---|
static String |
EndpointReferenceHelper.fromOM(EndpointReference epr,
org.apache.axiom.om.OMElement eprOMElement)
Populates an endpoint reference based on the
OMElement . |
static void |
EndpointReferenceHelper.fromOM(EndpointReference epr,
org.apache.axiom.om.OMElement eprOMElement,
String addressingNamespace)
Populates an endpoint reference based on the
OMElement and
WS-Addressing namespace that is passed in. |
static EndpointReference |
EndpointReferenceHelper.fromOM(org.apache.axiom.om.OMElement eprOMElement)
Populates an endpoint reference based on the
OMElement that is
passed in. |
static EndpointReference |
EndpointReferenceHelper.fromOM(String eprString)
Deprecated.
use
EndpointReferenceHelper.fromString(String) instead. |
static EndpointReference |
EndpointReferenceHelper.fromString(String eprString)
Populates an endpoint reference based on the
String that is
passed in. |
static InterfaceName |
EndpointReferenceHelper.getInterfaceNameMetadata(EndpointReference epr,
String addressingNamespace)
Retrieves the WS-Addressing EPR PortType, or InterfaceName, element from an EPR,
as appropriate.
|
static ServiceName |
EndpointReferenceHelper.getServiceNameMetadata(EndpointReference epr,
String addressingNamespace)
Retrieves the WS-Addressing EPR ServiceName element from an EPR.
|
static WSDLLocation |
EndpointReferenceHelper.getWSDLLocationMetadata(EndpointReference epr,
String addressingNamespace)
Retrieves the wsdli:wsdlLocation attribute from an EPR.
|
static void |
EndpointReferenceHelper.setInterfaceNameMetadata(org.apache.axiom.om.OMFactory factory,
EndpointReference epr,
String addressingNamespace,
InterfaceName interfaceName)
Adds an instance of
InterfaceName as metadata to the specified EPR. |
static void |
EndpointReferenceHelper.setServiceNameMetadata(org.apache.axiom.om.OMFactory factory,
EndpointReference epr,
String addressingNamespace,
ServiceName serviceName)
Adds an instance of
ServiceName as metadata to the specified EPR. |
static void |
EndpointReferenceHelper.setWSDLLocationMetadata(org.apache.axiom.om.OMFactory factory,
EndpointReference epr,
String addressingNamespace,
WSDLLocation wsdlLocation)
Adds an instance of
WSDLLocation as metadata to the specified EPR. |
static org.apache.axiom.om.OMElement |
EndpointReferenceHelper.toOM(org.apache.axiom.om.OMFactory factory,
EndpointReference epr,
javax.xml.namespace.QName qname,
String addressingNamespace)
Creates an
OMElement based on the properties of the endpoint
reference. |
org.apache.axiom.om.OMElement |
EndpointReference.toOM(String nsurl,
String localName,
String prefix)
Deprecated.
use
EndpointReferenceHelper#toOM(EndpointReference, QName, String) instead. |
static void |
AddressingFaultsHelper.triggerActionMismatchFault(MessageContext messageContext,
String soapAction,
String wsaAction) |
static void |
AddressingFaultsHelper.triggerActionNotSupportedFault(MessageContext messageContext,
String problemAction) |
static void |
AddressingFaultsHelper.triggerDestinationUnreachableFault(MessageContext messageContext,
String address) |
static void |
AddressingFaultsHelper.triggerInvalidCardinalityFault(MessageContext messageContext,
String incorrectHeaderName) |
static void |
AddressingFaultsHelper.triggerInvalidEPRFault(MessageContext messageContext,
String incorrectHeaderName) |
static void |
AddressingFaultsHelper.triggerMessageAddressingRequiredFault(MessageContext messageContext,
String missingHeaderName) |
static void |
AddressingFaultsHelper.triggerMissingAddressInEPRFault(MessageContext messageContext,
String incorrectHeaderName) |
static void |
AddressingFaultsHelper.triggerOnlyAnonymousAddressSupportedFault(MessageContext messageContext,
String incorrectHeaderName) |
static void |
AddressingFaultsHelper.triggerOnlyNonAnonymousAddressSupportedFault(MessageContext messageContext,
String incorrectHeaderName) |
Modifier and Type | Method and Description |
---|---|
void |
WSDLLocation.fromOM(org.apache.axiom.om.OMAttribute omAttribute)
Convenience method for converting an OMAttribute to an instance of either of these types.
|
void |
ServiceName.fromOM(org.apache.axiom.om.OMElement omElement)
Convenience method to extract metadata from the ServiceName element.
|
void |
InterfaceName.fromOM(org.apache.axiom.om.OMElement omElement)
Convenience method to extract metadata from an element.
|
org.apache.axiom.om.OMElement |
ServiceName.toOM(org.apache.axiom.om.OMFactory factory,
javax.xml.namespace.QName qname)
Convenience method to convert objects of this type to an
OMElement so that it
can be added to an EndpointReference |
org.apache.axiom.om.OMElement |
InterfaceName.toOM(org.apache.axiom.om.OMFactory fac,
javax.xml.namespace.QName qname)
Convenience method to convert objects of this type to an
OMElement so that it
can be added to an EndpointReference |
Modifier and Type | Method and Description |
---|---|
static org.apache.axiom.soap.SOAPEnvelope |
BuilderUtil.buildsoapMessage(MessageContext messageContext,
MultipleEntryHashMap requestParameterMap,
org.apache.axiom.soap.SOAPFactory soapFactory) |
protected void |
XFormURLEncodedBuilder.extractParametersFromRequest(MultipleEntryHashMap parameterMap,
String query,
String queryParamSeparator,
String charsetEncoding,
InputStream inputStream) |
protected String |
XFormURLEncodedBuilder.extractParametersUsingHttpLocation(String templatedPath,
MultipleEntryHashMap parameterMap,
String requestURL,
String queryParameterSeparator)
Here is what I will try to do here.
|
static Builder |
BuilderUtil.getBuilderFromSelector(String type,
MessageContext msgContext)
Initial work for a builder selector which selects the builder for a given message format
based on the the content type of the recieved message.
|
org.apache.axiom.om.OMElement |
SOAPBuilder.processDocument(InputStream inputStream,
String contentType,
MessageContext messageContext) |
org.apache.axiom.om.OMElement |
MIMEBuilder.processDocument(InputStream inputStream,
String contentType,
MessageContext msgContext) |
org.apache.axiom.om.OMElement |
XFormURLEncodedBuilder.processDocument(InputStream inputStream,
String contentType,
MessageContext messageContext) |
org.apache.axiom.om.OMElement |
Builder.processDocument(InputStream inputStream,
String contentType,
MessageContext messageContext)
Process a message.
|
org.apache.axiom.om.OMElement |
ApplicationXMLBuilder.processDocument(InputStream inputStream,
String contentType,
MessageContext messageContext) |
org.apache.axiom.om.OMElement |
MultipartFormDataBuilder.processDocument(InputStream inputStream,
String contentType,
MessageContext messageContext) |
org.apache.axiom.om.OMElement |
DataSourceBuilder.processDocument(InputStream inputStream,
String contentType,
MessageContext msgContext) |
org.apache.axiom.om.OMElement |
MTOMBuilder.processDocument(InputStream inputStream,
String contentType,
MessageContext messageContext) |
static void |
BuilderUtil.validateCharSetEncoding(String charsetEncodingFromTransport,
String charsetEncodingFromXML,
String soapNamespaceURI) |
Modifier and Type | Method and Description |
---|---|
org.apache.axiom.om.OMElement |
UnknownContentBuilder.processDocument(InputStream inputStream,
String contentType,
MessageContext messageContext) |
Modifier and Type | Method and Description |
---|---|
abstract void |
OperationClient.addMessageContext(MessageContext messageContext)
Add a message context to the client for processing.
|
void |
ServiceClient.addStringHeader(javax.xml.namespace.QName headerName,
String headerText)
Add a simple header containing some text to be sent with interactions.
|
void |
Stub.cleanup()
Cleanup associated resources.
|
void |
ServiceClient.cleanup()
Clean up configuration created with this client.
|
void |
ServiceClient.cleanupTransport()
Release resources allocated by the transport during the last service invocation.
|
void |
OperationClient.complete(MessageContext msgCtxt)
To close the transport if necessary , can call this method.
|
void |
WSDLBasedPolicyProcessor.configureOperationPolices(AxisOperation op) |
void |
WSDLBasedPolicyProcessor.configureServicePolices(AxisService axisService) |
OperationClient |
ServiceClient.createClient(javax.xml.namespace.QName operationQName)
Create an operation client with the appropriate message exchange pattern (MEP).
|
void |
ServiceClient.engageModule(javax.xml.namespace.QName moduleName)
Deprecated.
Please use String version instead
|
void |
ServiceClient.engageModule(String moduleName)
Engage a module for this service client.
|
void |
OperationClient.execute(boolean block)
Execute the MEP.
|
abstract void |
OperationClient.executeImpl(boolean block)
Execute the MEP.
|
void |
ServiceClient.fireAndForget(org.apache.axiom.om.OMElement elem)
Directly invoke an anonymous operation with an In-Only MEP.
|
void |
ServiceClient.fireAndForget(javax.xml.namespace.QName operation,
org.apache.axiom.om.OMElement elem)
Directly invoke a named operation with an In-Only MEP.
|
abstract MessageContext |
OperationClient.getMessageContext(String messageLabel)
Return a message from the client - will return null if the requested
message is not available.
|
EndpointReference |
ServiceClient.getMyEPR(String transport)
Get the endpoint reference for this client using a particular transport.
|
protected void |
OperationClient.prepareMessageContext(ConfigurationContext configurationContext,
MessageContext mc)
prepareMessageContext gets a fresh new MessageContext ready to be sent.
|
void |
OperationClient.reset()
Reset the operation client to a clean status after the MEP has completed.
|
org.apache.axiom.om.OMElement |
ServiceClient.sendReceive(org.apache.axiom.om.OMElement elem)
Directly invoke an anonymous operation with an In-Out MEP.
|
org.apache.axiom.om.OMElement |
ServiceClient.sendReceive(javax.xml.namespace.QName operationQName,
org.apache.axiom.om.OMElement xmlPayload)
Directly invoke a named operationQName with an In-Out MEP.
|
void |
ServiceClient.sendReceiveNonBlocking(org.apache.axiom.om.OMElement elem,
AxisCallback callback)
Directly invoke an anonymous operation with an In-Out MEP without waiting for a response.
|
void |
ServiceClient.sendReceiveNonBlocking(org.apache.axiom.om.OMElement elem,
Callback callback)
Deprecated.
Please use the AxisCallback interface rather than Callback, which has been
deprecated
|
void |
ServiceClient.sendReceiveNonBlocking(javax.xml.namespace.QName operation,
org.apache.axiom.om.OMElement elem,
AxisCallback callback)
Directly invoke a named operation with an In-Out MEP without waiting for a response.
|
void |
ServiceClient.sendReceiveNonBlocking(javax.xml.namespace.QName operation,
org.apache.axiom.om.OMElement elem,
Callback callback)
Deprecated.
Please use the AxisCallback interface rather than Callback, which has been
deprecated
|
void |
ServiceClient.sendRobust(org.apache.axiom.om.OMElement elem)
Directly invoke an anonymous operation with a Robust In-Only MEP.
|
void |
ServiceClient.sendRobust(javax.xml.namespace.QName operation,
org.apache.axiom.om.OMElement elem)
Directly invoke a named operation with a Robust In-Only MEP.
|
void |
ServiceClient.setAxisService(AxisService axisService)
Configure the ServiceClient to interact with the Web service described by the specified
AxisService object.
|
void |
Options.setSenderTransport(String senderTransport,
AxisConfiguration axisConfiguration)
Set transport used for outgoing message.
|
void |
Options.setTransportInfo(String senderTransport,
String listenerTransport,
boolean useSeparateListener)
Deprecated.
Use setTransportInProtocol(String) and
useSeparateListener(boolean) instead. You do not need to
setSenderTransportProtocol(String) as sender transport can be
inferred from the to EPR. But still you can
setTransportOut(TransportOutDescription).
|
Constructor and Description |
---|
ServiceClient()
Create a service client by assuming an anonymous service and any other necessary
information.
|
ServiceClient(ConfigurationContext configContext,
AxisService axisService)
Create a service client configured to work with a specific AxisService.
|
ServiceClient(ConfigurationContext configContext,
javax.wsdl.Definition wsdl4jDefinition,
javax.xml.namespace.QName wsdlServiceName,
String portName)
This is WSDL4J based constructor to configure the Service Client/ TODO: make this policy
aware
|
ServiceClient(ConfigurationContext configContext,
URL wsdlURL,
javax.xml.namespace.QName wsdlServiceName,
String portName)
Create a service client for WSDL service identified by the QName of the wsdl:service element
in a WSDL document.
|
Modifier and Type | Class and Description |
---|---|
class |
ClusteringFault |
Modifier and Type | Method and Description |
---|---|
Handler.InvocationResponse |
RequestBlockingHandler.invoke(MessageContext msgContext) |
Modifier and Type | Method and Description |
---|---|
void |
OperationContext.addMessageContext(MessageContext msgContext)
When a new message is added to the
MEPContext the logic
should be included remove the MEPContext from the table in the
EngineContext . |
static ConfigurationContext |
ConfigurationContextFactory.createConfigurationContext(AxisConfigurator axisConfigurator)
Creates a AxisConfiguration depending on the user requirement.
|
static ConfigurationContext |
ConfigurationContextFactory.createConfigurationContextFromFileSystem(String path) |
static ConfigurationContext |
ConfigurationContextFactory.createConfigurationContextFromFileSystem(String path,
String axis2xml)
To get a ConfigurationContext for given data , and underline implementation
is Axis2 default impl which is file system based deployment model to create
an AxisConfiguration.
|
static ConfigurationContext |
ConfigurationContextFactory.createConfigurationContextFromURIs(URL axis2xml,
URL repositoy) |
static ConfigurationContext |
ConfigurationContextFactory.createEmptyConfigurationContext()
creates an empty configuration context.
|
static OperationContext |
OperationContextFactory.createOperationContext(int mepURI,
AxisOperation axisOp,
ServiceContext serviceContext) |
void |
ConfigurationContext.deployService(AxisService service)
Deploy a service to the embedded AxisConfiguration, and initialize it.
|
void |
ConfigurationContext.fillServiceContextAndServiceGroupContext(MessageContext messageContext)
Searches for a ServiceGroupContext in the map with given id as the key.
|
void |
AbstractContext.flush() |
MessageContext |
OperationContext.getMessageContext(String messageLabel)
Get the message context identified by a given label.
|
EndpointReference |
ServiceContext.getMyEPR(String transport)
To get the ERP for a given service , if the transport is present and not
running then it will add as a listener to ListenerManager , there it will
init that and start the listener , and finally ask the EPR from transport
for a given service
|
ServiceContext |
ServiceGroupContext.getServiceContext(AxisService service)
Gets a service context.
|
ServiceGroupContext |
ConfigurationContext.getServiceGroupContextFromSoapSessionTable(String serviceGroupContextId,
MessageContext msgContext)
Retrieve the ServiceGroupContext from the SOAP session table
|
void |
SessionContext.init(AxisConfiguration axisConfiguration) |
void |
ConfigurationContext.initCluster()
Initializes the ClusterManager for this ConfigurationContext
|
void |
OperationContext.removeMessageContext(String label)
Remove the indicated message context.
|
void |
MessageContext.setEnvelope(org.apache.axiom.soap.SOAPEnvelope envelope) |
void |
ConfigurationContext.setThreadPool(ThreadFactory pool)
Sets the thread factory.
|
void |
ConfigurationContext.shutdownModulesAndServices()
Called during shutdown to clean up all Contexts
|
void |
ConfigurationContext.terminate()
Invoked during shutdown to stop the ListenerManager and perform configuration cleanup
|
Modifier and Type | Method and Description |
---|---|
static Object |
BeanUtil.deserialize(Class beanClass,
org.apache.axiom.om.OMElement beanElement,
MultirefHelper helper,
ObjectSupplier objectSupplier) |
static Object |
BeanUtil.deserialize(Class beanClass,
org.apache.axiom.om.OMElement beanElement,
ObjectSupplier objectSupplier,
String arrayLocalName) |
static Object[] |
BeanUtil.deserialize(org.apache.axiom.om.OMElement response,
Object[] javaTypes,
ObjectSupplier objectSupplier)
To get JavaObjects from XML element , the element most of the time contains only one element
in that case that element will be converted to the JavaType specified by the javaTypes array
The algo is as follows, get the childerns of the response element , and if it conatian more
than one element then check the retuen type of that element and conver that to corresponding
JavaType
|
static Object[] |
BeanUtil.deserialize(org.apache.axiom.om.OMElement response,
Object[] javaTypes,
ObjectSupplier objectSupplier,
String[] parameterNames,
Method method) |
static org.apache.axiom.om.OMElement |
MultirefHelper.getClonedOMElement(org.apache.axiom.om.OMElement omElement,
org.apache.axiom.om.OMFactory omFactory)
returns an cloned om element for this OMElement
|
org.apache.axiom.om.OMElement |
MultirefHelper.processElementforRefs(org.apache.axiom.om.OMElement elemnts) |
static void |
MultirefHelper.processHrefAttributes(Map idAndOMElementMap,
org.apache.axiom.om.OMElement elementToProcess,
org.apache.axiom.om.OMFactory omFactory) |
static void |
MultirefHelper.processHrefAttributes(org.apache.axiom.soap.SOAPEnvelope soapEnvelope)
this method is used to process the href attributes which may comes with the incomming soap mesaage
|
static Object |
BeanUtil.processObject(org.apache.axiom.om.OMElement omElement,
Class classType,
MultirefHelper helper,
boolean isArrayType,
ObjectSupplier objectSupplier,
Type generictype) |
org.apache.axiom.om.OMElement |
MultirefHelper.processOMElementRef(String id) |
Object |
MultirefHelper.processRef(Class javatype,
String id,
ObjectSupplier objectSupplier) |
Modifier and Type | Class and Description |
---|---|
class |
DataRetrievalException
Exception class for reporting Data Retrieval problems
|
Modifier and Type | Method and Description |
---|---|
org.apache.ws.commons.schema.XmlSchema |
SchemaSupplier.getSchema(AxisService service,
String xsd) |
javax.wsdl.Definition |
WSDLSupplier.getWSDL(AxisService service) |
Modifier and Type | Method and Description |
---|---|
org.apache.axiom.om.OMElement |
MexClient.setupGetMetadataRequest(String dialect,
String identifier)
Builds OMElement that makes up of SOAP body.
|
Constructor and Description |
---|
MexClient() |
MexClient(ConfigurationContext configContext,
AxisService axisService) |
MexClient(ConfigurationContext configContext,
javax.wsdl.Definition wsdl4jDefinition,
javax.xml.namespace.QName wsdlServiceName,
String portName) |
MexClient(ConfigurationContext configContext,
URL wsdlURL,
javax.xml.namespace.QName wsdlServiceName,
String portName) |
Modifier and Type | Class and Description |
---|---|
class |
DeploymentException |
Modifier and Type | Method and Description |
---|---|
static void |
DeploymentEngine.addNewModule(AxisModule modulemetadata,
AxisConfiguration axisConfiguration) |
static void |
DeploymentEngine.addServiceGroup(AxisServiceGroup serviceGroup,
ArrayList serviceList,
URL serviceLocation,
DeploymentFileData currentDeploymentFile,
AxisConfiguration axisConfiguration) |
static AxisServiceGroup |
DeploymentEngine.buildServiceGroup(InputStream servicesxml,
ClassLoader classLoader,
String serviceGroupName,
ConfigurationContext configCtx,
ArchiveReader archiveReader,
HashMap wsdlServices)
To build a AxisServiceGroup for a given services.xml
You have to add the created group into AxisConfig
|
void |
WarBasedAxisConfigurator.engageGlobalModules() |
void |
URLBasedAxisConfigurator.engageGlobalModules() |
void |
FileSystemConfigurator.engageGlobalModules() |
void |
DeploymentEngine.engageModules()
Checks if the modules, referred by server.xml, exist or that they are deployed.
|
protected static void |
DeploymentEngine.fillServiceGroup(AxisServiceGroup serviceGroup,
ArrayList serviceList,
URL serviceLocation,
AxisConfiguration axisConfig) |
AxisConfiguration |
WarBasedAxisConfigurator.getAxisConfiguration()
Gets the axis configuration object by loading the repository.
|
AxisConfiguration |
URLBasedAxisConfigurator.getAxisConfiguration() |
AxisConfiguration |
FileSystemConfigurator.getAxisConfiguration()
First create a Deployment engine, use that to create an AxisConfiguration
|
AxisModule |
DeploymentEngine.getModule(String moduleName) |
protected static boolean |
DeploymentEngine.isServiceGroupReadyToDeploy(AxisServiceGroup serviceGroup,
ArrayList serviceList,
URL serviceLocation,
DeploymentFileData currentDeploymentFile,
AxisConfiguration axisConfig)
Performs a check routine, in order to identify whether all the serviceGroup, service and
operation level modules are available.
|
static AxisServiceGroup |
DeploymentEngine.loadServiceGroup(File serviceFile,
ConfigurationContext configCtx) |
void |
DeploymentLifeCycleListener.postDeploy(ConfigurationContext configurationContext)
calls after starting the configuration context to resume any activity.
|
void |
DeploymentLifeCycleListener.preDeploy(AxisConfiguration axisConfig)
calls before creating the configuration context to do any initializing work.
|
Constructor and Description |
---|
FileSystemConfigurator(String repoLocation,
String axis2xml)
Load an AxisConfiguration from the repository directory specified
|
URLBasedAxisConfigurator(URL axis2xml,
URL repository) |
Modifier and Type | Method and Description |
---|---|
ArrayList<AxisService> |
ArchiveReader.buildServiceGroup(InputStream zin,
DeploymentFileData currentFile,
AxisServiceGroup axisServiceGroup,
HashMap<String,AxisService> wsdlServices,
ConfigurationContext configCtx) |
ArrayList<AxisService> |
ArchiveReader.processServiceGroup(String filename,
DeploymentFileData currentFile,
AxisServiceGroup axisServiceGroup,
boolean extractService,
HashMap<String,AxisService> wsdlServices,
ConfigurationContext configCtx)
Extracts Service XML files and builds the service groups.
|
void |
DeploymentFileData.setClassLoader(boolean isDirectory,
ClassLoader parent,
File file,
boolean isChildFirstClassLoading) |
Modifier and Type | Method and Description |
---|---|
static void |
Utils.addEndpointsToService(AxisService axisService) |
static void |
Utils.addEndpointsToService(AxisService axisService,
AxisConfiguration axisConfiguration) |
static void |
Utils.addFlowHandlers(Flow flow,
ClassLoader clsLoader) |
static void |
Utils.deployModuleServices(AxisModule module,
ConfigurationContext configCtx)
Modules can contain services in some cases.
|
static AxisOperation |
Utils.getAxisOperationForJmethod(Method method) |
void |
PhasesInfo.setOperationPhases(AxisOperation axisOperation) |
Modifier and Type | Method and Description |
---|---|
void |
InOnlyAxisOperation.addFaultMessageContext(MessageContext msgContext,
OperationContext opContext) |
abstract void |
AxisOperation.addFaultMessageContext(MessageContext msgContext,
OperationContext opContext) |
void |
TwoChannelAxisOperation.addFaultMessageContext(MessageContext msgContext,
OperationContext opContext) |
void |
OutOnlyAxisOperation.addFaultMessageContext(MessageContext msgContext,
OperationContext opContext) |
void |
InOnlyAxisOperation.addMessageContext(MessageContext msgContext,
OperationContext opContext) |
abstract void |
AxisOperation.addMessageContext(MessageContext msgContext,
OperationContext opContext)
Adds a message context into an operation context.
|
void |
OutInAxisOperation.addMessageContext(MessageContext msgContext,
OperationContext opContext) |
void |
OutOnlyAxisOperation.addMessageContext(MessageContext msgContext,
OperationContext opContext) |
void |
InOutAxisOperation.addMessageContext(MessageContext msgContext,
OperationContext opContext) |
void |
AxisModule.addParameter(Parameter param) |
void |
HandlerDescription.addParameter(Parameter param)
Add a Parameter
|
void |
TransportOutDescription.addParameter(Parameter param)
Method addParameter.
|
void |
AxisDescription.addParameter(Parameter param) |
void |
ModuleConfiguration.addParameter(Parameter param) |
void |
ParameterInclude.addParameter(Parameter param)
Method addParameter.
|
void |
TransportInDescription.addParameter(Parameter param)
Method addParameter.
|
void |
AxisDescription.addParameter(String name,
Object value) |
void |
AxisServiceGroup.addService(AxisService service) |
void |
AxisDescription.applyPolicy()
Applies the policies on the Description Hierarchy recursively.
|
void |
AxisDescription.applyPolicy(org.apache.neethi.Policy policy)
This method sets the policy as the default of this AxisDescription instance.
|
static AxisService |
AxisService.createClientSideAxisService(javax.wsdl.Definition wsdlDefinition,
javax.xml.namespace.QName wsdlServiceName,
String portName,
Options options) |
static AxisService |
AxisService.createClientSideAxisService(URL wsdlURL,
javax.xml.namespace.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 |
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 |
AxisService.createService(String implClass,
AxisConfiguration axisConfiguration,
Map messageReceiverClassMap,
String targetNamespace,
String schemaNamespace,
ClassLoader loader)
messageReceiverClassMap will hold the MessageReceivers for given meps.
|
static AxisService |
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.
|
void |
AxisModule.deserializeParameters(org.apache.axiom.om.OMElement parameterElement) |
void |
HandlerDescription.deserializeParameters(org.apache.axiom.om.OMElement parameterElement) |
void |
TransportOutDescription.deserializeParameters(org.apache.axiom.om.OMElement parameterElement) |
void |
AxisDescription.deserializeParameters(org.apache.axiom.om.OMElement parameterElement) |
void |
ModuleConfiguration.deserializeParameters(org.apache.axiom.om.OMElement parameterElement) |
void |
ParameterIncludeImpl.deserializeParameters(org.apache.axiom.om.OMElement parameters)
Since at runtime it parameters may be modified
to get the original state this method can be used
|
void |
ParameterInclude.deserializeParameters(org.apache.axiom.om.OMElement parameterElement) |
void |
TransportInDescription.deserializeParameters(org.apache.axiom.om.OMElement parameterElement) |
void |
AxisDescription.disengageModule(AxisModule module) |
void |
AxisEndpoint.engageModule(AxisModule axisModule) |
void |
AxisBinding.engageModule(AxisModule axisModule) |
void |
AxisBindingOperation.engageModule(AxisModule axisModule) |
void |
AxisDescription.engageModule(AxisModule axisModule)
Engage a Module at this level
|
void |
AxisBindingMessage.engageModule(AxisModule axisModule) |
void |
AxisDescription.engageModule(AxisModule axisModule,
AxisDescription source)
Engage a Module at this level, keeping track of which level the engage was originally called
from.
|
OperationContext |
AxisOperation.findForExistingOperationContext(MessageContext msgContext)
Returns as existing OperationContext related to this message if one exists.
|
OperationContext |
AxisOperation.findOperationContext(MessageContext msgContext,
ServiceContext serviceContext)
Finds an OperationContext for an incoming message.
|
org.apache.axiom.om.OMElement |
AxisService2WSDL20.generateInterfaceOperationElement(AxisOperation axisOperation,
org.apache.axiom.om.OMNamespace wsdl,
org.apache.axiom.om.OMNamespace tns,
org.apache.axiom.om.OMNamespace wsdlx,
org.apache.axiom.om.OMNamespace wrpc)
Generates the interface Operation element.
|
static AxisOperation |
AxisOperationFactory.getAxisOperation(int mepURI) |
Data[] |
AxisService.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 |
AxisService.getDataLocator(LocatorType locatorType,
String dialect) |
AxisDataLocator |
AxisService.getGlobalDataLocator(String dialect) |
static AxisOperation |
AxisOperationFactory.getOperationDescription(String mepURI) |
AxisService |
AxisServiceGroup.getService(String name) |
static TransportInDescription |
ClientUtils.inferInTransport(AxisConfiguration ac,
Options options,
MessageContext msgCtxt) |
static TransportOutDescription |
ClientUtils.inferOutTransport(AxisConfiguration ac,
EndpointReference epr,
MessageContext msgctx) |
protected AxisDataLocator |
AxisService.loadDataLocator(String className) |
void |
AxisServiceGroup.onDisengage(AxisModule module) |
protected void |
AxisDescription.onDisengage(AxisModule module) |
void |
AxisService.onDisengage(AxisModule module) |
void |
AxisOperation.onEngage(AxisModule axisModule,
AxisDescription engager)
This is called when a module is engaged on this operation.
|
protected void |
AxisServiceGroup.onEngage(AxisModule module,
AxisDescription engager)
When a module gets engaged on a ServiceGroup, we have to engage it for each Service.
|
protected void |
AxisDescription.onEngage(AxisModule module,
AxisDescription engager) |
void |
AxisMessage.onEngage(AxisModule axisModule,
AxisDescription engager)
We do not support adding module operations when engaging a module to an AxisMessage
|
void |
AxisService.onEngage(AxisModule axisModule,
AxisDescription engager)
Engages a module.
|
List<AxisService> |
WSDL11ToAllAxisServicesBuilder.populateAllServices()
Public method to access the wsdl 1.1 file and create a List of AxisService objects.
|
List<AxisService> |
WSDL20ToAllAxisServicesBuilder.populateAllServices()
Public method to access the wsdl 2.0 file and create a List of AxisService objects.
|
abstract AxisService |
WSDLToAxisServiceBuilder.populateService() |
AxisService |
WSDL20ToAxisServiceBuilder.populateService() |
AxisService |
WSDL11ToAxisServiceBuilder.populateService()
Populates a given service.
|
void |
AxisService.printSchema(OutputStream out)
Prints the schema to the given output stream.
|
void |
AxisService.printUserWSDL(OutputStream out,
String wsdlName) |
void |
AxisService.printUserWSDL(OutputStream out,
String wsdlName,
String ip)
Prints the user WSDL.
|
void |
AxisService.printWSDL(OutputStream out)
Print the WSDL with a default URL.
|
void |
AxisService.printWSDL(OutputStream out,
String requestIP)
Produces a WSDL for this AxisService and prints it to the specified
OutputStream.
|
void |
AxisService.printWSDL2(OutputStream out)
Print the WSDL2.0 with a default URL.
|
void |
AxisService.printWSDL2(OutputStream out,
String requestIP)
Prints WSDL2.0 data for the service with the given host IP address.
|
int |
AxisService.printWSDL2(OutputStream out,
String requestIP,
String wsdl)
Produces a WSDL2 for this AxisService and prints it to the specified
OutputStream.
|
void |
AxisOperation.registerMessageContext(MessageContext msgContext,
OperationContext operationContext) |
void |
AxisOperation.registerOperationContext(MessageContext msgContext,
OperationContext operationContext) |
void |
AxisModule.removeParameter(Parameter param) |
void |
HandlerDescription.removeParameter(Parameter param) |
void |
TransportOutDescription.removeParameter(Parameter param) |
void |
AxisDescription.removeParameter(Parameter param) |
void |
ModuleConfiguration.removeParameter(Parameter param) |
void |
ParameterIncludeImpl.removeParameter(Parameter param) |
void |
ParameterInclude.removeParameter(Parameter param) |
void |
TransportInDescription.removeParameter(Parameter param) |
void |
AxisServiceGroup.removeService(String name) |
protected void |
WSDL20ToAxisServiceBuilder.setup()
contains all code which gathers non-wsdlService specific information from the
wsdl.
|
Modifier and Type | Method and Description |
---|---|
AxisOperation |
SOAPMessageBodyBasedOperationDispatcher.findOperation(AxisService service,
MessageContext messageContext) |
AxisOperation |
SOAPActionBasedDispatcher.findOperation(AxisService service,
MessageContext messageContext) |
AxisOperation |
RequestURIOperationDispatcher.findOperation(AxisService service,
MessageContext messageContext) |
AxisOperation |
AddressingBasedDispatcher.findOperation(AxisService service,
MessageContext messageContext) |
AxisOperation |
RequestURIBasedDispatcher.findOperation(AxisService service,
MessageContext messageContext) |
AxisOperation |
RequestURIBasedOperationDispatcher.findOperation(AxisService service,
MessageContext messageContext) |
AxisOperation |
HTTPLocationBasedDispatcher.findOperation(AxisService service,
MessageContext messageContext) |
abstract AxisOperation |
AbstractOperationDispatcher.findOperation(AxisService service,
MessageContext messageContext)
Called by Axis Engine to find the operation.
|
AxisOperation |
ActionBasedOperationDispatcher.findOperation(AxisService service,
MessageContext messageContext) |
AxisOperation |
RelatesToBasedOperationDispatcher.findOperation(AxisService service,
MessageContext messageContext) |
AxisOperation |
SOAPMessageBodyBasedDispatcher.findOperation(AxisService service,
MessageContext messageContext) |
AxisService |
SOAPActionBasedDispatcher.findService(MessageContext messageContext) |
AxisService |
RequestURIOperationDispatcher.findService(MessageContext messageContext) |
abstract AxisService |
AbstractServiceDispatcher.findService(MessageContext messageContext)
Called by Axis Engine to find the service.
|
AxisService |
RequestURIBasedServiceDispatcher.findService(MessageContext messageContext) |
AxisService |
AddressingBasedDispatcher.findService(MessageContext messageContext) |
AxisService |
SOAPMessageBodyBasedServiceDispatcher.findService(MessageContext messageContext) |
AxisService |
RequestURIBasedDispatcher.findService(MessageContext messageContext) |
AxisService |
RelatesToBasedServiceDispatcher.findService(MessageContext messageContext) |
AxisService |
HTTPLocationBasedDispatcher.findService(MessageContext messageContext) |
AxisService |
SOAPMessageBodyBasedDispatcher.findService(MessageContext messageContext) |
Handler.InvocationResponse |
AbstractServiceDispatcher.invoke(MessageContext msgctx) |
Handler.InvocationResponse |
AddressingBasedDispatcher.invoke(MessageContext msgctx) |
Handler.InvocationResponse |
AbstractOperationDispatcher.invoke(MessageContext msgctx) |
Modifier and Type | Method and Description |
---|---|
void |
ListenerManager.addListener(TransportInDescription trsIn,
boolean started)
Adds the listener described in the provided
TransportInDescription . |
void |
AxisConfiguration.addModule(AxisModule module)
Add an available Module to this configuration
|
void |
AxisConfiguration.addService(AxisService service)
Add an AxisService to our global configuration.
|
void |
AxisConfiguration.addServiceGroup(AxisServiceGroup axisServiceGroup) |
void |
AxisConfiguration.addServiceToExistingServiceGroup(AxisService axisService,
String serviceGroupName)
This method is used to add a service to an existing active service group in the axis configuration
|
void |
AxisConfiguration.addToAllServicesMap(AxisService axisService) |
void |
AxisConfiguration.addTransportIn(TransportInDescription transport)
Add an incoming transport description (i.e.
|
void |
AxisConfiguration.addTransportOut(TransportOutDescription transport)
Add an outgoing transport description (i.e.
|
void |
Phase.checkPostConditions(MessageContext msgContext)
Confirm that all post-conditions of this Phase are met.
|
void |
DispatchPhase.checkPostConditions(MessageContext msgContext) |
void |
Phase.checkPreconditions(MessageContext msgContext)
Check the preconditions for a Phase.
|
protected ConfigurationContext |
AxisServer.createDefaultConfigurationContext()
Users extending this class can override this method to supply a custom ConfigurationContext
|
static MessageContext |
AxisEngine.createFaultMessageContext(MessageContext processingContext,
Throwable e)
Deprecated.
(post 1.1 branch)
|
void |
AxisServer.deployService(String serviceClassName)
Will make Java class into a web service
|
void |
ListenerManager.destroy() |
void |
AxisConfiguration.engageGlobalModules()
Engage all the previously added global modules.
|
void |
AxisConfigurator.engageGlobalModules()
Engages the global modules specified in the configuration
|
void |
AxisConfiguration.engageModule(javax.xml.namespace.QName moduleref)
Deprecated.
Please use the String version instead
|
void |
AxisConfiguration.engageModule(String moduleref)
Engages the default module version corresponding to given module name ,
or if the module name contains version number in it then it will engage
the correct module.
|
void |
AxisConfiguration.engageModule(String moduleName,
String versionID)
Engages a module using given name and its version ID.
|
abstract AxisOperation |
AbstractDispatcher.findOperation(AxisService service,
MessageContext messageContext)
Called by Axis Engine to find the operation.
|
abstract AxisService |
AbstractDispatcher.findService(MessageContext messageContext)
Called by Axis Engine to find the service.
|
AxisConfiguration |
AxisConfigurator.getAxisConfiguration()
Configurationcontextfactory will invoke this method to get the AxisConfiguration
|
ConfigurationContext |
AxisServer.getConfigurationContext()
Creates a default configuration context if one is not set already via setConfigurationContext
|
EndpointReference |
ListenerManager.getEPRforService(String serviceName,
String opName,
String transportName)
To get an EPR for a given service
|
Object |
ObjectSupplier.getObject(Class clazz)
If someone want to write service impl class with interface
being there method parameter , then at the time of deserilization
this method will provide the impl class for that interface.
|
Object |
DefaultObjectSupplier.getObject(Class clazz) |
AxisService |
AxisConfiguration.getService(String name)
Method getService.
|
static void |
DependencyManager.initService(ServiceGroupContext serviceGroupContext)
To init all the services in application scope
|
static void |
DependencyManager.initServiceClass(Object obj,
ServiceContext serviceContext)
Deprecated.
please use initServiceObject()
|
static void |
DependencyManager.initServiceObject(Object obj,
ServiceContext serviceContext)
Initialize a new service object.
|
void |
AxisConfiguration.insertPhase(Deployable d,
int flow)
This method can be used to insert a phase at the runtime for a given location
And the relative location can be specified by beforePhase and afterPhase.
|
Handler.InvocationResponse |
Phase.invoke(MessageContext msgctx)
Invoke all the handlers in this Phase
|
Handler.InvocationResponse |
Handler.invoke(MessageContext msgContext)
This method will be called on each registered handler when a message
needs to be processed.
|
Handler.InvocationResponse |
AbstractDispatcher.invoke(MessageContext msgctx) |
Handler.InvocationResponse |
InstanceDispatcher.invoke(MessageContext msgContext)
Deprecated.
This doesn't do anything, as the functionality is now in DispatchPhase.checkPostConditions()
The class remains for backwards compatibility of axis2.xml files, but it should go away after
1.3.
|
void |
AxisConfiguration.onDisengage(AxisModule module)
To dis-engage a module from the system.
|
void |
AxisConfiguration.onEngage(AxisModule module,
AxisDescription engager) |
int |
Pingable.ping() |
void |
MessageReceiver.receive(MessageContext messageCtx) |
static Handler.InvocationResponse |
AxisEngine.receive(MessageContext msgContext)
This methods represents the inflow of the Axis, this could be either at the server side or the client side.
|
void |
AxisConfiguration.removeService(String name)
Remove a service.
|
AxisServiceGroup |
AxisConfiguration.removeServiceGroup(String serviceGroupName) |
static Handler.InvocationResponse |
AxisEngine.resume(MessageContext msgctx)
Resume processing of a message.
|
static Handler.InvocationResponse |
AxisEngine.resumeReceive(MessageContext msgContext)
If the msgConetext is puased and try to invoke then
first invoke the phase list and after the message receiver
|
static Handler.InvocationResponse |
AxisEngine.resumeSend(MessageContext msgContext)
To resume the invocation at the send path , this is neened since it is require to call
TransportSender at the end
|
static void |
AxisEngine.resumeSendFault(MessageContext msgContext)
here we assume that it is resume from an operation level handler
|
static void |
AxisEngine.send(MessageContext msgContext)
This methods represents the outflow of the Axis, this could be either at the server side or the client side.
|
static void |
AxisEngine.sendFault(MessageContext msgContext)
Sends the SOAP Fault to another SOAP node.
|
protected void |
AxisServer.start()
Will create a configuration context from the avialable data and then it
will start the listener manager
|
void |
AxisConfiguration.startService(String serviceName) |
void |
AxisServer.stop()
Stop the server, automatically terminates the listener manager as well.
|
void |
ListenerManager.stop()
Stop all the transports and notify modules of shutdown.
|
void |
AxisConfiguration.stopService(String serviceName) |
Modifier and Type | Method and Description |
---|---|
abstract Handler.InvocationResponse |
AbstractTemplatedHandler.doInvoke(MessageContext msgCtx)
This should implement the actual handler invocation logic.
|
Handler.InvocationResponse |
AbstractTemplatedHandler.invoke(MessageContext msgContext)
Implements the separation of the conditional check and the actual logic
|
abstract boolean |
AbstractTemplatedHandler.shouldInvoke(MessageContext msgCtx)
This method should implement the conditional check of the handler to decide whether this
particular message needs to be handled by me
|
Modifier and Type | Method and Description |
---|---|
void |
Module.applyPolicy(org.apache.neethi.Policy policy,
AxisDescription axisDescription)
Evaluates specified policy for the specified AxisDescription.
|
void |
Module.engageNotify(AxisDescription axisDescription)
When engaging this module to some service or operation , module will be notify by calling this
method there module author can validate , add policy and do any thing that he want , and he can
refuse the engage as well
|
void |
Module.init(ConfigurationContext configContext,
AxisModule module) |
void |
Module.shutdown(ConfigurationContext configurationContext) |
Modifier and Type | Class and Description |
---|---|
class |
PhaseException
Class PhaseException
|
Modifier and Type | Method and Description |
---|---|
void |
ServerCallback.handleFault(AxisFault fault) |
Modifier and Type | Method and Description |
---|---|
org.apache.axiom.soap.SOAPFactory |
AbstractMessageReceiver.getSOAPFactory(MessageContext msgContext) |
protected Object |
AbstractMessageReceiver.getTheImplementationObject(MessageContext msgContext)
Retrieve the implementation object.
|
void |
ServerCallback.handleFault(AxisFault fault) |
void |
ServerCallback.handleResult(MessageContext result) |
protected abstract void |
AbstractMessageReceiver.invokeBusinessLogic(MessageContext messageCtx)
Do the actual work of the MessageReceiver.
|
void |
AbstractInOutSyncMessageReceiver.invokeBusinessLogic(MessageContext msgContext)
Deprecated.
|
void |
AbstractInOutMessageReceiver.invokeBusinessLogic(MessageContext msgContext) |
void |
RawXMLINOnlyMessageReceiver.invokeBusinessLogic(MessageContext msgContext)
Invokes the business logic invocation on the service implementation class
|
abstract void |
AbstractInOutSyncMessageReceiver.invokeBusinessLogic(MessageContext inMessage,
MessageContext outMessage)
Deprecated.
|
abstract void |
AbstractInOutMessageReceiver.invokeBusinessLogic(MessageContext inMessage,
MessageContext outMessage) |
void |
RawXMLINOutMessageReceiver.invokeBusinessLogic(MessageContext msgContext,
MessageContext newmsgContext)
Invokes the bussiness logic invocation on the service implementation class
|
protected Object |
AbstractMessageReceiver.makeNewServiceObject(MessageContext msgContext)
Create a new service object.
|
void |
RawXMLINOutAsyncMessageReceiver.receive(MessageContext messageCtx)
Deprecated.
|
void |
AbstractMessageReceiver.receive(MessageContext messageCtx) |
void |
AbstractInOutAsyncMessageReceiver.receive(MessageContext messageCtx)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
org.apache.axiom.om.OMElement |
RPCServiceClient.invokeBlocking(javax.xml.namespace.QName opName,
Object[] args)
Return value can be a single a object or an object array (itself an object) , but it is
difficulty to figure the return object correctly unless we have TyepMapping in the client
side too.
|
Object[] |
RPCServiceClient.invokeBlocking(javax.xml.namespace.QName opName,
Object[] args,
Class[] returnTypes) |
void |
RPCServiceClient.invokeNonBlocking(javax.xml.namespace.QName opName,
Object[] args,
AxisCallback callback)
Invoke the nonblocking/Asynchronous call
|
void |
RPCServiceClient.invokeNonBlocking(javax.xml.namespace.QName opName,
Object[] args,
Callback callback)
Deprecated.
Please use the AxisCallback interface rather than Callback, which has been deprecated
|
void |
RPCServiceClient.invokeRobust(javax.xml.namespace.QName opName,
Object[] args) |
Constructor and Description |
---|
RPCServiceClient() |
RPCServiceClient(ConfigurationContext configContext,
AxisService service) |
RPCServiceClient(ConfigurationContext configContext,
URL wsdlURL,
javax.xml.namespace.QName wsdlServiceName,
String portName) |
Modifier and Type | Method and Description |
---|---|
void |
RPCInOnlyMessageReceiver.invokeBusinessLogic(MessageContext inMessage) |
void |
RPCInOutAsyncMessageReceiver.invokeBusinessLogic(MessageContext inMessage,
MessageContext outMessage)
reflect and get the Java method - for each i'th param in the java method - get the first
child's i'th child -if the elem has an xsi:type attr then find the deserializer for it - if
not found, lookup deser for th i'th param (java type) - error if not found - deserialize &
save in an object array - end for
- invoke method and get the return value
- look up serializer for return value based on the value and type
- create response msg and add return value as grand child of
|
void |
RPCMessageReceiver.invokeBusinessLogic(MessageContext inMessage,
MessageContext outMessage)
reflect and get the Java method - for each i'th param in the java method - get the first
child's i'th child -if the elem has an xsi:type attr then find the deserializer for it - if
not found, lookup deser for th i'th param (java type) - error if not found - deserialize &
save in an object array - end for
- invoke method and get the return value
- look up serializer for return value based on the value and type
- create response msg and add return value as grand child of
|
static Object |
RPCUtil.invokeServiceClass(AxisMessage inAxisMessage,
Method method,
Object implObject,
String messageNameSpace,
org.apache.axiom.om.OMElement methodElement,
MessageContext inMessage) |
static Object[] |
RPCUtil.processRequest(org.apache.axiom.om.OMElement methodElement,
Method method,
ObjectSupplier objectSupplier) |
static Object[] |
RPCUtil.processRequest(org.apache.axiom.om.OMElement methodElement,
Method method,
ObjectSupplier objectSupplier,
String[] parameterNames) |
Modifier and Type | Method and Description |
---|---|
protected Object |
EJBMessageReceiver.makeNewServiceObject(MessageContext msgContext) |
protected Object |
EJBInOutAsyncMessageReceiver.makeNewServiceObject(MessageContext msgContext)
Deprecated.
|
protected static Object |
EJBUtil.makeNewServiceObject(MessageContext msgContext)
Return a object which implements the service.
|
protected Object |
EJBInOnlyMessageReceiver.makeNewServiceObject(MessageContext msgContext) |
void |
EJBInOutAsyncMessageReceiver.receive(MessageContext messageCtx)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Handler.InvocationResponse |
UnderstandAllHeadersHandler.invoke(MessageContext msgContext) |
Modifier and Type | Method and Description |
---|---|
void |
Lifecycle.init(ServiceContext context)
init() is called when a new instance of the implementing class has been created.
|
Modifier and Type | Method and Description |
---|---|
TransactionManager |
TransactionConfiguration.getTransactionManager() |
UserTransaction |
TransactionConfiguration.getUserTransaction() |
Modifier and Type | Method and Description |
---|---|
void |
RequestResponseTransport.signalFaultReady(AxisFault fault)
This will tell the transport to end a current wait by raising the given fault.
|
Modifier and Type | Method and Description |
---|---|
void |
RequestResponseTransport.acknowledgeMessage(MessageContext msgContext)
Notify the transport that a message should be acknowledged at this time.
|
void |
RequestResponseTransport.awaitResponse()
Pause execution and wait for a response message to be ready.
|
void |
TransportSender.cleanup(MessageContext msgContext)
Release resources associated with a given message context.
|
static org.apache.axiom.om.OMElement |
TransportUtils.createDocumentElement(String contentType,
MessageContext msgContext,
InputStream inStream) |
static org.apache.axiom.soap.SOAPEnvelope |
TransportUtils.createSOAPMessage(MessageContext msgContext) |
static org.apache.axiom.soap.SOAPEnvelope |
TransportUtils.createSOAPMessage(MessageContext msgContext,
boolean detach)
This method will create a SOAPEnvelope based on the InputStream stored on
the MessageContext.
|
static org.apache.axiom.soap.SOAPEnvelope |
TransportUtils.createSOAPMessage(MessageContext msgContext,
InputStream inStream,
String contentType)
Objective of this method is to capture the SOAPEnvelope creation logic
and make it a common for all the transports and to in/out flows.
|
static void |
TransportUtils.detachInputStream(MessageContext msgContext)
This method can be called by components wishing to detach the DetachableInputStream
object that is present on the MessageContext.
|
byte[] |
MessageFormatter.getBytes(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format) |
EndpointReference |
TransportListener.getEPRForService(String serviceName,
String ip)
Deprecated.
Transport listener can expose more than EPRs. So this method should return an array of EPRs.
Deprecating this method for now and please use getEPRsForServices instead.
|
EndpointReference[] |
TransportListener.getEPRsForService(String serviceName,
String ip)
Get the endpoint references for a given service.
|
static MessageFormatter |
TransportUtils.getMessageFormatter(MessageContext msgContext)
Initial work for a builder selector which selects the builder for a given message format based on the the content type of the recieved message.
|
URL |
MessageFormatter.getTargetAddress(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
URL targetURL)
Some message formats may want to alter the target url.
|
void |
TransportListener.init(ConfigurationContext axisConf,
TransportInDescription transprtIn) |
void |
TransportSender.init(ConfigurationContext confContext,
TransportOutDescription transportOut)
Initialize
|
void |
TransportListener.start() |
void |
TransportListener.stop() |
static void |
TransportUtils.writeMessage(MessageContext msgContext,
OutputStream out) |
void |
MessageFormatter.writeTo(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
OutputStream outputStream,
boolean preserve)
To support deffered writing transports as in http chunking..
|
Modifier and Type | Method and Description |
---|---|
byte[] |
SOAPMessageFormatter.getBytes(MessageContext msgCtxt,
org.apache.axiom.om.OMOutputFormat format) |
byte[] |
ApplicationXMLFormatter.getBytes(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format) |
byte[] |
MultipartFormDataFormatter.getBytes(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format) |
byte[] |
XFormURLEncodedFormatter.getBytes(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format) |
byte[] |
ApplicationXMLFormatter.getBytes(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
boolean preserve)
Get the bytes for this message
|
URL |
SOAPMessageFormatter.getTargetAddress(MessageContext msgCtxt,
org.apache.axiom.om.OMOutputFormat format,
URL targetURL) |
URL |
ApplicationXMLFormatter.getTargetAddress(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
URL targetURL) |
URL |
MultipartFormDataFormatter.getTargetAddress(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
URL targetURL)
Some message formats may want to alter the target url.
|
URL |
XFormURLEncodedFormatter.getTargetAddress(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
URL targetURL) |
void |
SOAPMessageFormatter.writeTo(MessageContext msgCtxt,
org.apache.axiom.om.OMOutputFormat format,
OutputStream out,
boolean preserve) |
void |
ApplicationXMLFormatter.writeTo(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
OutputStream outputStream,
boolean preserve) |
void |
MultipartFormDataFormatter.writeTo(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
OutputStream outputStream,
boolean preserve)
To support deffered writing transports as in http chunking..
|
void |
XFormURLEncodedFormatter.writeTo(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
OutputStream outputStream,
boolean preserve) |
Modifier and Type | Method and Description |
---|---|
static URL |
URLTemplatingUtil.appendQueryParameters(MessageContext messageContext,
URL url)
Appends Query parameters to the URL
|
static URL |
URLTemplatingUtil.getTemplatedURL(URL targetURL,
MessageContext messageContext,
boolean detach)
Returns the templated URL given the original URL
|
Modifier and Type | Method and Description |
---|---|
void |
JavaTransportSender.cleanup(MessageContext msgContext) |
void |
JavaTransportSender.init(ConfigurationContext confContext,
TransportOutDescription transportOut) |
Handler.InvocationResponse |
JavaTransportSender.invoke(MessageContext msgContext) |
Modifier and Type | Method and Description |
---|---|
static AxisFault |
Utils.getInboundFaultFromMessageContext(MessageContext messageContext)
Get an AxisFault object to represent the SOAPFault in the SOAPEnvelope attached
to the provided MessageContext.
|
Modifier and Type | Method and Description |
---|---|
void |
CallbackReceiver.addCallback(String msgID,
AxisCallback callback) |
void |
CallbackReceiver.addCallback(String msgID,
Callback callback) |
static void |
ThreadContextMigratorUtil.addThreadContextMigrator(AxisConfiguration axisConfiguration,
String threadContextMigratorListID,
ThreadContextMigrator migrator)
Register a new ThreadContextMigrator.
|
static void |
ThreadContextMigratorUtil.addThreadContextMigrator(ConfigurationContext configurationContext,
String threadContextMigratorListID,
ThreadContextMigrator migrator)
Register a new ThreadContextMigrator.
|
static String |
WSDL20Util.applyURITemplating(MessageContext messageContext,
String rawURLString,
boolean detach)
This method is used to resolve httplocation property.
|
static boolean |
Utils.checkVersion(Version module1version,
Version module2version)
- if he trying to engage the same module then method will returen false
- else it will return true
|
static MessageContext |
MessageContextBuilder.createFaultMessageContext(MessageContext processingContext,
Throwable e)
This method is called to handle any error that occurs at inflow or outflow.
|
static MessageContext |
Utils.createOutMessageContext(MessageContext inMessageContext)
Deprecated.
(post1.1branch)
|
static MessageContext |
MessageContextBuilder.createOutMessageContext(MessageContext inMessageContext)
Creates a MessageContext for use with a non-fault response based on an request MessageContext
|
static Object |
Utils.createServiceObject(AxisService service)
Create a service object for a given service.
|
static AxisService |
Utils.createSimpleInOnlyService(javax.xml.namespace.QName serviceName,
MessageReceiver messageReceiver,
javax.xml.namespace.QName opName) |
static AxisService |
Utils.createSimpleService(javax.xml.namespace.QName serviceName,
MessageReceiver messageReceiver,
String className,
javax.xml.namespace.QName opName) |
static AxisService |
Utils.createSimpleService(javax.xml.namespace.QName serviceName,
String className,
javax.xml.namespace.QName opName) |
static AxisService |
Utils.createSimpleServiceforClient(javax.xml.namespace.QName serviceName,
MessageReceiver messageReceiver,
String className,
javax.xml.namespace.QName opName) |
static AxisService |
Utils.createSimpleServiceforClient(javax.xml.namespace.QName serviceName,
String className,
javax.xml.namespace.QName opName) |
static ServiceContext |
Utils.fillContextInformation(AxisService axisService,
ConfigurationContext configurationContext) |
static org.apache.axiom.om.OMElement |
WSDLSerializationUtil.generateServiceElement(org.apache.axiom.om.OMFactory omFactory,
org.apache.axiom.om.OMNamespace wsdl,
org.apache.axiom.om.OMNamespace tns,
AxisService axisService,
boolean disableREST,
boolean disableSOAP12,
boolean disableSOAP11,
String serviceName)
Generates a default service element
|
static org.apache.axiom.om.OMElement |
WSDLSerializationUtil.generateServiceElement(org.apache.axiom.om.OMFactory omFactory,
org.apache.axiom.om.OMNamespace wsdl,
org.apache.axiom.om.OMNamespace tns,
AxisService axisService,
boolean disableREST,
boolean disableSOAP12,
boolean disableSOAP11,
String[] eprs,
String serviceName)
Generates a default service element
|
static Class<?> |
Utils.getServiceClass(AxisService service)
Get the service class for a given service.
|
void |
ThreadContextMigrator.migrateContextToThread(MessageContext messageContext)
This method will be invoked when the processing of the message is
guaranteed to be on the thread of execution that will be used in
user space.
|
void |
ThreadContextMigrator.migrateThreadToContext(MessageContext messageContext)
This method will be invoked when the processing of the message is
guaranteed to still be on the thread of execution that was used in
user space.
|
static void |
ThreadContextMigratorUtil.performMigrationToContext(String threadContextMigratorListID,
MessageContext msgContext)
Activate any registered ThreadContextMigrators to move info from the
thread of execution into the context.
|
static void |
ThreadContextMigratorUtil.performMigrationToThread(String threadContextMigratorListID,
MessageContext msgContext)
Activate any registered ThreadContextMigrators to move context info
to the thread of execution.
|
void |
CallbackReceiver.receive(MessageContext msgContext) |
Modifier and Type | Method and Description |
---|---|
void |
ThreadPool.safeShutDown()
This is the recommended shutdown method for the thread pool
This will wait till all the workers that are already handed over to the
thread pool get executed.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Document |
JAXWSEmitter.createDOMDocumentForSEI()
Creates the XML model for the Service Endpoint interface
|
protected Document |
JAXWS20Emitter.createDOMDocumentForSEI()
Creates the XML model for the Service Endpoint interface
|
protected abstract Document |
JAXWSEmitter.createDOMDocumentForSEIImpl()
Creates the XML model for the Service Endpoint interface Implementation class
|
protected Document |
JAXWS20Emitter.createDOMDocumentForSEIImpl()
Creates the XML model for the Service Endpoint interface
|
Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.