Class Addressing200408
java.lang.Object
org.springframework.xml.transform.TransformerObjectSupport
org.springframework.ws.soap.addressing.version.AbstractAddressingVersion
org.springframework.ws.soap.addressing.version.Addressing200408
- All Implemented Interfaces:
AddressingVersion
Implements the August 2004 edition of the WS-Addressing specification. This version of
the specification is used by Microsoft's Web Services Enhancements (WSE) 3.0, and
supported by Axis 1 and 2, and XFire.
- Since:
- 1.5.0
- See Also:
-
Field Summary
Fields inherited from class org.springframework.xml.transform.TransformerObjectSupport
logger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAddressingHeaders
(SoapMessage message, MessageAddressingProperties map) Adds addressing SOAP headers to the given message, using the givenMessageAddressingProperties
.protected final URI
Returns the anonymous URI.protected final @Nullable EndpointReference
getDefaultReplyTo
(@Nullable EndpointReference from) Returns the default ReplyTo EPR.protected @Nullable URI
Returns the default To URI.protected final String
Returns the reason of the fault that indicates that a header is invalid.protected final QName
Returns the qualified name of the fault subcode that indicates that a header is invalid.protected final String
Returns the reason of the fault that indicates that a header is missing.protected final QName
Returns the qualified name of the fault subcode that indicates that a header is missing.protected final String
Returns the WS-Addressing namespace handled by this specification.protected final @Nullable URI
getNone()
Returns the none URI, ornull
if the spec does not define it.boolean
Indicates whether the givenMessageAddressingProperties
has all required properties.boolean
Indicates whether the wsa:To header is REQUIRED or not.toString()
Methods inherited from class org.springframework.ws.soap.addressing.version.AbstractAddressingVersion
addEndpointReference, addInvalidAddressingHeaderFault, addMessageAddressingHeaderRequiredFault, addReferenceNodes, getActionName, getAddressName, getFaultToName, getFromName, getMessageAddressingProperties, getMessageIdName, getNamespacePrefix, getReferenceParametersName, getReferencePropertiesName, getRelatesToName, getRelationshipTypeName, getReplyToName, getToName, hasAnonymousAddress, hasNoneAddress, understands
Methods inherited from class org.springframework.xml.transform.TransformerObjectSupport
createTransformer, getTransformerFactory, newTransformerFactory, setTransformerFactoryClass, transform
-
Constructor Details
-
Addressing200408
public Addressing200408()
-
-
Method Details
-
addAddressingHeaders
Description copied from interface:AddressingVersion
Adds addressing SOAP headers to the given message, using the givenMessageAddressingProperties
.- Specified by:
addAddressingHeaders
in interfaceAddressingVersion
- Overrides:
addAddressingHeaders
in classAbstractAddressingVersion
- Parameters:
message
- the message to add the headers tomap
- the message addressing properties
-
hasRequiredProperties
Description copied from interface:AddressingVersion
Indicates whether the givenMessageAddressingProperties
has all required properties.- Returns:
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 id
-
isToHeaderRequired
public boolean isToHeaderRequired()Description copied from interface:AddressingVersion
Indicates whether the wsa:To header is REQUIRED or not.- Returns:
true
if the wsa:To header of theAddressingVersion
is REQUIRED.
-
getAnonymous
Description copied from class:AbstractAddressingVersion
Returns the anonymous URI.- Specified by:
getAnonymous
in classAbstractAddressingVersion
-
getInvalidAddressingHeaderFaultReason
Description copied from class:AbstractAddressingVersion
Returns the reason of the fault that indicates that a header is invalid.- Specified by:
getInvalidAddressingHeaderFaultReason
in classAbstractAddressingVersion
-
getInvalidAddressingHeaderFaultSubcode
Description copied from class:AbstractAddressingVersion
Returns the qualified name of the fault subcode that indicates that a header is invalid.- Specified by:
getInvalidAddressingHeaderFaultSubcode
in classAbstractAddressingVersion
-
getMessageAddressingHeaderRequiredFaultReason
Description copied from class:AbstractAddressingVersion
Returns the reason of the fault that indicates that a header is missing.- Specified by:
getMessageAddressingHeaderRequiredFaultReason
in classAbstractAddressingVersion
-
getMessageAddressingHeaderRequiredFaultSubcode
Description copied from class:AbstractAddressingVersion
Returns the qualified name of the fault subcode that indicates that a header is missing.- Specified by:
getMessageAddressingHeaderRequiredFaultSubcode
in classAbstractAddressingVersion
-
getNamespaceUri
Description copied from class:AbstractAddressingVersion
Returns the WS-Addressing namespace handled by this specification.- Specified by:
getNamespaceUri
in classAbstractAddressingVersion
-
getDefaultTo
Description copied from class:AbstractAddressingVersion
Returns the default To URI.- Specified by:
getDefaultTo
in classAbstractAddressingVersion
-
getDefaultReplyTo
Description copied from class:AbstractAddressingVersion
Returns the default ReplyTo EPR. Can be based on the From EPR, or the anonymous URI.- Specified by:
getDefaultReplyTo
in classAbstractAddressingVersion
-
getNone
Description copied from class:AbstractAddressingVersion
Returns the none URI, ornull
if the spec does not define it.- Specified by:
getNone
in classAbstractAddressingVersion
-
toString
-