Share via


Discovering Services Using the DPWS Client

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Seek and retrieve services using Probe and Resolve methods before sending a request to a Web Service. 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.