Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 2 Process Flows and Functionalities : WS-Addressing

WS-Addressing
Web Services Addressing (WS-Addressing) is a specification of transport-neutral mechanism that specifies the endpoints of a SOAP message.
TIBCO BusinessConnect SOAP Protocol supports WS-Addressing partially in the SOAP header. When TIBCO BusinessConnect SOAP Protocol processes the inbound messages that contain the following seven properties, these properties are forwarded in the messages sent to a private process.
Table 2 WS-Addressing
If MessageID is not specified from the private process, or from any inbound request or response, all the properties are ignored.
In the response message replied back to the initiator, the To property is set to the same as the ReplyTo property of the original request message. However, if the private process specifies the WS-Addressing To property for the response message, it is used to override the ReplyTo property in the original request message.
The RelatesTo property of the response message replied to the initiator is set to the same as the MessageID property of the original request message.
Samples of the Messages by Using WS-Addressing
Here is a sample of a request message:

 
<S:Envelope
  xmlns:S="http://www.w3.org/2003/05/soap-envelope"
  xmlns:wsa="http://www.w3.org/2005/08/addressing">
  <S:Header>
    <wsa:MessageID>http://example.com/someuniquestring</wsa:MessageID>
    <wsa:ReplyTo>
      <wsa:Address>http://example.com/business/client1</wsa:Address>
    </wsa:ReplyTo>
    <wsa:To>mailto:fabrikam@example.com</wsa:To>
    <wsa:Action>http://example.com/fabrikam/mail/Delete</wsa:Action>
  </S:Header>
  <S:Body>
    <f:Delete xmlns:f="http://example.com/fabrikam">
       <maxCount>42</maxCount>
    </f:Delete>
  </S:Body>
</S:Envelope>

 
Here is a sample of a response message:

 
<S:Envelope
  xmlns:S="http://www.w3.org/2003/05/soap-envelope"
  xmlns:wsa="http://www.w3.org/2005/08/addressing">
  <S:Header>
    <wsa:MessageID>http://example.com/someotheruniquestring</wsa:MessageID>
    <wsa:RelatesTo>http://example.com/someuniquestring</wsa:RelatesTo>
    <wsa:To>http://example.com/business/client1</wsa:To>
    <wsa:Action>http://example.com/fabrikam/mail/DeleteAck</wsa:Action>
  </S:Header>
  <S:Body>
    <f:DeleteAck xmlns:f="http://example.com/fabrikam"/>
  </S:Body>
</S:Envelope>

 

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved