users@jax-rpc.java.net

Re: Empty Message Element

From: Arun Gupta <arun.gupta_at_sun.com>
Date: Tue, 05 Aug 2003 09:05:02 -0700

I stand corrected. That was a late night attempt to answer a simple
question :-)

Even WS-I Basic Profile 1.0 explicitly allows zero parts in a message.
See the explanation right after
http://www.ws-i.org/Profiles/Basic/2003-06/BasicProfile-1.0-BdAD.html#R2208.

Thanks,
-Arun

Kishor Patil wrote:

> Hi Ravikiran,
> Its possible to have a message element without parts in it. According
> to WSDL schema,
> - <http://schemas.xmlsoap.org/wsdl/#>
> <xs:complexType name="tMessage">
> - <http://schemas.xmlsoap.org/wsdl/#> <xs:complexContent>
> - <http://schemas.xmlsoap.org/wsdl/#> <xs:extension
> base="wsdl:tExtensibleDocumented">
> - <http://schemas.xmlsoap.org/wsdl/#> <xs:sequence>
> <xs:element name="part" type="wsdl:tPart" minOccurs="0"
> maxOccurs="unbounded" />
> </xs:sequence>
> <xs:attribute name="name" type="xs:NCName" use="required" />
> </xs:extension>
> </xs:complexContent>
> </xs:complexType>
>
> you see for part element minOccurs attribute is zero.
>
> Regards
> Kishor
>
>
> 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.
>
> Regards,
> Ravikiran.
>
> ------------------------------------------------------------------------
> Do you Yahoo!?
> Yahoo! SiteBuilder
> <http://us.rd.yahoo.com/evt=10469/*http://sitebuilder.yahoo.com> -
> Free, easy-to-use web site design software


--
=============================================
There is only one me, I must live myself!
There is only one today, I must live itself!
=============================================
http://members.tripod.com/~apgupta/index.html
=============================================