org.ow2.petals.binding.soap.listener.incoming
Class SOAPProcessor

java.lang.Object
  extended by org.ow2.petals.binding.soap.listener.incoming.RequestProcessor
      extended by 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, org.ow2.petals.probes.KeyedCounterProbeWithExecutionStatus<IncomingServiceKey> probeWebServiceInvocations, org.ow2.petals.probes.KeyedResponseTimeProbe<IncomingServiceKey> probeHttpRequestsInvocationsResponseTime, Logger log)
           
 
Method Summary
protected  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.
 
Methods inherited from class org.ow2.petals.binding.soap.listener.incoming.RequestProcessor
closeMessageExchange, createMessageExchange, createMessageExchange, createSecuritySubject, getChannel, getLogger, handleFault, handleResponseAttachments, isSecuredService, processJBIResponse, retrieveOperationFromSOAPBody
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SOAPProcessor

public SOAPProcessor(org.ow2.petals.component.framework.AbstractComponent component,
                     javax.jbi.messaging.DeliveryChannel channel,
                     org.ow2.petals.probes.KeyedCounterProbeWithExecutionStatus<IncomingServiceKey> probeWebServiceInvocations,
                     org.ow2.petals.probes.KeyedResponseTimeProbe<IncomingServiceKey> probeHttpRequestsInvocationsResponseTime,
                     Logger log)
Parameters:
component -
channel -
probeWebServiceInvocations - The probe counting service invocations
log -
Method Detail

getProcessorName

protected 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:
the processor name

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,
                                                          UnsupportedEncodingException
Description copied from class: RequestProcessor
Process the request.

Specified by:
process in class RequestProcessor
Parameters:
inContext - the SOAP context
factory - the SOAP factory
Returns:
the out message context
Throws:
org.apache.axis2.AxisFault - the axis fault
UnsupportedEncodingException - the unsupported encoding exception


Copyright © 2005-2012 Petals Link (EBM Websourcing). All Rights Reserved.