axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John M. Gabriele" <john_sips_...@yahoo.com>
Subject Re: can my .jws file have static inner classes in it?
Date Thu, 04 Aug 2005 15:20:42 GMT


--- Javier Gonzalez <jagonzal@gmail.com> wrote:

> 
> 
> Using the wsdd approach lets you use almost any class for providing
> services, and no restrictions to using inner types. Plus it's easier
> to develop and test in an IDE and then pack it in a .jar and put it in
> the axis-enabled servlet engine.

Thanks. But, how do I have multiple classes for just one web service?
Can you point me to an example wsdd that shows how to do this? Right
now, the WSDL looks like it only knows about that one top-level class.

Thanks,
---John


> On 8/3/05, John M. Gabriele <john_sips_tea@yahoo.com> wrote:
> > I changed it from using a .jws file to using the sample
> > deploy.wsdd file from samples/userguide/example3, then
> > deployed it with the AdminClient as described in the
> > User's Guide, and now can get it to give me its wsdl
> > using that "?wsdl" appended to the URL.
> > 
> > Still have to test to see how things work with those
> > inner classes though.
> > 
> > ---John
> > 
> > 
> > --- "John M. Gabriele" <john_sips_tea@yahoo.com> wrote:
> > 
> > > I'm having trouble getting a .jws file working
> > > as a web service when it contains inner classes.
> > >
> > > I can navigate my browser to the .jws file, but
> > > when I try and get its wsdl, I get:
> > >
> > > AXIS error
> > >
> > > Sorry, something seems to have gone wrong... here are the details:
> > >
> > > Exception - java.lang.NoClassDefFoundError: MyWebService$MyInnerClass
> > >
> > > Can I use static inner classes inside my .jws files
> > > and have it work?
> > >
> > > I've tried moving my .class files around in
> > > axis/WEB-INF/jwsClasses (into subfolders matching
> > > my package declaration in the .jws file), and it
> > > axis/WEB-INF/classes but it hasn't helped.
> > >
> > > Thanks,
> > > ---John
> > >
> >  
> 
> 
> -- 
> Javier Gonzalez Nicolini
> 



		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

Mime
View raw message