uCosminexus Application Server, Web Service Development Guide

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

4.3.4 Compiling the Web Service Implementation Class

Use the javac command to compile the created Web Service Implementation Class.

The following is a compilation example:

> cd c:\temp\jaxws\works\fromwsdl\server\
> javac -encoding UTF-8 -cp "%COSMINEXUS_HOME%\jaxws\lib\cjjaxws.jar;%COSMINEXUS_HOME%\CC\client\lib\j2ee-javax.jar;.\WEB-INF\classes" -d .\WEB-INF\classes src\com\example\sample\TestJaxWsImpl.java

If the javac command is terminated successfully, TestJaxWsImpl.class in c:\temp\jaxws\works\fromwsdl\server\WEB-INF\classes\com\example\sample\directory is overwritten.

For the javac command, see the JDK documentation.