org.ow2.petals.binding.soap.listener.incoming
Class SOAPProcessor
java.lang.Object
org.ow2.petals.binding.soap.listener.incoming.RequestProcessor
org.ow2.petals.binding.soap.listener.incoming.SOAPProcessor
public class SOAPProcessor
- extends RequestProcessor
Processor to handle incoming SOAP messages.
Created on 14 févr. 08
- Since:
- Author:
- Christophe HAMERLING - eBM WebSourcing
|
Constructor Summary |
SOAPProcessor(org.ow2.petals.component.framework.AbstractComponent component,
javax.jbi.messaging.DeliveryChannel channel,
java.util.logging.Logger log)
|
|
Method Summary |
protected java.lang.String |
getProcessorName()
Get the processor name. |
protected org.apache.axis2.context.MessageContext |
process(org.apache.axis2.context.MessageContext inContext,
org.apache.axiom.soap.SOAPFactory factory)
Process the request |
protected javax.xml.namespace.QName |
retrieveSOAPOperation(org.apache.axis2.context.MessageContext inContext,
java.lang.String soapAction,
PetalsAxisService axisService)
Return the operation according to the WSAAction SOAP attribute. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SOAPProcessor
public SOAPProcessor(org.ow2.petals.component.framework.AbstractComponent component,
javax.jbi.messaging.DeliveryChannel channel,
java.util.logging.Logger log)
- Parameters:
component - channel - log -
process
protected org.apache.axis2.context.MessageContext process(org.apache.axis2.context.MessageContext inContext,
org.apache.axiom.soap.SOAPFactory factory)
throws org.apache.axis2.AxisFault
- Description copied from class:
RequestProcessor
- Process the request
- Specified by:
process in class RequestProcessor
- Returns:
- the out message context
- Throws:
org.apache.axis2.AxisFault
retrieveSOAPOperation
protected javax.xml.namespace.QName retrieveSOAPOperation(org.apache.axis2.context.MessageContext inContext,
java.lang.String soapAction,
PetalsAxisService axisService)
- Return the operation according to the WSAAction SOAP attribute. If not
found in the WSA, get it from the SOAP body and the WSDL description (depending
if the style of the WSDL is rpc or document).
- Parameters:
inContext - SOAPrequest context
- Returns:
- operation as QName, null if no WSAAction is specified
getProcessorName
protected java.lang.String getProcessorName()
- Description copied from class:
RequestProcessor
- Get the processor name. This name MUST be unique ie two processors can
not have the same name !
- Specified by:
getProcessorName in class RequestProcessor
- Returns:
Copyright © 2005-2010 OW2 Consortium. All Rights Reserved.