|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AddressingVersion
Defines the contract for a specific version of the WS-Addressing specification.
Method Summary | |
---|---|
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. |
Method Detail |
---|
MessageAddressingProperties getMessageAddressingProperties(SoapMessage message)
MessageAddressingProperties
for the given
message.
message
- the message to find the map for
void 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 header
true
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)
|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |