Expand Minimize
This topic has not yet been rated - Rate this topic

WS_HTTP_RESPONSE_MAPPING_OPTIONS enumeration

A set of flags that control how HTTP responses are mapped to the message object.

Syntax


enum WS_HTTP_RESPONSE_MAPPING_OPTIONS {  WS_HTTP_RESPONSE_MAPPING_STATUS_CODE, 
  WS_HTTP_RESPONSE_MAPPING_STATUS_TEXT 

};

Constants

WS_HTTP_RESPONSE_MAPPING_STATUS_CODE

If this flag is specified, the status code of the HTTP response will be mapped to a message header named "StatusCode". The WsGetMappedHeader function can be used to retrieve the value from the message object.

WS_HTTP_RESPONSE_MAPPING_STATUS_TEXT

If this flag is specified, the status text of the HTTP response will be mapped to a message header named "StatusText". The WsGetMappedHeader function can be used to retrieve the value from the message object.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

WebServices.h

 

 

Send comments about this topic to Microsoft

Build date: 11/27/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.