This text file contains sample code fragments from:
Section 19.1 - WS-Addressing Messaging Rules
Chapter 19 - Advanced Message Design Part II: WS-Addressing Rules and Design Techniques
Book - Web Service Contract Design & Versioning for SOA
Series - The Prentice Hall Service Technology Series from Thomas Erl
Site - www.servicetechbooks.com
1
id-123-456-abc:01:23
Example 19.1 - The wsa:ReferenceParameters construct, as defined as part of an EPR.
http://megaeuromart.com/client
http://actioncon.com/service
http://actioncon.com/service/reply
1
id-123-456-abc:01:23
Example 19.2 - The ERP containing the wsa:ReferenceParameters construct is assigned to a wsa:ReplyTo element.
http://actioncon.com/service/reply
http://megaeuromart.com/client
1
id-123-456-abc:01:23
Example 19.3 - The complexion of the response SOAP message changes significantly, as the wsa:ReferenceParameters element is stripped away and elements representing custom parameters become individual, peer-level SOAP header blocks. The bolded text highlights the address that was originally in the EPR's wsa:Address element and is now
assigned to the wsa:To element.
http://megaeuromart.com/client
http://actioncon.com/service/reply
1
id-123-456-abc:01:23
http://actioncon.com/service/fault
id-123-456-abc:01:23
http://actioncon.com/service/poresponse
urn:uuid:246d44f9-5a2f-11d7-944a-006097b0abf
...
Example 19.4 - A message from the Purchase Order endpoint containing an EPR for use by the consumer program.
http://actioncon.com/service/reply
http://actioncon.com/service/posubmit
urn:uuid:246d44f9-5a2f-11d7-944a-006097b0abf
1
id-123-456-abc:01:23
...
Example 19.5 - A message that replies to the previous message that contained the EPR.
http://megaeuromart.com/service/fault
http://actioncon.com/service/posubmitfault
urn:uuid:246d44f9-5a2f-11d7-944a-006097b0abf
id-123-456-abc:01:23
...
Example 19.6 - A sample fault message sent as a reply by the consumer instead of the message in the previous example.