WS_SERVICE_METADATA structure (webservices.h)

Specifies the service metadata documents array. This can be a collection of WSDL/XSD documents represented as an array of WS_STRING.

Syntax

typedef struct _WS_SERVICE_METADATA {
  ULONG                        documentCount;
  WS_SERVICE_METADATA_DOCUMENT **documents;
  WS_XML_STRING                *serviceName;
  WS_XML_STRING                *serviceNs;
} WS_SERVICE_METADATA;

Members

documentCount

The count of metadata documents being specified.

documents

A WS_SERVICE_METADATA_DOCUMENT* array where element represents a WS_SERVICE_METADATA_DOCUMENT for each individual XML Schema, WSDL or a Policy document. The service model expects this to be valid for the lifetime of the WS_SERVICE_HOST.

serviceName

Reference to WS_XML_STRING representing the name of the service in the WSDL document. Note that this field must be specified along with the serviceNs field. The service model expects this to be valid for the lifetime of the WS_SERVICE_HOST.

serviceNs

Reference to WS_XML_STRING representing the namespace of the service in the WSDL document. Note that this field must be specified along with the serviceName field. The service model expects this to be valid for the lifetime of the WS_SERVICE_HOST.

Requirements

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