inspectServiceMapLibrary command

Use the inspectServiceMapLibrary command to inspect the service maps in a service map library in preparation for installing those service maps.

Purpose

The inspectServiceMapLibrary command inspects and validates the service maps in a service map library. You can use the information to make the following decisions: The inspectServiceMapLibrary returns a list of the service maps in the service map library. For each service map the following information is displayed:

Target object

None

Required parameters

-source
Specifies the name of the service map library .slibzip file that you want to inspect.

Optional parameters

None

Example usage

The following example shows how you inspect a service map library.

Using Jython:

Input message:
AdminTask.inspectServiceMapLibrary('-source servicemaplibrary.slibzip')
Output message:
'{srvcmapFile=myroutingservicemaps/ContentBasedRoute.srvcmap, name=ContentBasedRoute, sourceService={name=MyService, namespace=http://test, portType=MyServiceDelegate, binding=MyServicePortBinding}, targetServices=[{name=MyEnhancedService, namespace=http://test, service=MyEnhancedServiceService, port=MyEnhancedServicePort, binding=MyEnhancedServiceBinding, portType=MyEnhancedServicePortType, endpointURL=http://localhost:9080/MyEnhancedServiceService}, {name=MyEnhancedService2, namespace=http://test, service=MyEnhancedServiceService, port=MyEnhancedServicePort, binding=MyEnhancedServiceBinding, portType=MyEnhancedServicePortType, endpointURL=http://server:9080/MyOtherEnhancedService}]} {srvcmapFile=myroutingservicemaps/RerouteAndTransform.srvcmap, name=RerouteAndTransform, sourceService={name=ProductionService, namespace=http://www.example.org/ProductionService/, portType=ProductionService, binding=ProductionServiceSOAP}, targetServices=[{name=BackupService, namespace=http://www.example.org/BackupService/, service=BackupService, port=BackupServiceSOAP, binding=BackupServiceBinding, portType=BackupServicePortType, endpointURL=http://localhost:9080/BackupService}]} '

Using Jacl:

Input message:
$AdminTask inspectServiceMapLibrary {-source servicemaplibrary.slibzip}
Output message:
{srvcmapFile=myroutingservicemaps/ContentBasedRoute.srvcmap, name=ContentBasedRoute, sourceService={name=MyService, namespace=http://test, portType=MyServiceDelegate, binding=MyServicePortBinding}, targetServices=[{name=MyEnhancedService, namespace=http://test, service=MyEnhancedServiceService, port=MyEnhancedServicePort, binding=MyEnhancedServiceBinding, portType=MyEnhancedServicePortType, endpointURL=http://localhost:9080/MyEnhancedServiceService}, {name=MyEnhancedService2, namespace=http://test, service=MyEnhancedServiceService, port=MyEnhancedServicePort, binding=MyEnhancedServiceBinding, portType=MyEnhancedServicePortType, endpointURL=http://server:9080/MyOtherEnhancedService}]} {srvcmapFile=myroutingservicemaps/RerouteAndTransform.srvcmap, name=RerouteAndTransform, sourceService={name=ProductionService, namespace=http://www.example.org/ProductionService/, portType=ProductionService, binding=ProductionServiceSOAP}, targetServices=[{name=BackupService, namespace=http://www.example.org/BackupService/, service=BackupService, port=BackupServiceSOAP, binding=BackupServiceBinding, portType=BackupServicePortType, endpointURL=http://localhost:9080/BackupService}]}

Icon that indicates the type of topic Reference 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=rsm_inspectservicemaplibrarycmd
File name: rsm_inspectservicemaplibrarycmd.html