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. Get 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 ]