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

Re: issue: optional parts in <message>?

From: Sanjiva Weerawarana <sanjiva@watson.ibm.com>
Date: Sat, 4 May 2002 07:49:08 +0600
Message-ID: <03fb01c1f30d$e42bba80$17aa7cca@lankabook2>
To: "Mike Deem" <mikedeem@microsoft.com>, "Jeffrey Schlimmer" <jeffsch@windows.microsoft.com>, <www-ws-desc@w3.org>
"Mike Deem" <mikedeem@microsoft.com> writes:
> Sorry. I'll get those links fixed. [1] should work. See section 6.
> 
> In any case, the idea is to use a mediaType annotation element in a
> restriction on a base64Binary or hexBinary base type. This annotation is
> used in the style of a facet to constrain the media type of the binary
> data.

I know .. I've heard that from others before too. But not being an
XSD expert I'm not sure I see exactly how that would look. Can you 
please write it down?

FYI, here's what the 2-item message consisting of a string name and
an image (say a head xray) would like in WSDL 1.1:

    <message name="medical-record">
        <part name="person-name" type="xsd:string"/>
        <part name="head-xray" mimeType="image/gif"/>
    </message>

Sanjiva.
Received on Friday, 3 May 2002 22:40:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:58:20 GMT