This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Web Services and the fly likes Using wscompile Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Using wscompile" Watch "Using wscompile" New topic
Author

Using wscompile

igwe kalu kalu ogba
Ranch Hand

Joined: Feb 03, 2005
Posts: 133
Hello I am trying to use jaxrpc to generate stubs for a WSDL file. But when I type wscompile in my DOS prompt, the error I get is that wscompile is not a recognized internal or external command. Please help, how can I use wscompile and I thought that wscompile was part of JAX-RPC which in turn should be part of the JDK. I am using Tiger (1.5) thanks.
Tim West
Ranch Hand

Joined: Mar 15, 2004
Posts: 539
wscompile is in <jwsdp-home>/jaxrpc/bin. You can only run it if the DOS window 'knows' where it is. So, you have the three usual choices:

  • Give the full command name (i.e., something like 'C:\common\dev\jwsdp-1.5\jaxrpc\bin\wscompile)
  • Move into the jaxrpc/bin directory, and then run the command.
  • Add the jaxrpc/bin directory to your PATH environment variable.



  • -Tim
     
    It is sorta covered in the JavaRanch Style Guide.
     
    subject: Using wscompile