29.3. Using a JAX-WS Catalog
a standard catalog facility to be used when resolving any Web service document that is part of the description of a Web service, specifically WSDL and XML Schema documents.
Writing the catalog
- a document's public identifier and/or a system identifier to a URI.
- the URI of a resource to another URI.
Table 29.1. Common JAX-WS Catalog Elements
|Maps a URI to an alternate URI.|
|Rewrites the beginning of a URI. For example, this element allows you to map all URIs that start with http://cxf.apache.org to URIs that start with classpath:.|
|Maps a URI to an alternate URI based on the suffix of the original URI. For example you could map all URIs that end in foo.xsd to classpath:foo.xsd.|
Packaging the catalog
META-INF/jax-ws-catalog.xml. If your application is packaged into a single JAR, or WAR, you can place the catalog into a single file.