WS_OPERATION_DESCRIPTION structure (webservices.h)

Metadata for the service operation.

Syntax

typedef struct _WS_OPERATION_DESCRIPTION {
  ULONG                    versionInfo;
  WS_MESSAGE_DESCRIPTION   *inputMessageDescription;
  WS_MESSAGE_DESCRIPTION   *outputMessageDescription;
  ULONG                    inputMessageOptions;
  ULONG                    outputMessageOptions;
  USHORT                   parameterCount;
  WS_PARAMETER_DESCRIPTION *parameterDescription;
  WS_SERVICE_STUB_CALLBACK stubCallback;
  WS_OPERATION_STYLE       style;
} WS_OPERATION_DESCRIPTION;

Members

versionInfo

Defines the version information. Currently value is 1.

inputMessageDescription

The description of incoming WS_MESSAGE for a given service operation.

outputMessageDescription

The description of outgoing WS_MESSAGE for a given service operation. For one way operations this should be NULL.

inputMessageOptions

Provides additional flags for the in message of the operation. See WS_SERVICE_OPERATION_MESSAGE_OPTION for a list of flags. If no flags are needed, this may be 0.

WS_SERVICE_OPERATION_MESSAGE_NILLABLE_ELEMENT is not applicable to WS_RPC_LITERAL_OPERATION style operations. The input parameter must be with type of WS_PARAMETER_TYPE_MESSAGES.

outputMessageOptions

Provides additional flags for the out message of the operation. See WS_SERVICE_OPERATION_MESSAGE_OPTION for a list of flags. If out message is not available, or no flags are needed, this may be 0.

WS_SERVICE_OPERATION_MESSAGE_NILLABLE_ELEMENT is not applicable to WS_RPC_LITERAL_OPERATION style operations. The output parameter must be with type of WS_PARAMETER_TYPE_MESSAGES.

parameterCount

The number of parameters on the given service operation.

parameterDescription

An array defining the individual parameters.

stubCallback

A pointer to the stub function for the given operation to which the service model will delegate to do the service operation call. This will be NULL for proxies.

style

Requirements

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