users@jax-rpc.java.net

Re: Empty Message Element

From: Anne Thomas Manes <anne_at_MANES.NET>
Date: Tue, 05 Aug 2003 13:04:13 -0400

Right, but it isn't used to indicate a one-way service. The proper way to
indicate a one-way service is to define an operation with an input message
but no output message.

Anne

----- Original Message -----
From: "Arun Gupta" <Arun.Gupta_at_SUN.COM>
To: <JAXRPC-INTEREST_at_JAVA.SUN.COM>
Sent: Tuesday, August 05, 2003 12:05 PM
Subject: Re: Empty Message Element


> 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
> =============================================
>