uCosminexus Application Server, Web Service Development Guide
If you execute the cjwsimport command, the Java source, such as service class, required for Web Service client development is generated. For details about the cjwsimport command, see 14.1 cjwsimport command.
The following is an example of the execution of the cjwsimport command.
> cd c:\temp\jaxws\works\attachments\client\ > mkdir src\ > mkdir classes\ > "%COSMINEXUS_HOME%\jaxws\bin\cjwsimport.bat" -s src -d classes http://webhost:8085/attachments_dynamic_generate/UserInfoServicwsdl |
If the execution ends normally, the Java source is generated in c:\temp\jaxws\works\attachments\client\src\com\sample\directory.
The following table describes a list of products.
Table 29-4 Products during service class generation (Starting from SEI and attachments)
| File name | Description |
|---|---|
| GetUserData.java | This is the JavaBean class corresponding to type referenced by the wrapper element of the request message in the WSDL definition. |
| GetUserDataResponse.java | This is the JavaBean class corresponding to type referenced by the wrapper element of the response message in the WSDL definition. |
| ObjectFactory.java | This is the ObjectFactory class of the JAXB 2.2 specifications. |
| package-info.java | This is the package-info.java file. |
| UserData.java | This is the JavaBean class corresponding to UserData. |
| UserInfoImpl.java | This is SEI corresponding to 'Service' in the WSDL definition. |
| UserInfoService.java | This is the service class. |
| UserInfoException.java | This is the JavaBean class corresponding to UserInfoException. |
| UserInfoException_Exception.java | This is the wrapper exception class of the fault bean. |
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.