IWSDServiceProxy Interface

Represents a remote WSD service for client applications and middleware.

Methods

The IWSDServiceProxy interface inherits from IWSDMetadataExchange.

In addition, IWSDServiceProxy defines the following methods.

MethodDescription

BeginGetMetadata

Initiates an asynchronous metadata exchange request with the remote service.

EndGetMetadata

Completes the asynchronous metadata exchange request and retrieves the service metadata from the response.

GetServiceMetadata

Retrieves the metadata for the IWSDServiceProxy object.

SubscribeToOperation

Subscribes to a notification or solicit/response event.

UnsubscribeToOperation

Cancels a subscription to a notification or solicit/response event.

SetEventingStatusCallback

Sets or clears the eventing status callback.

GetEndpointProxy

Gets the endpoint proxy for the device.

 

Remarks

Service proxy objects may reside on multiple endpoints. An endpoint more completely represents a URL (contains additional useful data). For example, one endpoint may support HTTP on IPv4 addresses and another may support HTTPS on IPv6 addresses. Since the same service lives on both endpoints, it is important that the service have underlying endpoint proxy objects, with each endpoint proxy corresponding to a single endpoint at which the service is available. The endpoint proxy takes care of simple messaging requests to the service, for example, sending one-way or two-way messages.

IWSDServiceProxy objects are employed to obtain service metadata, send messages to the service through a service proxy, subscribe to events on the service, and bind to proxies that provide type-specific semantics.

Requirements

Minimum supported clientWindows Vista
Minimum supported serverWindows Server 2008
HeaderWsdClient.h (include Wsdapi.h)
IDLWsdClient.idl
DLLWsdapi.dll

Send comments about this topic to Microsoft

Build date: 11/6/2009

Tags :


Page view tracker