This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread 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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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