COSMOS User's Guide

Brokers Registered at the Management Domain Query

  1. Execute <cosmos-demo>\bin\domainEPR.bat. This program prompts you for your hostname and the port number of the web server, and prints out the Endpoint Reference (EPR) of the management domain. This reference is expressed in XML format. Copy the EPR of the management domain to a scratch editor window, such as Notepad, for later use.
  2. If the COSMOS command line client has not started, execute <cosmos-demo>\cosmos-client\cosmosClient.bat.
  3. Obtain a list of Brokers at the management domain with the domain getBrokers command. The sample shown below is displayed.
    COSMOS> domain getBrokers 
    Management Domain EPR (terminate by an empty line): 
    <?xml version="1.0" encoding="UTF-8"?>
    <wsa:EndpointReference xmlns:wsa="http://www.w3.org/2005/08/addressing"> 
        <wsa:Address>http://localhost:8080/cosmos/services/domain/wsa:Address> 
    </wsa:EndpointReference> 
     
    EPR of brokers: 
    Broker 1: 
    <?xml version="1.0" encoding="UTF-8"?> 
    <wsa:EndpointReference xmlns:wsa="http://www.w3.org/2005/08/addressing"> 
        <wsa:ReferenceParameters xmlns:wsa="http://www.w3.org/2005/08/addressing"/> 
        <wsa:Address xmlns:wsa="http://www.w3.org/2005/08/addressing">
           http://localhost:8080/cosmos/services/broker/wsa:Address> 
    </wsa:EndpointReference>
    


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]