uCosminexus Application Server, Web Service Development Guide

[Contents][Glossary][Index][Back][Next]

7.3.2 Compiling Web Services Implementation Class

Execute the javac command to compile Web Services Implementation Class. For details on the javac command, see the JDK documentation.

The following is an example of the execution of the javac command.

> cd c:\temp\jaxws\works\annotations\server\
> mkdir .\WEB-INF\classes\
> javac -cp "%COSMINEXUS_HOME%\jaxws\lib\cjjaxws.jar;%COSMINEXUS_HOME%\CC\client\lib\j2ee-javax.jar;%COSMINEXUS_HOME%\jaxp\lib\csmjaxb.jar;%COSMINEXUS_HOME%\jaxp\lib\csmjaxp.jar;%COSMINEXUS_HOME%\jaxp\lib\csmstax.jar" -d WEB-INF\classes\ -s src src\com\sample\AddNumbersImpl.java src\com\sample\AddNumbersFault.java

The compiled classes are output to c:\temp\jaxws\works\addressing\server\WEB-INF\classes\com\sample\directory, if the javac command successfully ends. When you execute the cjwsgen command for the compiled Web Services Implementation Class, you can check for errors in advance. For details on the cjwsgen command, see 14.3 cjwsgen command, and for details on the error check, see 10.23 (1) Using the cjwsgen command for checking errors.