structure WS_SERVICE_ENDPOINT (webservices.h)

Représente un point de terminaison individuel sur un hôte de service. Les propriétés du point de terminaison sont utilisées pour spécifier l’adresse, la liaison et le contrat.

Syntaxe

typedef struct _WS_SERVICE_ENDPOINT {
  WS_ENDPOINT_ADDRESS                address;
  WS_CHANNEL_BINDING                 channelBinding;
  WS_CHANNEL_TYPE                    channelType;
  const WS_SECURITY_DESCRIPTION      *securityDescription;
  const WS_SERVICE_CONTRACT          *contract;
  WS_SERVICE_SECURITY_CALLBACK       authorizationCallback;
  const WS_SERVICE_ENDPOINT_PROPERTY *properties;
  ULONG                              propertyCount;
  WS_CHANNEL_PROPERTIES              channelProperties;
} WS_SERVICE_ENDPOINT;

Membres

address

Adresse URL sur laquelle le point de terminaison va écouter.

channelBinding

Liaison pour le canal/écouteur.

channelType

Type de canal hébergé par le point de terminaison.

securityDescription

Description de la sécurité requise pour ce canal. Cette valeur peut être NULL si aucune sécurité n’est requise.

contract

Contrat du point de terminaison.

authorizationCallback

Rappel d’autorisation pour le point de terminaison de service.

properties

Tableau de propriétés pour configurer le point de terminaison de service.

propertyCount

Nombre d’éléments dans le tableau WS_SERVICE_ENDPOINT_PROPERTY.

channelProperties

Propriétés de canal associées au point de terminaison. Une application doit être attentive à la modification des valeurs par défaut. Par exemple, la modification des délais d’envoi/réception peut entraîner un comportement inattendu et provoquer l’échec du client.

Configuration requise

Condition requise Valeur
Client minimal pris en charge Windows 7 [applications de bureau | Applications UWP]
Serveur minimal pris en charge Windows Server 2008 R2 [applications de bureau | Applications UWP]
En-tête webservices.h