Class WsAddressingHeader
-
- All Implemented Interfaces:
public class WsAddressingHeaderConvenience class to access WS-Addressing header information.
-
-
Constructor Summary
Constructors Constructor Description WsAddressingHeader()
-
Method Summary
Modifier and Type Method Description Optional<AttributedURIType>getAction()Optional<AttributedURIType>getMessageId()Optional<AttributedURIType>getTo()Optional<RelatesToType>getRelatesTo()Optional<Collection<Element>>getMappedReferenceParameters()voidsetMappedReferenceParameters(Collection<Element> referenceParameters)Attaches reference parameters to the SOAP Header. voidsetAction(@Nullable() AttributedURIType action)Sets the wsa:Action element. voidsetMessageId(@Nullable() AttributedURIType messageId)Sets the wsa:MessageID element. voidsetTo(@Nullable() AttributedURIType to)Sets the wsa:To element. voidsetRelatesTo(@Nullable() RelatesToType relatesTo)Sets the wsa:RelatesTo element. -
-
Method Detail
-
getMessageId
Optional<AttributedURIType> getMessageId()
-
getRelatesTo
Optional<RelatesToType> getRelatesTo()
-
getMappedReferenceParameters
Optional<Collection<Element>> getMappedReferenceParameters()
-
setMappedReferenceParameters
void setMappedReferenceParameters(Collection<Element> referenceParameters)
Attaches reference parameters to the SOAP Header.
These will be attached to the header directly, and will have the attribute "IsReferenceParameter='true'" added. Make sure you only add elements which aren't simple types and allow adding attributes!
- Parameters:
referenceParameters- Elements which will be attached to the SOAP header
-
setAction
void setAction(@Nullable() AttributedURIType action)
Sets the wsa:Action element.
- Parameters:
action- to set
-
setMessageId
void setMessageId(@Nullable() AttributedURIType messageId)
Sets the wsa:MessageID element.
- Parameters:
messageId- to set
-
setTo
void setTo(@Nullable() AttributedURIType to)
Sets the wsa:To element.
- Parameters:
to- to set
-
setRelatesTo
void setRelatesTo(@Nullable() RelatesToType relatesTo)
Sets the wsa:RelatesTo element.
- Parameters:
relatesTo- to set
-
-
-
-