Re: wsdl:types and arrays

Sanjiva, what arrays are you talking about specifically? 

Is it SOAP Encoding arrays? In that case we'd have more problems with
XS.

Is it just any kind of arrays? I think XS supports arrays nicely,
together with more complex structures. minOccurs and maxOccurs should be
the right constraints here. 8-)

I think we should revamp or drop WSDL support for SOAP Encoding, and I'd
be very wary of trying to fit XML Schema in there.

Best regards,

                   Jacek Kopecky

                   Senior Architect, Systinet Corporation
                   http://www.systinet.com/




On Thu, 2002-12-05 at 07:50, Sanjiva Weerawarana wrote:
> 
> WSDL 1.1 had some text to provide a "standard" way to describe
> arrays. How should we (or should we not) move that forward? This
> is an issue because XSD doesn't support arrays and they are a
> relatively normal concept in many settings.
> 
> Sanjiva.
> 
> ----- Original Message ----- 
> From: "Martin Gudgin" <mgudgin@microsoft.com>
> To: <mats_henricson@yahoo.com>; <www-ws-desc@w3.org>
> Sent: Monday, December 02, 2002 2:26 PM
> Subject: RE: wsdl:types and arrays
> 
> 
> > 
> > Hi Matt,
> > 
> > Can you point me to the language in the WSDL 1.2 spec that leads you to
> > believe that you can't use maxOccurs on an element declaration in WSDL?
> > AFAIR that it was NOT the WGs intention to have such a limitation.
> > 
> > I'll take info on 1.1 aswell but we're not revving that document.
> > 
> > Cheers 
> > 
> > Gudge
> > 
> > > -----Original Message-----
> > > From: Mats Henricson [mailto:mats_henricson@yahoo.com] 
> > > Sent: 29 November 2002 23:21
> > > To: www-ws-desc@w3.org
> > > Subject: wsdl:types and arrays
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > Hi, all!
> > > 
> > > I was pretty enthusiastic about using web services, SOAP
> > > and WSDL, until I realized the severe XSD limitation in WSDL.
> > > I have a 4 page long XSD, and a 200 kB long hand-written XML 
> > > document that follows that XSD. According to the WSDL 1.1 and 
> > > 1.2 I can't use this XSD construct:
> > > 
> > >   <xsd:element ... maxOccurs="unbounded"/>
> > > 
> > > I just barely can believe this limitation really exists!
> > > I would have to do heavy changes of my large XML document
> > > just to be able to use SOAP?!
> > > 
> > > Pretty much every single XSD tutorial out there suggests
> > > the use of maxOccurs="unbounded".
> > > 
> > > Is it really true that it can't be used in WSDL, or have I 
> > > totally misunderstood? If that limitation really exists, why 
> > > don't you remove it in this new upcoming version of WSDL?
> > > 
> > > Worried greetings from
> > > 
> > > Mats Henricson
> > > 
> > > 
> > > __________________________________________________
> > > Do you Yahoo!?
> > > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. 
> > http://mailplus.yahoo.com

Received on Thursday, 5 December 2002 04:58:14 UTC