Network Deployment (Distributed operating systems), v8.0 > Administer applications and their environment > Administer web services - Notification (WS-Notification) > Use WS-Notification for publish and subscribe messaging for web services > Configure WS-Notification resources
Configure a JAX-WS client to resolve a WS-Notification service WSDL without following web links
We can configure a Java API for XML-based Web Services (JAX-WS) WS-Notification application (that is, a publisher, subscriber or consumer application) to resolve the WSDL parts for a v7.0 WS-Notification service from a local copy of the associated jax-ws-catalog.xml file and wsdl directory, rather than by following a series of web links.
When a JAX-WS WS-Notification client application gets the WSDL file from a v7.0 WS-Notification service, the client application expects to resolve the imported WSDL parts by following web links. However, if you copy the jax-ws-catalog.xml file and the wsdl directory for the WS-Notification service into the local file system for the client application, then the client application can resolve the imported WSDL parts from the local copy.
Procedure
- Open a command prompt.
- Navigate to directory PROFILE_ROOT/config/cells/cell_name/buses/bus_name/wsn/wsn_service_name/META-INF, where PROFILE_ROOT is the directory in which profile-specific information is stored.
- Copy the jax-ws-catalog.xml file and the wsdl directory from this directory to the WEB-INF directory for the application.
Results
Your JAX-WS WS-Notification client application can resolve the WSDL parts for the WS-Notification service from the local copy of the catalog.