uCosminexus Application Server, Web Service Development Guide

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

27.6.2 Storing the catalog file

As per the restrictions on the file system on your OS and the Java EE 6 specifications, store the catalog file in the following places.

Organization of this subsection
(1) When developing a Web Services client
(2) When starting the Web client

(1) When developing a Web Services client

Specify the path of the catalog file in the arguments of the -catalog option of the cjwsimport command. You can specify any name for the catalog file. For details, see Notes for specifying the -catalog option of 14.1(2) List of options. If reading of the catalog file fails, a warning message (KDJW51221-W) is output to the standard error output and the process continues with the catalog functionality disabled.

(2) When starting the Web client

Save the catalog file as jax-ws-catalog.xml directly under the META-INF directory. If reading of the catalog file fails, a message (KDJW30023-W) is output to the log and the process continues with the catalog functionality disabled. The operation is not guaranteed if multiple catalog files are stored. For example, the operation is not guaranteed if multiple JAR files with the name jax-ws-catalog.xml are added to the class path.