uCosminexus Application Server, Web Service Development Guide

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

10.3 Customization using cosminexus-jaxws.xml

The cosminexus-jaxws.xml is the DD used for customizing the mapping between the POJO Web Service URL and the Web Service Implementation Class or the Provider Implementation Class. This file is created when you want to customize the processing for discovering the Web Service Implementation Class or the Provider Implementation Class (discovery) or when you want to assign a single Web Service Implementation Class and a Provider Implementation Class for multiple URLs.

If you do not want to customize mapping, cosminexus-jaxws.xml is not required. Note that even if you include cosminexus-jaxws.xml in the EJB JAR file, the cosminexus-jaxws.xml is not applied in the EJB Web Service.

For customization of mapping, see the subsection 10.2.2(1) Discovery.

Confirm that cosminexus-jaxws.xml is coded correctly, when you want to customize mapping. The cosminexus-jaxws.xml is read when the Web Service is initialized. Therefore, if an error occurs while cosminexus-jaxws.xml is being read, the initialization of the Web Service fails. For Web Service initialization, see the section 10.9(1) Initializing the Web Service.

This section describes the file name and storage destination of the cosminexus-jaxws.xml and the format:

Organization of this section
10.3.1 File name and storage destination of cosminexus-jaxws.xml
10.3.2 Format of cosminexus-jaxws.xml