Uninstall a service map so that that service map, and the
rules it defines for routing and transforming requests, can no longer
be applied to any service mapping.
Before you begin
Before you uninstall a service map you must ensure that
that service map is not attached to a local mapping service.
Note: If
you uninstall a service map, that service map is deleted and is no
longer available to attach to a local mapping service.
About this task
You can uninstall a service map by using wsadmin commands,
or by using the administrative console as described in Uninstalling a service map by using the administrative console.
Procedure
- Launch wsadmin by starting the wsadmin scripting tool.
- Use the uninstallServiceMap command
to uninstall a service map that has been installed:
AdminTask.uninstallServiceMap("MyServiceMap")
The uninstallServiceMap uninstalls
the service map.
- Use the listServiceMaps command to display
a list of installed service maps in the cell, to check that the service
map was uninstalled:
AdminTask.listServiceMaps()
- 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 uninstalled the selected service maps.