showService command to show the structure of the service specified by the friendly name, qualified name, or URL of any endpoint for this service. You can also specify a single version of the service (-version) or the display of more detailed information (-verbose).
The non-verbose output includes: the version number, the qualified name of the service, its friendly name, its binding, who it is managed by and its full URL.
btmcli showService -n friendlyName | -qname qname| -e endpointUrl | -wwsdlUrl [-V version] [-v] -s sphereUrl -l username:password
|-n||-name||The friendly name of the service for which information is sought. You can qualify the name using the-versionflag. Otherwise, information about all the services with the friendly name is displayed.|
|-qname||--||The qualified name of the service for which information is sought. The qualified name has the form WSDLtargetNamespace:serviceName. For example: http://amberpoint.com/orderService:CreditServiceSOAP.|
|-e||-endpointUrl||The URL of any endpoint of the service. If multiple services define endpoints at this location, information about all these services is displayed.|
|-w||-wsdlUrl||The URL of the WSDL file that defines one or more of the service endpoints.|
|-V||-version||The version of the service for which information is displayed.
Use the "-" string to represent the default, unnamed version.
|-v||-verbose||Display additional information for each endpoint.|
|-s||-sphereUrl||The URL of the sphere. http://hostname:port/btmcentral/sphere/
This flag is not required if you have set the AP_SPHERE_URL environment variable for your sphere.
|-l||-userLogin||The username and password associated with the sphere, in the format: username:password. This set of credentials must belong to a user in the btmadmin role.
See Security Options in Accessing CLI Commands for information on furnishing login credentials.
You can encrypt passwords using the
The following shows the output to some sample commands.
btmcli showService -n OrderService OrderService (Version -) QName: http://amberpoint.com/orderService:OrderService Name: OrderServiceSOAP Binding: SOAP/HTTP Managed by: Monitored by Observer http://islam.us.oracle.com:7412/bookmart/order/OrderSerrvice btmcli showService -qname http://schemas.amberpoint.com/sphere:SphereService AP_Sphere_Service (Version 188.8.131.52-ExM-Hegemony) QName: http://schemas.amberpoint.com/sphere:SphereService Name: AP_Sphere_Service_SOAP Binding: SOAP/HTTP Managed by: AmberPoint AP_Core_Service http://islam.us.oracle.com:8080/btmcentral/sphere/
The following example uses the
showService command to display information for the service defined by the specified wsdl:
btmcli showService -w http://jbujes-desk.edgility.com:7001/bookmart/credit/CreditService?wsdl -s http://localhost:8080/btmcentral/sphere -l admin:abracadabra