uCosminexus Application Server, Web Service Development Guide
![[Contents]](FIGURE/CONTENT.GIF)
![[Glossary]](FIGURE/GLOSS.GIF)
![[Index]](FIGURE/INDEX.GIF)
![[Back]](FIGURE/FRONT.GIF)
The following table describes the configuration of the WAR file to be used in a POJO Web Service:
Table 3-1 Configuration of a WAR file
| Directory |
Remarks |
| / |
-- |
|
META-INF/ |
-- |
|
MANIFEST.MF |
-- |
| WEB-INF/ |
-- |
|
web.xml |
The created web.xml. |
| classes/ |
Stores the compiled Java class. |
| lib/ |
Stores the JAR file that contains the compiled Java classes. |
| wsdl/ |
Stores the created WSDL. To publish WSDL as the meta data of the Web Service, WSDL must be included in this directory. Also, do not include the WSDL files that are included in any other WAR file or EJB JAR file in this directory. |
- Legend:
- --: Indicates that there is no particular description or supplementary notes
- Note:
- When you include cosminexus-jaxws.xml in a WAR file, include it directly below the WEB-INF directory. For cosminexus-jaxws.xml, see 10.3 Customization using cosminexus-jaxws.xml.
- With the JAX-WS engine of Cosminexus, multiple Web Services are included in the same WAR file. When multiple Web Services are included, the class names of the classes with different functionality cannot be repeated. If the class names of the classes with different functionality are repeated, the Web Service might not operate properly. However, if the same class is used in multiple Web Services, you can repeat the class name.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.