This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Trying to call WSDL2Java.main, but having issues when redirecting output

 
Mikel Warren
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm using Apache axis 1.x, and I have a simple java program that calls the static main method of org.apache.axis.wsdl.WSDL2Java.
I am passing in the String array with the -o (redirect output) option along with the WSDL url.
If I leave out the -o option, the java files get created with no problems, but if I try to redirect, I get the following exception.
Also, if I use java.exe to call org.apache.axis.wsdl.WSDL2Java directly from a DOS command prompt, I can use the -o parameter with no problems
I'm using JBuilder 2006, if that matters.

Thanks



 
Mikel Warren
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok - I figured it out.
Apparently you can't do '-o c:\\blah', but instead have to do '-oc:\\blah' (i.e. no space)
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic