Connect to the Lookup
Service and Retrieve the Service Registration Object
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.
- Connect to the Lookup Service.
- Configure a connection stub for the Lookup Service endpoint, which uses SOAP bindings, by using the HTTPS protocol.
- Create a connection object to communicate with the Lookup Service.
- Retrieve the Service Registration Object.
- Create a managed object reference to the Service Instance.
- Invoke theRetrieveServiceContent()method to retrieve theServiceContentdata object.
- Save the managed object reference to the service registration object.With the service registration object, you can make registration queries.