You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Lanto Randriamiharisoa <he...@cgey.com> on 2004/03/01 11:13:54 UTC

WSDL4Java : where is javax.wsdl.Definition

Hi all,

I'm a new user for Axis, at this time I was able to run and test a service.
My next goal is to convert an Axis WSDL to Java, but I encounter this 
problem :

Exception in thread "main" java.lang.NoClassDefFoundError: 
javax.wsdl.Definition

Did I miss something ?
Here is my CLASSPATH
E:\Program Files\axis-1_1\lib\axis.jar;E:\Program 
Files\axis-1_1\lib\commons-discovery.jar;E:\Program 
Files\axis-1_1\lib\commons-logging.jar;E:\Program 
Files\axis-1_1\lib\jaxrpc.jar;E:\Program 
Files\axis-1_1\lib\saaj.jar;E:\Program 
Files\axis-1_1\lib\log4j-1.2.8.jar;E:\Program 
Files\axis-1_1\lib\xml-apis.jar;E:\Program Files\axis-1_1\lib\xercesImpl.jar

Thanks a lot,


Re: WSDL4Java : where is javax.wsdl.Definition

Posted by Tomasz Pik <pi...@ais.pl>.
Lanto Randriamiharisoa wrote:

> Hi all,
> 
> I'm a new user for Axis, at this time I was able to run and test a service.
> My next goal is to convert an Axis WSDL to Java, but I encounter this 
> problem :
> 
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> javax.wsdl.Definition

You need wsdl4j library.
http://www.ibiblio.org/maven/wsdl4j/jars/

Regards,
Tomek