uCosminexus Application Server, Web Service Development Guide
The following is an example of compiling the created provider implementation class com.sample.UserInfoImpl:
> set HNTRLIB2_HOME=HNTRLib2-installation-direcory > cd c:\temp\jaxws\works\dispatch_provider\server\ > mkdir WEB-INF\classes\ > apt -factory com.cosminexus.istack.ws.AnnotationProcessorFactoryImpl -J-Dcosminexus.home="%COSMINEXUS_HOME%" -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;%HNTRLIB2_HOME%\classes\hntrlib2j.jar;%HNTRLIB2_HOME%\classes\hntrlibMj.jar" -d WEB-INF\classes\ -s src src\com\sample\UserInfoImpl.java |
Specify the execution results of the following command in the HNTRLib2-installation-directory.
> set HNTRLIB2_HOME=HNTRLib2-installation-direcory > cd c:\temp\jaxws\works\dispatch_provider\server\ > mkdir WEB-INF\classes\ > apt -factory com.cosminexus.istack.ws.AnnotationProcessorFactoryImpl com.cosminexus.istack.ws.AnnotationProcessorFactoryImpl -J-Dcosminexus.home="%COSMINEXUS_HOME%" -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;%HNTRLIB2_HOME%\classes\hntrlib2j64.jar;%HNTRLIB2_HOME%\classes\hntrlibMj64.jar" -d WEB-INF\classes\ -s src src\com\sample\UserInfoImpl.java |
Specify the execution results of the following command in the HNTRLib2-installation-directory.
> "%COSMINEXUS_HOME%\common\bin\gethntr2conf.exe" HNTR2INSTDIR |
> "%COSMINEXUS_HOME%\common\bin\gethntr2conf64.exe" HNTR2INSTDIR |
If compilation is successful, UserInfoImpl.class is generated in the c:\temp\jaxws\works\dispatch_provider\server\WEB-INF\classes\com\sample\ directory.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.