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

  1. Open a command prompt.
  2. 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.
  3. Copy the jax-ws-catalog.xml file and the wsdl directory from this directory to the WEB-INF directory for your 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.
Task topic Task topic    

Terms of Use | Feedback

Last updatedLast updated: Sep 19, 2011 7:16:32 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=matt&product=was-express-iseries&topic=tjwsn_no_web
File name: tjwsn_no_web.html