public interface AddressingVersion
Modifier and Type | Method and Description |
---|---|
void |
addAddressingHeaders(SoapMessage message,
MessageAddressingProperties map)
Adds addressing SOAP headers to the given message, using the given
MessageAddressingProperties . |
SoapFault |
addInvalidAddressingHeaderFault(SoapMessage message)
Adds a Invalid Addressing Header fault to the given message.
|
SoapFault |
addMessageAddressingHeaderRequiredFault(SoapMessage message)
Adds a Message Addressing Header Required fault to the given message.
|
MessageAddressingProperties |
getMessageAddressingProperties(SoapMessage message)
Returns the
MessageAddressingProperties for the given
message. |
boolean |
hasAnonymousAddress(EndpointReference epr)
Indicates whether the given endpoint reference has a Anonymous address.
|
boolean |
hasNoneAddress(EndpointReference epr)
Indicates whether the given endpoint reference has a None address.
|
boolean |
hasRequiredProperties(MessageAddressingProperties map)
Indicates whether the given
MessageAddressingProperties has all required properties. |
boolean |
understands(SoapHeaderElement headerElement)
Given a
SoapHeaderElement , return whether or not this version understands it. |
MessageAddressingProperties getMessageAddressingProperties(SoapMessage message)
MessageAddressingProperties
for the given
message.message
- the message to find the map forvoid addAddressingHeaders(SoapMessage message, MessageAddressingProperties map)
MessageAddressingProperties
.message
- the message to add the headers tomap
- the message addressing propertiesboolean understands(SoapHeaderElement headerElement)
SoapHeaderElement
, return whether or not this version understands it.headerElement
- the headertrue
if understood, false
otherwiseboolean hasRequiredProperties(MessageAddressingProperties map)
MessageAddressingProperties
has all required properties.true
if the to and action properties have been set, and - if a reply or fault endpoint has
been set - also checks for the message idboolean hasAnonymousAddress(EndpointReference epr)
boolean hasNoneAddress(EndpointReference epr)
SoapFault addInvalidAddressingHeaderFault(SoapMessage message)
SoapFault addMessageAddressingHeaderRequiredFault(SoapMessage message)