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
- Launch wsadmin by starting the wsadmin scripting tool.
- 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.
- Save your configuration changes by using the following
command:
AdminConfig.save()
- 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.