uCosminexus Application Server, Web Service Development Guide
Create application.xml that is required as an EAR file component.
The following is an example for creating application.xml. Note that no items are set up in application.xml as the Web Service.
<?xml version="1.0" encoding="UTF-8"?>
<application version="6" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_6.xsd">
<description>Sample application "streaming_dynamic_generate"</description>
<display-name>Sample_application_streaming_dynamic_generate</display-name>
_addressing</display-name>
<module>
<web>
<web-uri>streaming_dynamic_generate.war</web-uri>
<context-root>streaming_dynamic_generate</context-root>
</web>
</module>
</application>
|
When creating web.xml of version 5, specify 5 in the version attribute of the application element and specify http://java.sun.com/xml/ns/javaee/application_5.xsd as the second location information in the xsd:schemaLocation attribute.
The created application.xml is saved in the c:\temp\jaxws\works\addressing\server\META-INF\ directory with the UTF-8 format. For notes on creating application.xml, see 5.2.2 Precautions for editing application.xml in the uCosminexus Application Server Application Development Guide.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.