Partager via


IWSDEndpointProxy (Compact 2013)

3/26/2014

This interface implements a device services messaging proxy.

The IWSDEndpointProxy interface inherits the methods of the IUnknown interface.

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

Method

Description

IWSDEndpointProxy::SendOneWayRequest

Sends a one-way request message.

IWSDEndpointProxy::SendTwoWayRequest

Sends a two-way request message using a synchronous call pattern.

IWSDEndpointProxy::SendTwoWayRequestAsync

Sends a two-way request message using an asynchronous call pattern.

IWSDEndpointProxy::AbortAsyncOperation

Aborts a pending asynchronous operation.

IWSDEndpointProxy::ProcessFault

Processes the fault information.

IWSDEndpointProxy::GetErrorInfo

Retrieves information on the last error.

IWSDEndpointProxy::GetFaultInfo

Retrieves information on the last received fault.

Remarks

Service proxy objects may reside on multiple endpoints. An endpoint more completely represents a URL (contains additional useful data). 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.

Endpoint proxies are generally used inside WSDAPI, but they can be retrieved from IWSDServiceProxy or IWSDDeviceProxy objects to expose message-level functionality.

Requirements

Header

wsdapi.h

Library

wsdapi.lib

See Also

Reference

Web Services on Devices Interfaces
Web Services on Devices Reference