public abstract class CommonSOAPBinding extends Object implements CommonBinding
| Modifier and Type | Field and Description |
|---|---|
protected HeaderSource |
headerSource |
protected org.jboss.logging.Logger |
log |
static String |
SOAP11HTTP_BINDING
A constant representing the identity of the SOAP 1.1 over HTTP binding.
|
static String |
SOAP12HTTP_BINDING
A constant representing the identity of the SOAP 1.2 over HTTP binding.
|
| Constructor and Description |
|---|
CommonSOAPBinding()
The SOAP encoded Array name
|
| Modifier and Type | Method and Description |
|---|---|
SOAPMessage |
bindFaultMessage(Exception ex)
bind an exception to a fault message
|
SOAPMessage |
bindRequestMessage(OperationMetaData opMetaData,
EndpointInvocation epInv)
On the client side, generate the payload from IN parameters.
|
SOAPMessage |
bindResponseMessage(OperationMetaData opMetaData,
EndpointInvocation epInv)
On the server side, generate the payload from OUT parameters.
|
void |
checkMustUnderstand(OperationMetaData opMetaData) |
protected abstract SOAPMessage |
createFaultMessageFromException(Exception ex) |
protected abstract SOAPMessage |
createMessage(OperationMetaData opMetaData)
Create the message
|
MessageFactory |
getMessageFactory() |
SOAPFactory |
getSOAPFactory() |
void |
setHeaderSource(HeaderSource source) |
abstract void |
setSOAPActionHeader(OperationMetaData opMetaData,
SOAPMessage reqMessage)
Override to set the SOAPAction header
|
protected abstract void |
throwFaultException(SOAPFaultImpl fault) |
EndpointInvocation |
unbindRequestMessage(OperationMetaData opMetaData,
SOAPMessage payload)
On the server side, extract the IN parameters from the payload and populate an Invocation object
|
void |
unbindResponseMessage(OperationMetaData opMetaData,
SOAPMessage payload,
EndpointInvocation epInv)
On the client side, extract the OUT parameters from the payload and return them to the client.
|
protected abstract void |
verifyUnderstoodHeader(SOAPHeaderElement element) |
protected org.jboss.logging.Logger log
protected HeaderSource headerSource
public static final String SOAP11HTTP_BINDING
public static final String SOAP12HTTP_BINDING
public MessageFactory getMessageFactory()
public SOAPFactory getSOAPFactory()
protected abstract SOAPMessage createMessage(OperationMetaData opMetaData) throws SOAPException
SOAPExceptionpublic SOAPMessage bindRequestMessage(OperationMetaData opMetaData, EndpointInvocation epInv) throws BindingException
bindRequestMessage in interface CommonBindingBindingExceptionpublic abstract void setSOAPActionHeader(OperationMetaData opMetaData, SOAPMessage reqMessage)
public EndpointInvocation unbindRequestMessage(OperationMetaData opMetaData, SOAPMessage payload) throws BindingException
unbindRequestMessage in interface CommonBindingBindingExceptionpublic SOAPMessage bindResponseMessage(OperationMetaData opMetaData, EndpointInvocation epInv) throws BindingException
bindResponseMessage in interface CommonBindingBindingExceptionpublic void unbindResponseMessage(OperationMetaData opMetaData, SOAPMessage payload, EndpointInvocation epInv) throws BindingException
unbindResponseMessage in interface CommonBindingBindingExceptionpublic SOAPMessage bindFaultMessage(Exception ex)
CommonBindingbindFaultMessage in interface CommonBindingprotected abstract SOAPMessage createFaultMessageFromException(Exception ex)
protected abstract void throwFaultException(SOAPFaultImpl fault) throws Exception
Exceptionprotected abstract void verifyUnderstoodHeader(SOAPHeaderElement element) throws Exception
Exceptionpublic void checkMustUnderstand(OperationMetaData opMetaData) throws Exception
Exceptionpublic void setHeaderSource(HeaderSource source)
setHeaderSource in interface CommonBindingCopyright © 2012 JBoss, by Red Hat. All Rights Reserved.