org.jboss.soa.esb.actions.soap
Class CXFSOAPProcessor

java.lang.Object
  extended by org.jboss.soa.esb.actions.soap.AbstractSOAPProcessor
      extended by org.jboss.soa.esb.actions.soap.CXFSOAPProcessor

public class CXFSOAPProcessor
extends AbstractSOAPProcessor

JBossWS-CXF SOAP Processor.

Author:
Magesh Kumar B

Field Summary
 
Fields inherited from class org.jboss.soa.esb.actions.soap.AbstractSOAPProcessor
httpResponseStatusEnabled, jbossws_endpoint, payloadProxy
 
Constructor Summary
CXFSOAPProcessor(ConfigTree config)
           
 
Method Summary
protected static byte[] getSoapMessageBytes(javax.xml.soap.SOAPMessage soapMessage)
          Convert the SOAPMessage to bytes.
 Message process(Message message)
          Process the SOAP message.
 
Methods inherited from class org.jboss.soa.esb.actions.soap.AbstractSOAPProcessor
getSOAPMessagePayload
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CXFSOAPProcessor

public CXFSOAPProcessor(ConfigTree config)
                 throws ConfigurationException
Throws:
ConfigurationException
Method Detail

process

public Message process(Message message)
                throws ActionProcessingException
Process the SOAP message.

Invokes the JBossWS-CXF endpoint over HTTP and writes the SOAP response back into the message payload.

Specified by:
process in class AbstractSOAPProcessor
Parameters:
message - The ESB Aware (normalized) SOAP request message.
Returns:
The SOAP response message.
Throws:
ActionProcessingException

getSoapMessageBytes

protected static byte[] getSoapMessageBytes(javax.xml.soap.SOAPMessage soapMessage)
                                     throws ActionProcessingException
Convert the SOAPMessage to bytes.

Parameters:
soapMessage - The SOAP message.
Returns:
bytes.
Throws:
ActionProcessingException