Detaching a service map from a local mapping service by using the command line

Detach a service map from a local mapping service to stop that local mapping service from routing or transforming requests.

Before you begin

Ensure the service map is attached to at least one local mapping service.

About this task

You can detach a service map by using wsadmin commands, or by using the administrative console as described in Detaching a service map from a local mapping service by using the administrative console.

Procedure

  1. Launch wsadmin by starting the wsadmin scripting tool.
  2. Use the detachServiceMap command to detach the service map from a local mapping service, as the following Jython example shows:
    AdminTask.detachServiceMap('StockQuoteService')
    The system detaches the service map from the local mapping service.
  3. Save your configuration changes by using the following command:
    AdminConfig.save()
  4. If you are in a clustered environment, you must synchronize the nodes. Use the syncActiveNodes script in the AdminNodeManagement script library to synchronize each active node in your environment, as the following example demonstrates:
    AdminNodeManagement.syncActiveNodes()

Results

You have detached the service map from the selected local mapping service and requests are no longer rerouted or transformed.


Icon that indicates the type of topic Task topic

Terms and conditions for information centers | Feedback


Timestamp icon Last updated: Tuesday, 22 April 2014
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-express-iseries&topic=tsm_detachservicemap
File name: tsm_detachservicemap.html