WS_SERVICE_METADATA_DOCUMENT structure (webservices.h)

Specifies the individual documents that make up the service metadata.

Syntax

typedef struct _WS_SERVICE_METADATA_DOCUMENT {
  WS_XML_STRING *content;
  WS_STRING     *name;
} WS_SERVICE_METADATA_DOCUMENT;

Members

content

A WS_XML_STRING* representing the specific XML Schema, WSDL or a Policy document. The service model expects this to be valid for the lifetime of the WS_SERVICE_HOST.

name

The name of the document which will be suffixed to the URL path on which this document is serviced for HTTP GET support for metadata retrieval. Note that this can be set to NULL if the application is only using Ws-MetadataExchange 1.1 for servicing metadata request.

See WS_SERVICE_ENDPOINT_PROPERTY_METADATA_EXCHANGE_TYPE service endpoint property to see how to enable HTTP GET support or WS-MetadataExchange 1.1 for servicing metadata request.

Requirements

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