org.jboss.soa.esb.actions.soap
Class JBossWSAdapter
java.lang.Object
org.jboss.soa.esb.actions.AbstractActionLifecycle
org.jboss.soa.esb.actions.AbstractActionPipelineProcessor
org.jboss.soa.esb.actions.soap.JBossWSAdapter
- All Implemented Interfaces:
- ActionLifecycle, ActionPipelineProcessor
@Publish(value=JBossWSAdapterContractPublisher.class)
public class JBossWSAdapter
- extends AbstractActionPipelineProcessor
JBoss Webservices endpoint adapter.
- Author:
- tom.fennelly@jboss.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JBOSSWS_ENDPOINT
public static final java.lang.String JBOSSWS_ENDPOINT
- See Also:
- Constant Field Values
JBossWSAdapter
public JBossWSAdapter(ConfigTree config)
throws ConfigurationException
- Public constructor.
- Parameters:
config - Configuration.
- Throws:
ConfigurationException - "jbossws-endpoint" not specified.
process
public Message process(Message message)
throws ActionProcessingException
- Process the SOAP message.
Invokes the JBossWS endpoint and writes the SOAP response back into the message payload.
- Parameters:
message - The SOAP request message.
- Returns:
- The SOAP response message.
- Throws:
ActionProcessingException
setMessage
public static void setMessage(Message message)
getMessage
public static Message getMessage()
getServiceEndpoint
protected static org.jboss.ws.server.ServiceEndpoint getServiceEndpoint(java.lang.String endpointName)
- Get the Service Endpoint based on the endpoint name.
- Parameters:
endpointName - Service Endpoint name.
- Returns:
- The service endpoint, or null if the endpoint is not found.