Partager via


IWSDServiceProxy (Compact 2013)

3/26/2014

This interface represents a remote WSD service for client applications and middleware.

The IWSDServiceProxy interface inherits the methods of the IWSDMetadataExchange interface.

In addition, the following table lists the methods supported by the IWSDServiceProxy interface in vtable order.

Method

Description

IWSDServiceProxy::BeginGetMetadata

Initiates an asynchronous metadata exchange request with the remote service.

IWSDServiceProxy::EndGetMetadata

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

IWSDServiceProxy::GetServiceMetadata

Retrieves the metadata for the IWSDServiceProxy object.

IWSDServiceProxy::SubscribeToOperation

Subscribes to a notification or solicit/response event.

IWSDServiceProxy::UnsubscribeToOperation

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

IWSDServiceProxy::SetEventingStatusCallback

Sets or clears the eventing status callback.

IWSDServiceProxy::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

Header

wsdapi.h

Library

wsdapi.lib

See Also

Reference

Web Services on Devices Interfaces
Web Services on Devices Reference