EMA C++ Developers Guide : 6 Consuming Data from the Cloud : 6.9 Cloud Connection Use Cases : 6.9.2 Query Service Discovery
 
6.9.2 Query Service Discovery
Application has the option to do a service discovery, parse the results, and choose an endpoint to pass into API. The API exhibits the following behavior when application does an explicit service discovery:
1. Obtains a token (according to the details in Section 6.4.2).
2. Queries service discovery (according to the details in Section 6.6).
Enterprise Message API’s Consumer example (450__MarketPrice__QueryServiceDiscovery) provides sample source that discovers an endpoint using the service discovery feature and establishes an encrypted connection to consume data.