Class WsAddressingHeader
- java.lang.Object
-
- org.somda.sdc.dpws.soap.wsaddressing.WsAddressingHeader
-
public class WsAddressingHeader extends Object
Convenience class to access WS-Addressing header information.- See Also:
- Message Addressing Properties
-
-
Constructor Summary
Constructors Constructor Description WsAddressingHeader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<AttributedURIType>getAction()Optional<Collection<Element>>getMappedReferenceParameters()Optional<AttributedURIType>getMessageId()Optional<RelatesToType>getRelatesTo()Optional<AttributedURIType>getTo()voidsetAction(AttributedURIType action)Sets the wsa:Action element.voidsetMappedReferenceParameters(Collection<Element> referenceParameters)Attaches reference parameters to the SOAP Header.voidsetMessageId(AttributedURIType messageId)Sets the wsa:MessageID element.voidsetRelatesTo(RelatesToType relatesTo)Sets the wsa:RelatesTo element.voidsetTo(AttributedURIType to)Sets the wsa:To element.
-
-
-
Method Detail
-
getAction
public Optional<AttributedURIType> getAction()
-
setAction
public void setAction(@Nullable AttributedURIType action)Sets the wsa:Action element.- Parameters:
action- to set
-
getMessageId
public Optional<AttributedURIType> getMessageId()
-
setMessageId
public void setMessageId(@Nullable AttributedURIType messageId)Sets the wsa:MessageID element.- Parameters:
messageId- to set
-
getTo
public Optional<AttributedURIType> getTo()
-
setTo
public void setTo(@Nullable AttributedURIType to)Sets the wsa:To element.- Parameters:
to- to set
-
getRelatesTo
public Optional<RelatesToType> getRelatesTo()
-
setRelatesTo
public void setRelatesTo(@Nullable RelatesToType relatesTo)Sets the wsa:RelatesTo element.- Parameters:
relatesTo- to set
-
getMappedReferenceParameters
public Optional<Collection<Element>> getMappedReferenceParameters()
-
setMappedReferenceParameters
public 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
-
-