users@jax-ws.java.net

Re: for problem of using nested ComplexType

From: yuyin Song <yuyinsong_at_yahoo.com>
Date: Tue, 15 May 2007 05:18:20 -0700 (PDT)

Hi Jose,

I use Netbean 5.0 to develop web services.

I also use Netbean 5.5 to make Web services. NetBean
5.5 use JAX-WS. Actually I did not fully move to
Netbean 5.5. I think that NetBean 5.5 is a good
starting point of Web Services.
Regards,

Yin



--- Jose Perez <javaph_at_gmail.com> wrote:

> Hi Yin, I where using AXIS2 to make Web Services,
> but i think its not the
> best option , do you have any suggestions to get
> started in JAX-WS??
>
> Jose Perez
>
>
> On 5/14/07, yuyin Song <yuyinsong_at_yahoo.com> wrote:
> >
> > 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
> >
> >
>
---------------------------------------------------------------------
> > 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 Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545433