WS_SERVICE_ENDPOINT_METADATA structure (webservices.h)

Represents the port element for the endpoint. The port element is generated for the service element as specified by serviceName and serviceNs for WS_SERVICE_PROPERTY_METADATA property on the WS_SERVICE_HOST.

Note, the port type will only be generated into the WSDL document if the service element is generated by the runtime.

Syntax

typedef struct _WS_SERVICE_ENDPOINT_METADATA {
  WS_XML_STRING *portName;
  WS_XML_STRING *bindingName;
  WS_XML_STRING *bindingNs;
} WS_SERVICE_ENDPOINT_METADATA;

Members

portName

The name of the port. The service model expects this to be valid for the lifetime of the WS_SERVICE_HOST.

bindingName

Name of the binding associated with the port. The service model expects this to be valid for the lifetime of the WS_SERVICE_HOST.

bindingNs

The namespace of the binding associated with the port. The service model expects this to be valid for the lifetime of the WS_SERVICE_HOST.

Requirements

   
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header webservices.h