Jason,

You should find the javax.wsdl package inside wsdl4j.jar 

Check for the line starting with 'Found IBM's WSDL4Java ...' under 
axis/happyaxis.jsp

Hth,
eric

-----Original Message-----
From: Jason Bodnar [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 14, 2004 2:30 PM
To: [EMAIL PROTECTED]
Subject: java.lang.NoClassDefFoundError: javax/wsdl/OperationType

Hi,

I'm trying to go through the installation documentation found here:

http://ws.apache.org/axis/java/install.html

I successfully completed every step and tried to test the Stock Quote sample.
The sample deployed fine (except for some log4j warnings) but when I try to 
call the stock web service I get:

$ /usr/java/j2sdk1.4.2_06/bin/java -cp .:$AXISCLASSPATH samples.stock.GetQuote 
-lhttp://localhost:8080/axis/servlet/AxisServlet -uuser1 -wpass1 XXX Exception 
in thread "main" java.lang.NoClassDefFoundError:
javax/wsdl/OperationType
        at 
org.apache.axis.description.OperationDesc.<clinit>(OperationDesc.java:58)
        at org.apache.axis.client.Call.addParameter(Call.java:941)
        at org.apache.axis.client.Call.addParameter(Call.java:984)
        at samples.stock.GetQuote.getQuote(GetQuote.java:70)
        at samples.stock.GetQuote.main(GetQuote.java:95)

So, obviously, I'm missing something in my classpath, but I have no idea where 
the javax.wsdl.* package is.

My AXISCLASSPATH is set per the documentation to:

/usr/java/axis-1_2RC2//lib/axis.jar:/usr/java/axis-1_2RC2//lib/commons-discovery.jar:
/usr/java/axis-1_2RC2//lib/commons-logging.jar:/usr/java/axis-1_2RC2//lib/jaxrpc.jar:
/usr/java/axis-1_2RC2//lib/saaj.jar:/usr/java/axis-1_2RC2//lib/log4j-1.2.8.jar:
/usr/java/axis-1_2RC2//lib/xml-apis.jar:/usr/java/axis-1_2RC2//lib/xercesImpl.jar

Thank you,

Jason


--
Jason Bodnar
[EMAIL PROTECTED]
http://www.shakabuku.org

"You want free speech? Let's see you acknowledge a man whose words make your 
blood boil who is standing center stage advocating at the top of his lungs that 
which you would spend a lifetime opposing at the top of yours." -- President 
Andrew Shephard, "The American President"


Reply via email to