Two Laptop Bag
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Using wscompile" Watch "Using wscompile" New topic

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
    I agree. Here's the link:
    subject: Using wscompile
    It's not a secret anymore!