This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Web Services and the fly likes I don't know how to use java org.apache.axis.wsdl.WSDL2Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "I don Watch "I don New topic
Author

I don't know how to use java org.apache.axis.wsdl.WSDL2Java

Nestor Alduey
Greenhorn

Joined: Jul 30, 2006
Posts: 26
I trying to generate de class files from the wsdl, and i'm having trouble, cause when a write in cmd java org.apache.axis.wsdl.WSDL2Java and the necesary arguments, it's says class not found???

Which are all the steps needed to complete that part???

Please somebody can help me???
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39576
    
  27
A class not found exception means you don't have all the required classes in your classpath; we can't say which one you're missing since we don't have access to the exception stack trace.

But normally, you wouldn't use that class directly, you'd use the wsdl2java script that comes with Axis; any particular reason you're not doing that?


Ping & DNS - updated with new look and Ping home screen widget
Nestor Alduey
Greenhorn

Joined: Jul 30, 2006
Posts: 26
So, Which directory comes that script to be executed??? I'm working with Netbeans, are there another way to implement a cliente of a web service using netbeans ide???

Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39576
    
  27
Which directory comes that script to be executed?

It's in the "bin" directory of the Axis2 distribution. You should be able to run it from an Ant task (and thus from within any IDE).

Also, I think there are Axis/WS plugins for all major IDEs if you're looking for closer integration.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: I don't know how to use java org.apache.axis.wsdl.WSDL2Java
 
Similar Threads
Complex type, using axis
Writing web service client
Is this wsdl somehow wrong? - Help please!
can't generate java from wsdl file please help!
how to get webservice class name in server-config.wsdd instead of SOAPBinding class