File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Axis: WSDL2Java classpath problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis: WSDL2Java classpath problem " Watch "Axis: WSDL2Java classpath problem " New topic

Axis: WSDL2Java classpath problem

Juhan Voolaid
Ranch Hand

Joined: Nov 18, 2003
Posts: 179

I am having difficulties running WSDL2Java program in my environment. I managed to deploy my webservice, but now I can't generate the client side for that.

When I run: java -cp $AXISCLASSPATH org.apache.axis.wsdl.WSDL2Java http://localhost:8080/axis/services/MusicSearch?wsdl

I get exception:

My $AXISCLASSPATH environment is:

Has anyone ideas what is wrong? I am allready sick and tired of this
[ July 29, 2006: Message edited by: Juhan Voolaid ]
Juhan Voolaid
Ranch Hand

Joined: Nov 18, 2003
Posts: 179
OK got it finally working. Just added some more libs to my classpath.

I agree. Here's the link:
subject: Axis: WSDL2Java classpath problem
It's not a secret anymore!