You must connect to the Lookup Service to gain access to its operations. After you connect to the Lookup Service, you must retrieve the service registration object to make registration queries.

Procedure

  1. Connect to the Lookup Service.
    1. Configure a connection stub for the Lookup Service endpoint, which uses SOAP bindings, by using the HTTPS protocol.
    2. Create a connection object to communicate with the Lookup Service.
  2. Retrieve the Service Registration Object.
    1. Create a managed object reference to the Service Instance.
    2. Invoke the RetrieveServiceContent() method to retrieve the ServiceContent data object.
    3. Save the managed object reference to the service registration object.
      With the service registration object, you can make registration queries.