Java TM API for XML Web Services
(JAX-WS)

Catalog Support

Specification Version: 2.2
Implementation Version: 2.2.1

Catalog Support

Often times, such as for performance reason or your application specific needs, you have a need where you want to resolve the WSDL/Schema documents resolved from the copy of it you have either bundled with your client or server or just to resolve it not from where a WSDL/schema imports points to but rather from where you want it to be picked up.

A Sample catalog file

jax-ws-catalog.xml

<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer=" system">
    < system systemId=" http://foo.org/hello?wsdl" uri="HelloService.wsdl"/>
</catalog>

Location of the catalog file

For details on XML catalog see here.