Re: Empty Message Element

From: Kishor Patil <kishor4j_at_YAHOO.COM>
Date: Mon, 04 Aug 2003 21:40:14 -0700

Hi Ravikiran,
Its possible to have a message element without parts in it. According to WSDL schema,
   <xs:complexType name="tMessage">
- <xs:complexContent>
- <xs:extension base="wsdl:tExtensibleDocumented">
- <xs:sequence>
  <xs:element name="part" type="wsdl:tPart" minOccurs="0" maxOccurs="unbounded" />


  <xs:attribute name="name" type="xs:NCName" use="required" />




you see for part element minOccurs attribute is zero.


Ravikiran <venkata-naga.ravikiran_at_SUN.COM> wrote:
Hi All,

Is it permissible to have a message element with no parts elements like
below in a wsdl ?

Can this way be used to indicate a one-way service?

Thanks in advance.


Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software