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
- 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 the RetrieveServiceContent() method to retrieve the ServiceContent data object.
- Save the managed object reference to the service registration object.
With the service registration object, you can make registration queries.