Configuring a JAX-WS client to resolve a WS-Notification service WSDL without following web links
You 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 Version 7.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.
About this task
When a JAX-WS WS-Notification client application gets the WSDL file from a Version 7.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.xmlfile and thewsdldirectory from this directory to theWEB-INFdirectory for your application.