You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Sanjiva Weerawarana <sa...@opensource.lk> on 2005/06/09 04:05:09 UTC

Re: [Axis2] WSDL2Code/Java not working

Looks like you don't have WSDL4J on the classpath - did you add
wsdl4j.jar to your classpath?

What problem are you having with the Eclipse plugin?

BTW please prefix Axis2 mail with [Axis2] .. not [Axis2M2].

Thanks,

Sanjiva.

On Wed, 2005-06-08 at 15:09 -0400, Kador, Daniel wrote:
> Hi,
> 
> I just downloaded the M2 release of Axis 2, and I'm trying to test it
> out with a web servicce that works properly with Axis 1.2.  I'd like to
> use the code emitter, since I want to test out the asynchronous
> capabilities of Axis 2.  Unfortunately, it's not proceeding as smoothly
> as I had hoped.  I'm just trying to use the command line tool.  I
> believe I'm using the correct classpath, but the error I get when I
> specify my WSLD is
> 
> Exception in thread "main" java.lang.NoClassDefFoundError:
> javax/wsdl/WSDLExcept
> ion at org.apache.axis.wsdl.WSDL2Code.main(WSDL2Code.java:28)
> 
> So it can't find a class it wants (I believe it's not finding
> CodeGenerationEngine), but that doesn't make sense because that should
> all be in axis2-M2.jar.  If I can run org.apache.axis.wsdl.WSDL2Java,
> then I should also be able to see the rest of the classes in
> axis2-M2.jar (I think).  
> 
> Note that I've also tried using the Eclipse plugin, and that's not
> working for me either.
> 
> Any suggestions?
> 
> Thanks,
> Dan
> 


Re: [Axis2] WSDL2Code/Java not working

Posted by Ajith Ranabahu <aj...@gmail.com>.
Hi Daniel,
Yes It seems the problem is with the wsdl4j.jar (we use it to give the
WSDL 1.1 support). BTW you can use the bat (or the shell script) to
run the tool wich searches for the classpath and puts all the
necessary classes in the classpath.

What seems to be the problem with the Eclipse plugin ? (hope you have
Eclipse 3.0 or higher! This works only for Eclipse 3.0 or higher)

On 6/9/05, Sanjiva Weerawarana <sa...@opensource.lk> wrote:
> Looks like you don't have WSDL4J on the classpath - did you add
> wsdl4j.jar to your classpath?
> 
> What problem are you having with the Eclipse plugin?
> 
> BTW please prefix Axis2 mail with [Axis2] .. not [Axis2M2].
> 
> Thanks,
> 
> Sanjiva.
> 
> On Wed, 2005-06-08 at 15:09 -0400, Kador, Daniel wrote:
> > Hi,
> >
> > I just downloaded the M2 release of Axis 2, and I'm trying to test it
> > out with a web servicce that works properly with Axis 1.2.  I'd like to
> > use the code emitter, since I want to test out the asynchronous
> > capabilities of Axis 2.  Unfortunately, it's not proceeding as smoothly
> > as I had hoped.  I'm just trying to use the command line tool.  I
> > believe I'm using the correct classpath, but the error I get when I
> > specify my WSLD is
> >
> > Exception in thread "main" java.lang.NoClassDefFoundError:
> > javax/wsdl/WSDLExcept
> > ion at org.apache.axis.wsdl.WSDL2Code.main(WSDL2Code.java:28)
> >
> > So it can't find a class it wants (I believe it's not finding
> > CodeGenerationEngine), but that doesn't make sense because that should
> > all be in axis2-M2.jar.  If I can run org.apache.axis.wsdl.WSDL2Java,
> > then I should also be able to see the rest of the classes in
> > axis2-M2.jar (I think).
> >
> > Note that I've also tried using the Eclipse plugin, and that's not
> > working for me either.
> >
> > Any suggestions?
> >
> > Thanks,
> > Dan
> >
> 
> 


-- 
Ajith Ranabahu