Class Addressing10
java.lang.Object
org.springframework.xml.transform.TransformerObjectSupport
org.springframework.ws.soap.addressing.version.AbstractAddressingVersion
org.springframework.ws.soap.addressing.version.Addressing10
- All Implemented Interfaces:
AddressingVersion
Implements WS-Addressing 1.0 (May 2006). This version of the specification is used by Microsoft's Windows
Communication Foundation (WCF), and supported by Axis 1 and 2.
- Since:
- 1.5.0
- Author:
- Arjen Poutsma, Leandro Quiroga
- See Also:
-
Field Summary
Fields inherited from class org.springframework.xml.transform.TransformerObjectSupport
logger
-
Constructor Summary
-
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 EndpointReference
Returns the default ReplyTo EPR.protected URI
Returns the default To URI.protected String
Returns the reason of the fault that indicates that a header is invalid.protected 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 String
Returns the WS-Addressing namespace handled by this specification.protected final URI
getNone()
Returns the none URI, ornull
if the spec does not define it.protected QName
Returns the qualified name of theReferenceProperties
in the endpoint reference.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, getRelatesToName, getRelationshipTypeName, getReplyToName, getToName, hasAnonymousAddress, hasNoneAddress, understands
Methods inherited from class org.springframework.xml.transform.TransformerObjectSupport
createTransformer, getTransformerFactory, newTransformerFactory, setTransformerFactoryClass, transform
-
Constructor Details
-
Addressing10
public Addressing10()
-
-
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.
-
getNamespaceUri
Description copied from class:AbstractAddressingVersion
Returns the WS-Addressing namespace handled by this specification.- Specified by:
getNamespaceUri
in classAbstractAddressingVersion
-
getReferencePropertiesName
Description copied from class:AbstractAddressingVersion
Returns the qualified name of theReferenceProperties
in the endpoint reference. Returnsnull
when reference properties are not supported by this version of the spec.- Overrides:
getReferencePropertiesName
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
-
getAnonymous
Description copied from class:AbstractAddressingVersion
Returns the anonymous URI.- Specified by:
getAnonymous
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
-
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
-
getMessageAddressingHeaderRequiredFaultReason
Description copied from class:AbstractAddressingVersion
Returns the reason of the fault that indicates that a header is missing.- Specified by:
getMessageAddressingHeaderRequiredFaultReason
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
-
getInvalidAddressingHeaderFaultReason
Description copied from class:AbstractAddressingVersion
Returns the reason of the fault that indicates that a header is invalid.- Specified by:
getInvalidAddressingHeaderFaultReason
in classAbstractAddressingVersion
-
toString
-