Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using wscompile

 
igwe kalu kalu ogba
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 539
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic