Table of contentsAppendices |
3.2 Application Data ModuleApplication Data ModuleThis module is identified with the URI 'http://www.w3.org/2004/08/wsdl/module/AD' Features Implemented[top]Features ImplementedThis module implements the feature 'http://www.w3.org/2004/08/wsdl/feature/AD' (see [Application Data Feature]). Operation[top]OperationThis module specifies how to transmit "out of band" application data, as defined in the Application Data feature (see [Application Data Feature]), as SOAP headers. As a SOAP sender, if the property 'http://www.w3.org/2004/08/wsdl/feature/AD/data' has a value then each of the top-level child element information items in the value MUST be turned into a SOAP header. The elements are serialized according to their schemas, and if the "ad:mustUnderstand" attribute exists with the value "true" on any given element declaration, that particular SOAP header should be marked as "mustUnderstand='true'" or "mustUnderstand='1'" as per the SOAP specification. SOAP senders SHOULD also add an additional header, with namespace 'http://www.w3.org/2004/08/wsdl/module/AD' and local name "dataHeaders" - this header contains a list of element QNames, one for each application data header created in the first step. It is the responsibility of the receiving node to determine which, if any, SOAP headers will populate the 'http://www.w3.org/2004/08/wsdl/feature/AD/data' property. Typically this will be accomplished via using some metadata, such as an understanding of a constraint specified in WSDL, or out-of-band agreements. If the "dataHeaders" SOAP header (described above) is present, the QNames inside that header indicate which other headers are application data. The contents of each SOAP header identified as application data will be placed in a child element of the data property. |