Skip to content

DPWS R0040: SoapFaults with relationship property

Malte Grebe-Lüth requested to merge wsaddressing_relationship_property into develop

Devices Profile for Web Services Version 1.1 1 July 2009.

2.5 R0040: A SERVICE MUST include a Message Information Header representing a [relationship] property of “http://www.w3.org/2005/08/addressing/reply” in each SOAP Fault SOAP ENVELOPE the service generates.

Every SoapFault contains a relationship property now. The message id from the request is set as value for wsa:RelatesTo or the defined URI as stated in WS Addressing 3.1. The RelationshipType can be omitted, since the required type “http://www.w3.org/2005/08/addressing/reply” is implied.

Web Services Addressing 1.0 - Core W3C Recommendation 9 May 2006.

3.1 A pair of values that indicate how this message relates to another message. The type of the relationship is identified by an absolute IRI. The related message is identified by an absolute IRI that corresponds to the related message's [message id] property. The message identifier IRI may refer to a specific message, or be the following pre-defined URI that means "unspecified message": "http://www.w3.org/2005/08/addressing/unspecified"

3.2 /wsa:RelatesTo This OPTIONAL (repeating) element information item contributes one abstract [relationship] property value, in the form of an (IRI, IRI) pair. The content of this element (of type xs:anyURI) conveys the [message id] of the related message.

/wsa:RelatesTo/@RelationshipType This OPTIONAL attribute (of type xs:anyURI) conveys the relationship type as an IRI. When absent, the implied value of this attribute is "http://www.w3.org/2005/08/addressing/reply".

The following aspects have been respected by the author of this merge request:

  • Adherence to coding conventions
  • Adherence to javadoc conventions
  • Changelog update (necessity checked and entry added or not added respectively)

Merge request reports