Discovering Services Using the DPWS Client

Discovering Services Using the DPWS Client

This topic explains how to discover services using the DpwsClient class. A DPWS client derives from Dpws.Client.DpwsClient class, which provides a DpwsDiscoveryClient member for sending Probe and Resolve messages. A Probe message is a WS-Discovery message used by a client to search for services on the network by service type, and a Resolve message is a WS-Discovery message used by a client to search for services on the network by name. The Probe and Resolve methods of DpwsDiscoveryClient both return collections of DpwsServiceDescription objects that describe the discovered service endpoints. Once the client has a service endpoint's information, the client can send a request to a Web service.
Show:
© 2016 Microsoft