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 TypeMethodDescriptiongetTo()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.voidSets the wsa:To element.
-
Constructor Details
-
WsAddressingHeader
public WsAddressingHeader()
-
-
Method Details
-
getAction
-
setAction
Sets the wsa:Action element.- Parameters:
action- to set
-
getMessageId
-
setMessageId
Sets the wsa:MessageID element.- Parameters:
messageId- to set
-
getTo
-
setTo
Sets the wsa:To element.- Parameters:
to- to set
-
getRelatesTo
-
setRelatesTo
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
-