W3C home > Mailing lists > Public > www-ws-desc@w3.org > June 2002

issue 60: Text in the WSDL spec inconsistency about optional parts

From: Sanjiva Weerawarana <sanjiva@watson.ibm.com>
Date: Thu, 20 Jun 2002 12:32:04 +0600
Message-ID: <021f01c2184b$a075e550$82a6a409@lankabook2>
To: "WS-Desc WG \(Public\)" <www-ws-desc@w3.org>

(I'm reconciling issues lists.)

I would like to close the following issue from the issues list
as its redundant in the presence of another issue in the part1
document which has already been (indicated below):

    <title>Text in the WSDL spec inconsistency about optional parts</title>
    <originator><a href="mailto:pyendluri@webmethods.com">Prasad

    <p>The examples in Section 5.11 clearly see the need for parts
       being optional. However since decided that parts in messages
       will not be permitted to be optional, we need to fix the
       examples. Example 7 carries in its description:</p>

    <p>The response contains multiple parts encoded in the MIME format
       multipart/related: a SOAP Envelope containing the current stock
       price as a float, zero or more marketing literature documents
       in HTML format, and an optional company logo in either GIF or
       JPEG format.</p>

    <p>However, neither the abstract level definitions nor the
       concrete bindings shown make the parts (attachments)
       optional. Specifically the "optional" company-logo nor the
       marking literature (zero or more =&gt; optional w/ cardinality)
       are really not optional.  We need to fix the examples

The related issue in the part1 doc is:

<issue id="issue-message-parts" status="closed">
  <head>Should the message part mechanism be extended to support optional
        parts etc.?</head>
  In WSDL 1.1, a message can only be defined to be a sequence of parts.
  It is not possible to indicate that certain parts may be optional,
  may occur multiple times, etc.? Should we do that? Overlapping with
  XML Schema's mechanisms is an obvious concern.
  <source>Sanjiva Weerawarana</source>
  <resolution>We will consider this for WSDL 2.0 in conjunction
  with the resolution for issue "issue-eliminate-message." If
  &lt;message&gt; is retained in WSDL 2.0, then this issue becomes
  interesting; otherwise its a non-issue.</resolution>

Are there any objections?

Received on Thursday, 20 June 2002 07:15:03 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:06:24 UTC