Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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
Similar Threads
Error running wsdl2java tool
plz help:SOAP Exception
how to invoke a webservice
can't generate java from wsdl file please help!
Wsdl2java is not working