Skip Headers
Oracle Business Transaction Management Online Help
Release 12.1.0.2

E26585-05
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

showService

Use the 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.

Command Syntax

btmcli showService -n friendlyName  | -qname qname| -e endpointUrl 
                                                               | -wwsdlUrl
                   [-V version] [-v] 
                   -s sphereUrl -l username:password
Name Long Name Description
-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 encryptPassword command.


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 7.0.0.0-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/
 

Example

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