atom feed2 messages in Java2WSDL problem
FromSent OnAttachments 15, 2006 3:14 am 
Riadh BEN HALIMAApr 15, 2006 3:42 am 
Subject:Re: Java2WSDL problem
From:Riadh BEN HALIMA (
Date:Apr 15, 2006 3:42:51 am

Hi, javax.wsdl.extensions.ExtensibilityElement exists in wsdl4j-1.5.1.jar!!! You forget the wsdl4j-1.5.1 extension (.jar) in your class path:


%AXIS_LIB%\commons-discovery-0.2.jar; %AXIS_LIB%\commons-logging-1.0.4.jar; %AXIS_LIB%\jaxrpc.jar; %AXIS_LIB%\saaj.jar; %AXIS_LIB%\log4j-1.2.8.jar; %AXIS_LIB%\xml-apis.jar; %AXIS_LIB%\xercesImpl.jar; %AXIS_LIB%\wsdl4j-1.5.1; ////**** You forget ''.jar'' in this line ************************************ %AXIS_LIB%\axis-ant.jar ; %AXIS_LIB%\axis-schema.jar; %AXIS_LIB%\; %AXIS_LIB%\xml-apis.jar;


----- Original Message ----- From: <> To: <> Sent: Saturday, April 15, 2006 12:14 PM Subject: Java2WSDL problem

Hi there,

I'm trying to create a WSDL file from Java source code, by executing the following comand from my console:

java org.apache.axis.wsdl.Java2WSDL -o cruise.wsdl -l -n "urn:cruise" -S "CruiseService" CruiseService

but I get the following Exception:

Java.lang.NoClassDefFoundError: javax/wsdl/extensions/ExtensibilityElement

I have included the wsdl4j-1.5.1.jar file in my class path, following is my Environment setup:




%AXIS_LIB%\axis.jar; %AXIS_LIB%\commons-discovery-0.2.jar; %AXIS_LIB%\commons-logging-1.0.4.jar; %AXIS_LIB%\jaxrpc.jar; %AXIS_LIB%\saaj.jar; %AXIS_LIB%\log4j-1.2.8.jar; %AXIS_LIB%\xml-apis.jar; %AXIS_LIB%\xercesImpl.jar; %AXIS_LIB%\wsdl4j-1.5.1; %AXIS_LIB%\axis-ant.jar ; %AXIS_LIB%\axis-schema.jar; %AXIS_LIB%\; %AXIS_LIB%\xml-apis.jar;

AXISROOT C:\Tomcat5\webapps\axis\WEB-INF\lib\

Can you please advice me what I'm doing wrong, or what I need to do to fix this exception. I will appreciate a quick response, as I dnt rly have much time, this is part of my Final Year Project, and the due date is almost at my door-step :(

Many thanx