users@jax-ws.java.net

Re: for problem of using nested ComplexType

From: yuyin Song <yuyinsong_at_yahoo.com>
Date: Wed, 16 May 2007 05:16:16 -0700 (PDT)

Jose,

Thank you so much for your message. I will try to fix
it. Thanks again,
Regards,

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

> Hi Yin,
>
> Actually i dont like that much netbeans, maybe i
> should try it, for depoying
> WS.
>
> But for your problem i think you can build a war
> file in netbeans, when you
> get that it is supposed to run every where, i mean
> in every servler/JSP
> server. You maybe need to add some jar files in the
> war archive.
>
> In my case i use a lot free software and i like a
> pretty much "Apache
> Tomcat", because its easy to use, even to change the
> configuration its is
> simple to do that, there are just XML files to do
> that.
>
> So my suggestion, (to make it simple to you) get the
> apache, put the war
> file in the webapps directory, and there you go the
> web services should be
> running good.
>
> Maybe in your case you have some firewalls or
> routers, you have to check it
> and redirect it to your server. In my case i have an
> easy to configutare
> router. which gives me the option to do it quickly
> and easy. but in the case
> you have some cisco routers there will be a little
> problems to make the
> redirection to your computer.
> There are some cases when you dial up or use the DSL
> when you get directly
> the Internet IP, in those cases just by installing
> the Tomcat you get
> published your webpages.
>
> I hope it helps, and i hope its not conffusing.
>
> JAPH
>
>
>
> On 5/15/07, yuyin Song <yuyinsong_at_yahoo.com> wrote:
> >
> > Hi Jose,
> >
> > I have another problem. I can successfully deploy
> web
> > service on http://localhost/. The web service can
> be
> > locally accessed.
> > But I like to deploy web service on a specified
> server
> > (for example: http://111.1.1.11/). So the deployed
> Web
> > services can be remotely accessed. I use a WSDL
> file
> > to generate Web service. How to do it? Thanks.
> > 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
> > > > > >
> > > > > >
>
=== message truncated ===



 
____________________________________________________________________________________
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/