public abstract class CommonSOAPBinding extends Object implements CommonBinding
Modifier and Type | Field and Description |
---|---|
protected HeaderSource |
headerSource |
protected 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 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
SOAPException
public SOAPMessage bindRequestMessage(OperationMetaData opMetaData, EndpointInvocation epInv) throws BindingException
bindRequestMessage
in interface CommonBinding
BindingException
public abstract void setSOAPActionHeader(OperationMetaData opMetaData, SOAPMessage reqMessage)
public EndpointInvocation unbindRequestMessage(OperationMetaData opMetaData, SOAPMessage payload) throws BindingException
unbindRequestMessage
in interface CommonBinding
BindingException
public SOAPMessage bindResponseMessage(OperationMetaData opMetaData, EndpointInvocation epInv) throws BindingException
bindResponseMessage
in interface CommonBinding
BindingException
public void unbindResponseMessage(OperationMetaData opMetaData, SOAPMessage payload, EndpointInvocation epInv) throws BindingException
unbindResponseMessage
in interface CommonBinding
BindingException
public SOAPMessage bindFaultMessage(Exception ex)
CommonBinding
bindFaultMessage
in interface CommonBinding
protected abstract SOAPMessage createFaultMessageFromException(Exception ex)
protected abstract void throwFaultException(SOAPFaultImpl fault) throws Exception
Exception
protected abstract void verifyUnderstoodHeader(SOAPHeaderElement element) throws Exception
Exception
public void checkMustUnderstand(OperationMetaData opMetaData) throws Exception
Exception
public void setHeaderSource(HeaderSource source)
setHeaderSource
in interface CommonBinding
Copyright © 2018 JBoss by Red Hat. All rights reserved.