Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Nestor Alduey
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Nestor Alduey
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic