You can configure and administer service mapping by using administrative commands with the wsadmin tool. Use the commands and parameters in the ServiceMappingCommands group to install, uninstall, create, delete, attach, and detach service maps and local mapping services in your configuration. You can also set event points on your local mapping services.
A service map represents the configuration of a service mapping. A service mapping links between one or more service clients and one or more service providers. A local mapping service provides the interception point for the requests. Use the following commands to manage your service mapping configurations:
To run these commands, use the AdminTask object of the wsadmin scripting client. See Using the wsadmin scripting AdminTask object for scripted administration and Starting the wsadmin scripting client using wsadmin scripting Each command acts on multiple objects in one operation. The commands are provided so that you can make the most commonly-required types of update in a consistent manner, where modifying the underlying objects directly would be error-prone.
The wsadmin scripting client is run from Qshell. For more information, see Configuring Qshell to run WebSphere® Application Server scripts.
print AdminTask.help('LMService')
print AdminTask.help('command_name')
You can use the administrative command interactive mode to guide you through the steps for each command when using wsadmin scripting. For more information about the interactive mode, see Administrative command interactive mode environment using wsadmin scripting.