wood burning stoves*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 41068
    
  43
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 - my free Android networking tools app
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: 41068
    
  43
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.
 
Don't get me started about those stupid light bulbs.
 
subject: I don't know how to use java org.apache.axis.wsdl.WSDL2Java
 
Similar Threads
Is this wsdl somehow wrong? - Help please!
how to get webservice class name in server-config.wsdd instead of SOAPBinding class
Complex type, using axis
Writing web service client
can't generate java from wsdl file please help!