The following is an example .bat file that configures the environment, and then calls WADL2Java. This example assumes that you have saved the .wadl file for the API you are calling to the local folder.
set APP_HOME=C:\temp\wadl\development\jaxws-2.2.7
set WSGEN_HOME=C:\temp\wadl\development\wadl-dist-1.1.2\bin\wadl2java.bat
SET WSGEN_CLASSPATH=%APP_HOME%\classes;%APP_HOME%\lib\*
CALL %WSGEN_HOME% -o gen-src -p com.sample.test SimpleCostObject.wadl