Jose,
Thanks for your suggestion. I tried it and it works.
Regards,
Yin
--- Jose Perez <javaph_at_gmail.com> wrote:
> Dont you need to use the "ref" instade of name or
> type???
>
> <complexType name="messageType">
> <sequence>
> <element name="identifier" type="string"/>
> <element name="status" type="String"/>
> * <element ref="infoType" />*
> </sequence>
> </complexType>
>
> <complexType name="infoType">
> <sequence>
> <element name="category" type="string"/>
> <element name="event" type="string"/>
> </sequence>
> </complexType>
>
>
>
> On 5/10/07, yuyin Song <yuyinsong_at_yahoo.com> wrote:
> >
> > Hi All,
> >
> > I have problem for nested ComplexType.
> >
> > I have the following nested ComplexType used in
> the
> > response.
> >
> > <complexType name="messageType">
> > <sequence>
> > <element name="identifier" type="string"/>
> > <element name="status" type="String"/>
> > <element name="info" type="infoType" />
> > </sequence>
> > </complexType>
> >
> > <complexType name="infoType">
> > <sequence>
> > <element name="category" type="string"/>
> > <element name="event" type="string"/>
> > </sequence>
> > </complexType>
> >
> > When I build web services, there existed some
> errors
> > for nested complexType "infoType". Please give me
> > advice how to deal with nested CompexType in the
> > request or response. Thanks a lot.
> > Regards,
> >
> > yin
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
____________________________________________________________________________________
> > Need Mail bonding?
> > Go to the Yahoo! Mail Q&A for great tips from
> Yahoo! Answers users.
> >
>
http://answers.yahoo.com/dir/?link=list&sid=396546091
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> users-unsubscribe_at_jax-ws.dev.java.net
> > For additional commands, e-mail:
> users-help_at_jax-ws.dev.java.net
> >
> >
>
____________________________________________________________________________________Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545469