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