<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>8031</bug_id>
          
          <creation_ts>2009-10-23 13:36:19 +0000</creation_ts>
          <short_desc>WS-Mex: Distinguishing the &apos;main&apos; metadata</short_desc>
          <delta_ts>2010-03-17 11:34:35 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WS-Resource Access</product>
          <component>MetadataExchange</component>
          <version>FPWD</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>REMIND</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Katy Warr">katy_warr</reporter>
          <assigned_to name="Katy Warr">katy_warr</assigned_to>
          <cc>asirveda</cc>
    
    <cc>dug</cc>
          
          <qa_contact name="notifications mailing list for WS Resource Access">public-ws-resource-access-notifications</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>28898</commentid>
    <comment_count>0</comment_count>
    <who name="Katy Warr">katy_warr</who>
    <bug_when>2009-10-23 13:36:19 +0000</bug_when>
    <thetext>A GetMetadata request may return multiple documents all of the same dialect.  How does the client know which of these documents is the &apos;root&apos; document?

For example (this is a side note mentioned in 7912):
When multiple WSDL documents* are returned from GetMetadata, how do we
distinguish the &apos;real&apos; one - i.e. the one that would be returned from HTTP GET
targeted at &lt;endpoint&gt;?WSDL ?  

Note that there might be &gt;1 root documents - for instance, in the case of one WSDL for soap 1.1 and one for SOAP 1.2.

*Multiple WSDL documents may be returned if operations are implicitly defined (via policy) or if WSDL documents are imported.

Proposal:
--------
Here is a starting proposal:

Add an attribute @root to the dialect in order to indicate that the metadata section is a &apos;root&apos; one.  Define the meaning of the &apos;root&apos; document for each dialect.  

  &lt;mex:MetadataSection Dialect=&apos;http://schemas.xmlsoap.org/wsdl/
                       Identifier=&apos;http://services.example.org/stockquote&apos;
                       Root=true&gt;
  ...
  &lt;/mex:MetadataSection&gt;
  &lt;mex:MetadataSection Dialect=&apos;http://schemas.xmlsoap.org/wsdl/
                       Identifier=&apos;http://www.w3.org/2009/09/ws-tra&apos;
                       Root=false&gt;
  ...
  &lt;/mex:MetadataSection&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29248</commentid>
    <comment_count>1</comment_count>
    <who name="Asir V Selvasingh">asirveda</who>
    <bug_when>2009-11-02 01:40:29 +0000</bug_when>
    <thetext>Discussion at http://lists.w3.org/Archives/Public/public-ws-resource-access/2009Nov/0006.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29359</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Freund">bob</who>
    <bug_when>2009-11-05 21:20:23 +0000</bug_when>
    <thetext>Use case is to allow the mex metadata consumer can determine if a wsdl document is intended to be treated as implicit.
I.e, that it is feature wsdl
Agreed 2009-11-05</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29361</commentid>
    <comment_count>3</comment_count>
    <who name="Robert Freund">bob</who>
    <bug_when>2009-11-05 21:21:22 +0000</bug_when>
    <thetext>proposed way forward: as part of definition of wsdl dialect in mex spec, we define an optional boolean attribute, called @isImplicit, which if present with value true indicates that this is feature wsdl implied value is &apos;false&apos;
to be re-visited 2009-11-06</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29895</commentid>
    <comment_count>4</comment_count>
    <who name="Robert Freund">bob</who>
    <bug_when>2009-12-02 17:38:18 +0000</bug_when>
    <thetext>Connected possibly with 7986 any may be simultaneously resolved</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32867</commentid>
    <comment_count>5</comment_count>
    <who name="Robert Freund">bob</who>
    <bug_when>2010-03-09 21:54:43 +0000</bug_when>
    <thetext>resolved by resolution to 6463 which see</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>