2 * Copyright 2015 Nikolay Sivov for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __WINE_WEBSERVICES_H
20 #define __WINE_WEBSERVICES_H
24 #endif /* __cplusplus */
26 typedef struct _WS_ERROR WS_ERROR
;
27 typedef struct _WS_HEAP WS_HEAP
;
28 typedef struct _WS_XML_BUFFER WS_XML_BUFFER
;
29 typedef struct _WS_XML_READER WS_XML_READER
;
30 typedef struct _WS_XML_WRITER WS_XML_WRITER
;
31 typedef struct _WS_PROXY_PROPERTY WS_PROXY_PROPERTY
;
32 typedef struct _WS_SECURITY_DESCRIPTION WS_SECURITY_DESCRIPTION
;
33 typedef struct _WS_CHANNEL_PROPERTY WS_CHANNEL_PROPERTY
;
34 typedef struct _WS_SERVICE_PROXY WS_SERVICE_PROXY
;
35 typedef struct _WS_SECURITY_BINDING_PROPERTY WS_SECURITY_BINDING_PROPERTY
;
36 typedef struct _WS_SECURITY_PROPERTY WS_SECURITY_PROPERTY
;
37 typedef struct _WS_SECURITY_PROPERTIES WS_SECURITY_PROPERTIES
;
38 typedef struct _WS_SECURITY_BINDING WS_SECURITY_BINDING
;
39 typedef struct _WS_CHANNEL WS_CHANNEL
;
40 typedef struct _WS_MESSAGE_PROPERTY WS_MESSAGE_PROPERTY
;
41 typedef struct _WS_MESSAGE_PROPERTIES WS_MESSAGE_PROPERTIES
;
42 typedef struct _WS_HTTP_BINDING_TEMPLATE WS_HTTP_BINDING_TEMPLATE
;
43 typedef struct _WS_HTTP_SSL_BINDING_TEMPLATE WS_HTTP_SSL_BINDING_TEMPLATE
;
44 typedef struct _WS_CHANNEL_PROPERTIES WS_CHANNEL_PROPERTIES
;
45 typedef struct _WS_SSL_TRANSPORT_SECURITY_BINDING_TEMPLATE WS_SSL_TRANSPORT_SECURITY_BINDING_TEMPLATE
;
46 typedef struct _WS_SECURITY_BINDING_PROPERTIES WS_SECURITY_BINDING_PROPERTIES
;
47 typedef struct _WS_CERT_CREDENTIAL WS_CERT_CREDENTIAL
;
48 typedef struct _WS_ENDPOINT_ADDRESS WS_ENDPOINT_ADDRESS
;
49 typedef struct _WS_ENDPOINT_IDENTITY WS_ENDPOINT_IDENTITY
;
50 typedef struct _WS_ENUM_DESCRIPTION WS_ENUM_DESCRIPTION
;
51 typedef struct _WS_ENUM_VALUE WS_ENUM_VALUE
;
52 typedef struct _WS_HTTP_POLICY_DESCRIPTION WS_HTTP_POLICY_DESCRIPTION
;
53 typedef struct _WS_MESSAGE WS_MESSAGE
;
54 typedef struct _WS_MESSAGE_DESCRIPTION WS_MESSAGE_DESCRIPTION
;
55 typedef struct _WS_OPERATION_DESCRIPTION WS_OPERATION_DESCRIPTION
;
56 typedef struct _WS_PARAMETER_DESCRIPTION WS_PARAMETER_DESCRIPTION
;
57 typedef struct _WS_OPERATION_CONTEXT WS_OPERATION_CONTEXT
;
58 typedef struct _WS_CALL_PROPERTY WS_CALL_PROPERTY
;
59 typedef struct _WS_FLOAT_DESCRIPTION WS_FLOAT_DESCRIPTION
;
60 typedef struct _WS_DOUBLE_DESCRIPTION WS_DOUBLE_DESCRIPTION
;
61 typedef struct _WS_DATETIME WS_DATETIME
;
62 typedef struct _WS_XML_DATETIME_TEXT WS_XML_DATETIME_TEXT
;
63 typedef struct _WS_XML_BASE64_TEXT WS_XML_BASE64_TEXT
;
64 typedef struct _WS_DATETIME_DESCRIPTION WS_DATETIME_DESCRIPTION
;
65 typedef struct _WS_GUID_DESCRIPTION WS_GUID_DESCRIPTION
;
66 typedef struct _WS_UNIQUE_ID_DESCRIPTION WS_UNIQUE_ID_DESCRIPTION
;
67 typedef struct _WS_BYTES_DESCRIPTION WS_BYTES_DESCRIPTION
;
68 typedef struct _WS_URL WS_URL
;
69 typedef struct _WS_HTTP_URL WS_HTTP_URL
;
70 typedef struct _WS_HTTPS_URL WS_HTTPS_URL
;
71 typedef struct _WS_NETTCP_URL WS_NETTCP_URL
;
72 typedef struct _WS_SOAPUDP_URL WS_SOAPUDP_URL
;
73 typedef struct _WS_NETPIPE_URL WS_NETPIPE_URL
;
74 typedef struct _WS_CUSTOM_CHANNEL_CALLBACKS WS_CUSTOM_CHANNEL_CALLBACKS
;
75 typedef struct _WS_CHANNEL_ENCODER WS_CHANNEL_ENCODER
;
76 typedef struct _WS_CHANNEL_DECODER WS_CHANNEL_DECODER
;
77 typedef struct _WS_CUSTOM_HTTP_PROXY WS_CUSTOM_HTTP_PROXY
;
78 typedef struct _WS_HTTP_MESSAGE_MAPPING WS_HTTP_MESSAGE_MAPPING
;
79 typedef struct _WS_HTTP_HEADER_MAPPING WS_HTTP_HEADER_MAPPING
;
80 typedef struct _WS_HTTP_REDIRECT_CALLBACK_CONTEXT WS_HTTP_REDIRECT_CALLBACK_CONTEXT
;
81 typedef struct _WS_PROXY_MESSAGE_CALLBACK_CONTEXT WS_PROXY_MESSAGE_CALLBACK_CONTEXT
;
82 typedef struct _WS_LISTENER WS_LISTENER
;
83 typedef struct _WS_LISTENER_PROPERTY WS_LISTENER_PROPERTY
;
84 typedef struct _WS_DISALLOWED_USER_AGENT_SUBSTRINGS WS_DISALLOWED_USER_AGENT_SUBSTRINGS
;
85 typedef struct _WS_LISTENER_PROPERTIES WS_LISTENER_PROPERTIES
;
86 typedef struct _WS_CUSTOM_LISTENER_CALLBACKS WS_CUSTOM_LISTENER_CALLBACKS
;
88 struct _WS_STRUCT_DESCRIPTION
;
89 struct _WS_XML_STRING
;
92 WS_ERROR_PROPERTY_STRING_COUNT
,
93 WS_ERROR_PROPERTY_ORIGINAL_ERROR_CODE
,
94 WS_ERROR_PROPERTY_LANGID
95 } WS_ERROR_PROPERTY_ID
;
97 typedef struct _WS_ERROR_PROPERTY
{
98 WS_ERROR_PROPERTY_ID id
;
104 WS_HEAP_PROPERTY_MAX_SIZE
,
105 WS_HEAP_PROPERTY_TRIM_SIZE
,
106 WS_HEAP_PROPERTY_REQUESTED_SIZE
,
107 WS_HEAP_PROPERTY_ACTUAL_SIZE
108 } WS_HEAP_PROPERTY_ID
;
110 typedef struct _WS_HEAP_PROPERTY
{
111 WS_HEAP_PROPERTY_ID id
;
116 typedef ULONG WS_XML_BUFFER_PROPERTY_ID
;
118 typedef struct _WS_XML_BUFFER_PROPERTY
{
119 WS_XML_BUFFER_PROPERTY_ID id
;
122 } WS_XML_BUFFER_PROPERTY
;
125 WS_XML_READER_PROPERTY_MAX_DEPTH
,
126 WS_XML_READER_PROPERTY_ALLOW_FRAGMENT
,
127 WS_XML_READER_PROPERTY_MAX_ATTRIBUTES
,
128 WS_XML_READER_PROPERTY_READ_DECLARATION
,
129 WS_XML_READER_PROPERTY_CHARSET
,
130 WS_XML_READER_PROPERTY_ROW
,
131 WS_XML_READER_PROPERTY_COLUMN
,
132 WS_XML_READER_PROPERTY_UTF8_TRIM_SIZE
,
133 WS_XML_READER_PROPERTY_STREAM_BUFFER_SIZE
,
134 WS_XML_READER_PROPERTY_IN_ATTRIBUTE
,
135 WS_XML_READER_PROPERTY_STREAM_MAX_ROOT_MIME_PART_SIZE
,
136 WS_XML_READER_PROPERTY_STREAM_MAX_MIME_HEADERS_SIZE
,
137 WS_XML_READER_PROPERTY_MAX_MIME_PARTS
,
138 WS_XML_READER_PROPERTY_ALLOW_INVALID_CHARACTER_REFERENCES
,
139 WS_XML_READER_PROPERTY_MAX_NAMESPACES
140 } WS_XML_READER_PROPERTY_ID
;
142 typedef struct _WS_XML_READER_PROPERTY
{
143 WS_XML_READER_PROPERTY_ID id
;
146 } WS_XML_READER_PROPERTY
;
149 WS_XML_WRITER_PROPERTY_MAX_DEPTH
,
150 WS_XML_WRITER_PROPERTY_ALLOW_FRAGMENT
,
151 WS_XML_WRITER_PROPERTY_MAX_ATTRIBUTES
,
152 WS_XML_WRITER_PROPERTY_WRITE_DECLARATION
,
153 WS_XML_WRITER_PROPERTY_INDENT
,
154 WS_XML_WRITER_PROPERTY_BUFFER_TRIM_SIZE
,
155 WS_XML_WRITER_PROPERTY_CHARSET
,
156 WS_XML_WRITER_PROPERTY_BUFFERS
,
157 WS_XML_WRITER_PROPERTY_BUFFER_MAX_SIZE
,
158 WS_XML_WRITER_PROPERTY_BYTES
,
159 WS_XML_WRITER_PROPERTY_IN_ATTRIBUTE
,
160 WS_XML_WRITER_PROPERTY_MAX_MIME_PARTS_BUFFER_SIZE
,
161 WS_XML_WRITER_PROPERTY_INITIAL_BUFFER
,
162 WS_XML_WRITER_PROPERTY_ALLOW_INVALID_CHARACTER_REFERENCES
,
163 WS_XML_WRITER_PROPERTY_MAX_NAMESPACES
,
164 WS_XML_WRITER_PROPERTY_BYTES_WRITTEN
,
165 WS_XML_WRITER_PROPERTY_BYTES_TO_CLOSE
,
166 WS_XML_WRITER_PROPERTY_COMPRESS_EMPTY_ELEMENTS
,
167 WS_XML_WRITER_PROPERTY_EMIT_UNCOMPRESSED_EMPTY_ELEMENTS
168 } WS_XML_WRITER_PROPERTY_ID
;
170 typedef struct _WS_XML_WRITER_PROPERTY
{
171 WS_XML_WRITER_PROPERTY_ID id
;
174 } WS_XML_WRITER_PROPERTY
;
176 typedef struct _WS_BYTES
{
181 typedef struct _WS_BUFFERS
{
187 WS_XML_READER_ENCODING_TYPE_TEXT
= 1,
188 WS_XML_READER_ENCODING_TYPE_BINARY
= 2,
189 WS_XML_READER_ENCODING_TYPE_MTOM
= 3,
190 WS_XML_READER_ENCODING_TYPE_RAW
= 4
191 } WS_XML_READER_ENCODING_TYPE
;
193 typedef struct _WS_XML_READER_ENCODING
{
194 WS_XML_READER_ENCODING_TYPE encodingType
;
195 } WS_XML_READER_ENCODING
;
198 WS_XML_WRITER_ENCODING_TYPE_TEXT
= 1,
199 WS_XML_WRITER_ENCODING_TYPE_BINARY
= 2,
200 WS_XML_WRITER_ENCODING_TYPE_MTOM
= 3,
201 WS_XML_WRITER_ENCODING_TYPE_RAW
= 4
202 } WS_XML_WRITER_ENCODING_TYPE
;
204 typedef struct _WS_XML_WRITER_ENCODING
{
205 WS_XML_WRITER_ENCODING_TYPE encodingType
;
206 } WS_XML_WRITER_ENCODING
;
215 typedef struct _WS_XML_DICTIONARY
{
217 struct _WS_XML_STRING
*strings
;
222 typedef struct _WS_XML_STRING
{
225 WS_XML_DICTIONARY
*dictionary
;
229 typedef struct _WS_XML_READER_TEXT_ENCODING
{
230 WS_XML_READER_ENCODING encoding
;
232 } WS_XML_READER_TEXT_ENCODING
;
234 typedef struct _WS_XML_READER_BINARY_ENCODING
{
235 WS_XML_READER_ENCODING encoding
;
236 WS_XML_DICTIONARY
*staticDictionary
;
237 WS_XML_DICTIONARY
*dynamicDictionary
;
238 } WS_XML_READER_BINARY_ENCODING
;
240 typedef struct _WS_XML_WRITER_TEXT_ENCODING
{
241 WS_XML_WRITER_ENCODING encoding
;
243 } WS_XML_WRITER_TEXT_ENCODING
;
245 typedef HRESULT (CALLBACK
*WS_DYNAMIC_STRING_CALLBACK
)
246 (void*, const WS_XML_STRING
*, BOOL
*, ULONG
*, WS_ERROR
*);
248 typedef struct _WS_XML_WRITER_BINARY_ENCODING
{
249 WS_XML_WRITER_ENCODING encoding
;
250 WS_XML_DICTIONARY
*staticDictionary
;
251 WS_DYNAMIC_STRING_CALLBACK dynamicStringCallback
;
252 void *dynamicStringCallbackState
;
253 } WS_XML_WRITER_BINARY_ENCODING
;
256 WS_XML_READER_INPUT_TYPE_BUFFER
= 1,
257 WS_XML_READER_INPUT_TYPE_STREAM
= 2
258 } WS_XML_READER_INPUT_TYPE
;
261 WS_XML_WRITER_OUTPUT_TYPE_BUFFER
= 1,
262 WS_XML_WRITER_OUTPUT_TYPE_STREAM
= 2
263 } WS_XML_WRITER_OUTPUT_TYPE
;
265 typedef struct _WS_XML_READER_INPUT
{
266 WS_XML_READER_INPUT_TYPE inputType
;
267 } WS_XML_READER_INPUT
;
269 typedef struct _WS_XML_WRITER_OUTPUT
{
270 WS_XML_WRITER_OUTPUT_TYPE outputType
;
271 } WS_XML_WRITER_OUTPUT
;
273 typedef struct _WS_XML_READER_BUFFER_INPUT
{
274 WS_XML_READER_INPUT input
;
276 ULONG encodedDataSize
;
277 } WS_XML_READER_BUFFER_INPUT
;
279 typedef struct _WS_XML_WRITER_BUFFER_OUTPUT
{
280 WS_XML_WRITER_OUTPUT output
;
281 } WS_XML_WRITER_BUFFER_OUTPUT
;
288 typedef void (CALLBACK
*WS_ASYNC_CALLBACK
)
289 (HRESULT
, WS_CALLBACK_MODEL
, void *);
291 typedef struct _WS_ASYNC_CONTEXT
{
292 WS_ASYNC_CALLBACK callback
;
296 typedef HRESULT (CALLBACK
*WS_READ_CALLBACK
)
297 (void*, void*, ULONG
, ULONG
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
299 typedef struct _WS_XML_READER_STREAM_INPUT
{
300 WS_XML_READER_INPUT input
;
301 WS_READ_CALLBACK readCallback
;
302 void *readCallbackState
;
303 } WS_XML_READER_STREAM_INPUT
;
305 typedef HRESULT (CALLBACK
*WS_WRITE_CALLBACK
)
306 (void*, const WS_BYTES
*, ULONG
, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
308 typedef struct _WS_XML_WRITER_STREAM_OUTPUT
{
309 WS_XML_WRITER_OUTPUT output
;
310 WS_WRITE_CALLBACK writeCallback
;
311 void *writeCallbackState
;
312 } WS_XML_WRITER_STREAM_OUTPUT
;
315 WS_ELEMENT_TYPE_MAPPING
= 1,
316 WS_ATTRIBUTE_TYPE_MAPPING
= 2,
317 WS_ELEMENT_CONTENT_TYPE_MAPPING
= 3,
318 WS_ANY_ELEMENT_TYPE_MAPPING
= 4
350 WS_ENDPOINT_ADDRESS_TYPE
,
356 WS_ANY_ATTRIBUTES_TYPE
360 WS_READ_REQUIRED_VALUE
= 1,
361 WS_READ_REQUIRED_POINTER
= 2,
362 WS_READ_OPTIONAL_POINTER
= 3,
363 WS_READ_NILLABLE_POINTER
= 4,
364 WS_READ_NILLABLE_VALUE
= 5
368 WS_WRITE_REQUIRED_VALUE
= 1,
369 WS_WRITE_REQUIRED_POINTER
= 2,
370 WS_WRITE_NILLABLE_VALUE
= 3,
371 WS_WRITE_NILLABLE_POINTER
= 4
374 typedef struct _WS_BOOL_DESCRIPTION
{
376 } WS_BOOL_DESCRIPTION
;
378 typedef struct _WS_INT8_DESCRIPTION
{
381 } WS_INT8_DESCRIPTION
;
383 typedef struct _WS_INT16_DESCRIPTION
{
386 } WS_INT16_DESCRIPTION
;
388 typedef struct _WS_INT32_DESCRIPTION
{
391 } WS_INT32_DESCRIPTION
;
393 typedef struct _WS_INT64_DESCRIPTION
{
394 __int64
DECLSPEC_ALIGN(8) minValue
;
395 __int64
DECLSPEC_ALIGN(8) maxValue
;
396 } WS_INT64_DESCRIPTION
;
398 typedef struct _WS_UINT8_DESCRIPTION
{
401 } WS_UINT8_DESCRIPTION
;
403 typedef struct _WS_UINT16_DESCRIPTION
{
406 } WS_UINT16_DESCRIPTION
;
408 typedef struct _WS_UINT32_DESCRIPTION
{
411 } WS_UINT32_DESCRIPTION
;
413 typedef struct _WS_UINT64_DESCRIPTION
{
414 unsigned __int64
DECLSPEC_ALIGN(8) minValue
;
415 unsigned __int64
DECLSPEC_ALIGN(8) maxValue
;
416 } WS_UINT64_DESCRIPTION
;
418 typedef struct _WS_WSZ_DESCRIPTION
{
421 } WS_WSZ_DESCRIPTION
;
423 typedef struct _WS_STRING_DESCRIPTION
{
426 } WS_STRING_DESCRIPTION
;
428 typedef struct _WS_XML_STRING_DESCRIPTION
{
431 } WS_XML_STRING_DESCRIPTION
;
433 typedef struct _WS_XML_QNAME_DESCRIPTION
{
434 ULONG minLocalNameByteCount
;
435 ULONG maxLocalNameByteCount
;
436 ULONG minNsByteCount
;
437 ULONG maxNsByteCount
;
438 } WS_XML_QNAME_DESCRIPTION
;
440 struct _WS_ENUM_VALUE
{
445 struct _WS_ENUM_DESCRIPTION
{
446 WS_ENUM_VALUE
*values
;
452 struct _WS_FLOAT_DESCRIPTION
{
457 struct _WS_DOUBLE_DESCRIPTION
{
458 double DECLSPEC_ALIGN(8) minValue
;
459 double DECLSPEC_ALIGN(8) maxValue
;
462 struct _WS_GUID_DESCRIPTION
{
466 struct _WS_UNIQUE_ID_DESCRIPTION
{
471 struct _WS_BYTES_DESCRIPTION
{
477 WS_TYPE_ATTRIBUTE_FIELD_MAPPING
,
478 WS_ATTRIBUTE_FIELD_MAPPING
,
479 WS_ELEMENT_FIELD_MAPPING
,
480 WS_REPEATING_ELEMENT_FIELD_MAPPING
,
481 WS_TEXT_FIELD_MAPPING
,
483 WS_XML_ATTRIBUTE_FIELD_MAPPING
,
484 WS_ELEMENT_CHOICE_FIELD_MAPPING
,
485 WS_REPEATING_ELEMENT_CHOICE_FIELD_MAPPING
,
486 WS_ANY_ELEMENT_FIELD_MAPPING
,
487 WS_REPEATING_ANY_ELEMENT_FIELD_MAPPING
,
488 WS_ANY_CONTENT_FIELD_MAPPING
,
489 WS_ANY_ATTRIBUTES_FIELD_MAPPING
492 typedef struct _WS_DEFAULT_VALUE
{
497 typedef struct _WS_ITEM_RANGE
{
504 WS_FIELD_POINTER
= 0x1,
505 WS_FIELD_OPTIONAL
= 0x2,
506 WS_FIELD_NILLABLE
= 0x4,
507 WS_FIELD_NILLABLE_ITEM
= 0x8,
508 WS_FIELD_OTHER_NAMESPACE
= 0x10
511 typedef struct _WS_FIELD_DESCRIPTION
{
512 WS_FIELD_MAPPING mapping
;
513 WS_XML_STRING
*localName
;
516 void *typeDescription
;
519 WS_DEFAULT_VALUE
*defaultValue
;
521 WS_XML_STRING
*itemLocalName
;
522 WS_XML_STRING
*itemNs
;
523 WS_ITEM_RANGE
*itemRange
;
524 } WS_FIELD_DESCRIPTION
;
528 WS_STRUCT_ABSTRACT
= 0x1,
529 WS_STRUCT_IGNORE_TRAILING_ELEMENT_CONTENT
= 0x2,
530 WS_STRUCT_IGNORE_UNHANDLED_ATTRIBUTES
= 0x4
533 typedef struct _WS_STRUCT_DESCRIPTION
{
536 WS_FIELD_DESCRIPTION
**fields
;
538 WS_XML_STRING
*typeLocalName
;
539 WS_XML_STRING
*typeNs
;
540 struct _WS_STRUCT_DESCRIPTION
*parentType
;
541 struct _WS_STRUCT_DESCRIPTION
**subTypes
;
544 } WS_STRUCT_DESCRIPTION
;
546 typedef struct _WS_UNION_FIELD_DESCRIPTION
{
548 WS_FIELD_DESCRIPTION field
;
549 } WS_UNION_FIELD_DESCRIPTION
;
551 typedef struct _WS_UNION_DESCRIPTION
{
554 WS_UNION_FIELD_DESCRIPTION
**fields
;
559 } WS_UNION_DESCRIPTION
;
561 typedef struct _WS_ATTRIBUTE_DESCRIPTION
{
562 WS_XML_STRING
*attributeLocalName
;
563 WS_XML_STRING
*attributeNs
;
565 void *typeDescription
;
566 } WS_ATTRIBUTE_DESCRIPTION
;
568 typedef struct _WS_ELEMENT_DESCRIPTION
{
569 WS_XML_STRING
*elementLocalName
;
570 WS_XML_STRING
*elementNs
;
572 void *typeDescription
;
573 } WS_ELEMENT_DESCRIPTION
;
575 typedef struct _WS_STRING
{
580 typedef struct _WS_UNIQUE_ID
{
586 WS_XML_NODE_TYPE_ELEMENT
= 1,
587 WS_XML_NODE_TYPE_TEXT
= 2,
588 WS_XML_NODE_TYPE_END_ELEMENT
= 3,
589 WS_XML_NODE_TYPE_COMMENT
= 4,
590 WS_XML_NODE_TYPE_CDATA
= 6,
591 WS_XML_NODE_TYPE_END_CDATA
= 7,
592 WS_XML_NODE_TYPE_EOF
= 8,
593 WS_XML_NODE_TYPE_BOF
= 9
596 typedef struct _WS_XML_NODE
{
597 WS_XML_NODE_TYPE nodeType
;
601 WS_MOVE_TO_ROOT_ELEMENT
,
602 WS_MOVE_TO_NEXT_ELEMENT
,
603 WS_MOVE_TO_PREVIOUS_ELEMENT
,
604 WS_MOVE_TO_CHILD_ELEMENT
,
605 WS_MOVE_TO_END_ELEMENT
,
606 WS_MOVE_TO_PARENT_ELEMENT
,
607 WS_MOVE_TO_NEXT_NODE
,
608 WS_MOVE_TO_PREVIOUS_NODE
,
609 WS_MOVE_TO_FIRST_NODE
,
612 WS_MOVE_TO_CHILD_NODE
616 WS_XML_TEXT_TYPE_UTF8
= 1,
617 WS_XML_TEXT_TYPE_UTF16
= 2,
618 WS_XML_TEXT_TYPE_BASE64
= 3,
619 WS_XML_TEXT_TYPE_BOOL
= 4,
620 WS_XML_TEXT_TYPE_INT32
= 5,
621 WS_XML_TEXT_TYPE_INT64
= 6,
622 WS_XML_TEXT_TYPE_UINT64
= 7,
623 WS_XML_TEXT_TYPE_FLOAT
= 8,
624 WS_XML_TEXT_TYPE_DOUBLE
= 9,
625 WS_XML_TEXT_TYPE_DECIMAL
= 10,
626 WS_XML_TEXT_TYPE_GUID
= 11,
627 WS_XML_TEXT_TYPE_UNIQUE_ID
= 12,
628 WS_XML_TEXT_TYPE_DATETIME
= 13,
629 WS_XML_TEXT_TYPE_TIMESPAN
= 14,
630 WS_XML_TEXT_TYPE_QNAME
= 15,
631 WS_XML_TEXT_TYPE_LIST
= 16
634 typedef struct _WS_XML_TEXT
{
635 WS_XML_TEXT_TYPE textType
;
638 typedef struct _WS_XML_UTF8_TEXT
{
643 typedef struct _WS_XML_UTF16_TEXT
{
649 typedef struct _WS_XML_BOOL_TEXT
{
654 typedef struct _WS_XML_INT32_TEXT
{
659 typedef struct _WS_XML_INT64_TEXT
{
661 __int64
DECLSPEC_ALIGN(8) value
;
664 typedef struct _WS_XML_UINT64_TEXT
{
666 unsigned __int64
DECLSPEC_ALIGN(8) value
;
667 } WS_XML_UINT64_TEXT
;
669 typedef struct _WS_XML_FLOAT_TEXT
{
674 typedef struct _WS_XML_DOUBLE_TEXT
{
676 double DECLSPEC_ALIGN(8) value
;
677 } WS_XML_DOUBLE_TEXT
;
679 typedef struct _WS_XML_GUID_TEXT
{
684 typedef struct _WS_XML_UNIQUE_ID_TEXT
{
687 } WS_XML_UNIQUE_ID_TEXT
;
689 typedef struct _WS_XML_QNAME_TEXT
{
691 WS_XML_STRING
*prefix
;
692 WS_XML_STRING
*localName
;
703 WS_UINT16_VALUE_TYPE
,
704 WS_UINT32_VALUE_TYPE
,
705 WS_UINT64_VALUE_TYPE
,
707 WS_DOUBLE_VALUE_TYPE
,
708 WS_DECIMAL_VALUE_TYPE
,
709 WS_DATETIME_VALUE_TYPE
,
710 WS_TIMESPAN_VALUE_TYPE
,
712 WS_DURATION_VALUE_TYPE
715 typedef struct _WS_XML_ATTRIBUTE
{
718 WS_XML_STRING
*prefix
;
719 WS_XML_STRING
*localName
;
724 typedef struct _WS_XML_ELEMENT_NODE
{
726 WS_XML_STRING
*prefix
;
727 WS_XML_STRING
*localName
;
729 ULONG attributeCount
;
730 WS_XML_ATTRIBUTE
**attributes
;
732 } WS_XML_ELEMENT_NODE
;
734 typedef struct _WS_XML_TEXT_NODE
{
739 typedef struct _WS_XML_COMMENT_NODE
{
742 } WS_XML_COMMENT_NODE
;
744 typedef struct _WS_XML_NODE_POSITION
{
745 WS_XML_BUFFER
*buffer
;
747 } WS_XML_NODE_POSITION
;
749 typedef struct _WS_XML_QNAME
{
750 WS_XML_STRING localName
;
755 WS_SERVICE_PROXY_STATE_CREATED
,
756 WS_SERVICE_PROXY_STATE_OPENING
,
757 WS_SERVICE_PROXY_STATE_OPEN
,
758 WS_SERVICE_PROXY_STATE_CLOSING
,
759 WS_SERVICE_PROXY_STATE_CLOSED
,
760 WS_SERVICE_PROXY_STATE_FAULTED
761 } WS_SERVICE_PROXY_STATE
;
764 WS_PROXY_PROPERTY_CALL_TIMEOUT
,
765 WS_PROXY_PROPERTY_MESSAGE_PROPERTIES
,
766 WS_PROXY_PROPERTY_MAX_CALL_POOL_SIZE
,
767 WS_PROXY_PROPERTY_STATE
,
768 WS_PROXY_PROPERTY_MAX_PENDING_CALLS
,
769 WS_PROXY_PROPERTY_MAX_CLOSE_TIMEOUT
,
770 WS_PROXY_FAULT_LANG_ID
771 } WS_PROXY_PROPERTY_ID
;
773 struct _WS_PROXY_PROPERTY
{
774 WS_PROXY_PROPERTY_ID id
;
780 WS_CHANNEL_TYPE_INPUT
= 0x1,
781 WS_CHANNEL_TYPE_OUTPUT
= 0x2,
782 WS_CHANNEL_TYPE_SESSION
= 0x4,
783 WS_CHANNEL_TYPE_INPUT_SESSION
= (WS_CHANNEL_TYPE_INPUT
| WS_CHANNEL_TYPE_SESSION
),
784 WS_CHANNEL_TYPE_OUTPUT_SESSION
= (WS_CHANNEL_TYPE_OUTPUT
| WS_CHANNEL_TYPE_SESSION
),
785 WS_CHANNEL_TYPE_DUPLEX
= (WS_CHANNEL_TYPE_INPUT
| WS_CHANNEL_TYPE_OUTPUT
),
786 WS_CHANNEL_TYPE_DUPLEX_SESSION
= (WS_CHANNEL_TYPE_INPUT
| WS_CHANNEL_TYPE_OUTPUT
| WS_CHANNEL_TYPE_SESSION
),
787 WS_CHANNEL_TYPE_REQUEST
= 0x8,
788 WS_CHANNEL_TYPE_REPLY
= 0x10
792 WS_ENCODING_XML_BINARY_1
,
793 WS_ENCODING_XML_BINARY_SESSION_1
,
794 WS_ENCODING_XML_MTOM_UTF8
,
795 WS_ENCODING_XML_MTOM_UTF16BE
,
796 WS_ENCODING_XML_MTOM_UTF16LE
,
797 WS_ENCODING_XML_UTF8
,
798 WS_ENCODING_XML_UTF16BE
,
799 WS_ENCODING_XML_UTF16LE
,
804 WS_CHANNEL_STATE_CREATED
,
805 WS_CHANNEL_STATE_OPENING
,
806 WS_CHANNEL_STATE_ACCEPTING
,
807 WS_CHANNEL_STATE_OPEN
,
808 WS_CHANNEL_STATE_FAULTED
,
809 WS_CHANNEL_STATE_CLOSING
,
810 WS_CHANNEL_STATE_CLOSED
814 WS_CHANNEL_PROPERTY_MAX_BUFFERED_MESSAGE_SIZE
= 0,
815 WS_CHANNEL_PROPERTY_MAX_STREAMED_MESSAGE_SIZE
= 1,
816 WS_CHANNEL_PROPERTY_MAX_STREAMED_START_SIZE
= 2,
817 WS_CHANNEL_PROPERTY_MAX_STREAMED_FLUSH_SIZE
= 3,
818 WS_CHANNEL_PROPERTY_ENCODING
= 4,
819 WS_CHANNEL_PROPERTY_ENVELOPE_VERSION
= 5,
820 WS_CHANNEL_PROPERTY_ADDRESSING_VERSION
= 6,
821 WS_CHANNEL_PROPERTY_MAX_SESSION_DICTIONARY_SIZE
= 7,
822 WS_CHANNEL_PROPERTY_STATE
= 8,
823 WS_CHANNEL_PROPERTY_ASYNC_CALLBACK_MODEL
= 9,
824 WS_CHANNEL_PROPERTY_IP_VERSION
= 10,
825 WS_CHANNEL_PROPERTY_RESOLVE_TIMEOUT
= 11,
826 WS_CHANNEL_PROPERTY_CONNECT_TIMEOUT
= 12,
827 WS_CHANNEL_PROPERTY_SEND_TIMEOUT
= 13,
828 WS_CHANNEL_PROPERTY_RECEIVE_RESPONSE_TIMEOUT
= 14,
829 WS_CHANNEL_PROPERTY_RECEIVE_TIMEOUT
= 15,
830 WS_CHANNEL_PROPERTY_CLOSE_TIMEOUT
= 16,
831 WS_CHANNEL_PROPERTY_ENABLE_TIMEOUTS
= 17,
832 WS_CHANNEL_PROPERTY_TRANSFER_MODE
= 18,
833 WS_CHANNEL_PROPERTY_MULTICAST_INTERFACE
= 19,
834 WS_CHANNEL_PROPERTY_MULTICAST_HOPS
= 20,
835 WS_CHANNEL_PROPERTY_REMOTE_ADDRESS
= 21,
836 WS_CHANNEL_PROPERTY_REMOTE_IP_ADDRESS
= 22,
837 WS_CHANNEL_PROPERTY_HTTP_CONNECTION_ID
= 23,
838 WS_CHANNEL_PROPERTY_CUSTOM_CHANNEL_CALLBACKS
= 24,
839 WS_CHANNEL_PROPERTY_CUSTOM_CHANNEL_PARAMETERS
= 25,
840 WS_CHANNEL_PROPERTY_CUSTOM_CHANNEL_INSTANCE
= 26,
841 WS_CHANNEL_PROPERTY_TRANSPORT_URL
= 27,
842 WS_CHANNEL_PROPERTY_NO_DELAY
= 28,
843 WS_CHANNEL_PROPERTY_SEND_KEEP_ALIVES
= 29,
844 WS_CHANNEL_PROPERTY_KEEP_ALIVE_TIME
= 30,
845 WS_CHANNEL_PROPERTY_KEEP_ALIVE_INTERVAL
= 31,
846 WS_CHANNEL_PROPERTY_MAX_HTTP_SERVER_CONNECTIONS
= 32,
847 WS_CHANNEL_PROPERTY_IS_SESSION_SHUT_DOWN
= 33,
848 WS_CHANNEL_PROPERTY_CHANNEL_TYPE
= 34,
849 WS_CHANNEL_PROPERTY_TRIM_BUFFERED_MESSAGE_SIZE
= 35,
850 WS_CHANNEL_PROPERTY_ENCODER
= 36,
851 WS_CHANNEL_PROPERTY_DECODER
= 37,
852 WS_CHANNEL_PROPERTY_PROTECTION_LEVEL
= 38,
853 WS_CHANNEL_PROPERTY_COOKIE_MODE
= 39,
854 WS_CHANNEL_PROPERTY_HTTP_PROXY_SETTING_MODE
= 40,
855 WS_CHANNEL_PROPERTY_CUSTOM_HTTP_PROXY
= 41,
856 WS_CHANNEL_PROPERTY_HTTP_MESSAGE_MAPPING
= 42,
857 WS_CHANNEL_PROPERTY_ENABLE_HTTP_REDIRECT
= 43,
858 WS_CHANNEL_PROPERTY_HTTP_REDIRECT_CALLBACK_CONTEXT
= 44,
859 WS_CHANNEL_PROPERTY_FAULTS_AS_ERRORS
= 45,
860 WS_CHANNEL_PROPERTY_ALLOW_UNSECURED_FAULTS
= 46,
861 WS_CHANNEL_PROPERTY_HTTP_SERVER_SPN
= 47,
862 WS_CHANNEL_PROPERTY_HTTP_PROXY_SPN
= 48,
863 WS_CHANNEL_PROPERTY_MAX_HTTP_REQUEST_HEADERS_BUFFER_SIZE
= 49
864 } WS_CHANNEL_PROPERTY_ID
;
866 struct _WS_CHANNEL_PROPERTY
{
867 WS_CHANNEL_PROPERTY_ID id
;
872 struct _WS_CHANNEL_PROPERTIES
{
873 WS_CHANNEL_PROPERTY
*properties
;
878 WS_HTTP_CHANNEL_BINDING
,
879 WS_TCP_CHANNEL_BINDING
,
880 WS_UDP_CHANNEL_BINDING
,
881 WS_CUSTOM_CHANNEL_BINDING
,
882 WS_NAMEDPIPE_CHANNEL_BINDING
883 } WS_CHANNEL_BINDING
;
886 WS_SSL_TRANSPORT_SECURITY_BINDING_TYPE
,
887 WS_TCP_SSPI_TRANSPORT_SECURITY_BINDING_TYPE
,
888 WS_HTTP_HEADER_AUTH_SECURITY_BINDING_TYPE
,
889 WS_USERNAME_MESSAGE_SECURITY_BINDING_TYPE
,
890 WS_KERBEROS_APREQ_MESSAGE_SECURITY_BINDING_TYPE
,
891 WS_XML_TOKEN_MESSAGE_SECURITY_BINDING_TYPE
,
892 WS_SAML_MESSAGE_SECURITY_BINDING_TYPE
,
893 WS_SECURITY_CONTEXT_MESSAGE_SECURITY_BINDING_TYPE
,
894 WS_NAMEDPIPE_SSPI_TRANSPORT_SECURITY_BINDING_TYPE
895 } WS_SECURITY_BINDING_TYPE
;
898 WS_SECURITY_BINDING_PROPERTY_REQUIRE_SSL_CLIENT_CERT
= 1,
899 WS_SECURITY_BINDING_PROPERTY_WINDOWS_INTEGRATED_AUTH_PACKAGE
= 2,
900 WS_SECURITY_BINDING_PROPERTY_REQUIRE_SERVER_AUTH
= 3,
901 WS_SECURITY_BINDING_PROPERTY_ALLOW_ANONYMOUS_CLIENTS
= 4,
902 WS_SECURITY_BINDING_PROPERTY_ALLOWED_IMPERSONATION_LEVEL
= 5,
903 WS_SECURITY_BINDING_PROPERTY_HTTP_HEADER_AUTH_SCHEME
= 6,
904 WS_SECURITY_BINDING_PROPERTY_HTTP_HEADER_AUTH_TARGET
= 7,
905 WS_SECURITY_BINDING_PROPERTY_HTTP_HEADER_AUTH_BASIC_REALM
= 8,
906 WS_SECURITY_BINDING_PROPERTY_HTTP_HEADER_AUTH_DIGEST_REALM
= 9,
907 WS_SECURITY_BINDING_PROPERTY_HTTP_HEADER_AUTH_DIGEST_DOMAIN
= 10,
908 WS_SECURITY_BINDING_PROPERTY_SECURITY_CONTEXT_KEY_SIZE
= 11,
909 WS_SECURITY_BINDING_PROPERTY_SECURITY_CONTEXT_KEY_ENTROPY_MODE
= 12,
910 WS_SECURITY_BINDING_PROPERTY_MESSAGE_PROPERTIES
= 13,
911 WS_SECURITY_BINDING_PROPERTY_SECURITY_CONTEXT_MAX_PENDING_CONTEXTS
= 14,
912 WS_SECURITY_BINDING_PROPERTY_SECURITY_CONTEXT_MAX_ACTIVE_CONTEXTS
= 15,
913 WS_SECURITY_BINDING_PROPERTY_SECURE_CONVERSATION_VERSION
= 16,
914 WS_SECURITY_BINDING_PROPERTY_SECURITY_CONTEXT_SUPPORT_RENEW
= 17,
915 WS_SECURITY_BINDING_PROPERTY_SECURITY_CONTEXT_RENEWAL_INTERVAL
= 18,
916 WS_SECURITY_BINDING_PROPERTY_SECURITY_CONTEXT_ROLLOVER_INTERVAL
= 19,
917 WS_SECURITY_BINDING_PROPERTY_CERT_FAILURES_TO_IGNORE
= 20,
918 WS_SECURITY_BINDING_PROPERTY_DISABLE_CERT_REVOCATION_CHECK
= 21,
919 WS_SECURITY_BINDING_PROPERTY_DISALLOWED_SECURE_PROTOCOLS
= 22,
920 WS_SECURITY_BINDING_PROPERTY_CERTIFICATE_VALIDATION_CALLBACK_CONTEXT
= 23
921 } WS_SECURITY_BINDING_PROPERTY_ID
;
923 struct _WS_SECURITY_BINDING_PROPERTY
{
924 WS_SECURITY_BINDING_PROPERTY_ID id
;
929 struct _WS_SECURITY_BINDING_PROPERTIES
{
930 WS_SECURITY_BINDING_PROPERTY
*properties
;
934 struct _WS_SECURITY_BINDING
{
935 WS_SECURITY_BINDING_TYPE bindingType
;
936 WS_SECURITY_BINDING_PROPERTY
*properties
;
941 WS_SECURITY_PROPERTY_TRANSPORT_PROTECTION_LEVEL
= 1,
942 WS_SECURITY_PROPERTY_ALGORITHM_SUITE
= 2,
943 WS_SECURITY_PROPERTY_ALGORITHM_SUITE_NAME
= 3,
944 WS_SECURITY_PROPERTY_MAX_ALLOWED_LATENCY
= 4,
945 WS_SECURITY_PROPERTY_TIMESTAMP_VALIDITY_DURATION
= 5,
946 WS_SECURITY_PROPERTY_MAX_ALLOWED_CLOCK_SKEW
= 6,
947 WS_SECURITY_PROPERTY_TIMESTAMP_USAGE
= 7,
948 WS_SECURITY_PROPERTY_SECURITY_HEADER_LAYOUT
= 8,
949 WS_SECURITY_PROPERTY_SECURITY_HEADER_VERSION
= 9,
950 WS_SECURITY_PROPERTY_EXTENDED_PROTECTION_POLICY
= 10,
951 WS_SECURITY_PROPERTY_EXTENDED_PROTECTION_SCENARIO
= 11,
952 WS_SECURITY_PROPERTY_SERVICE_IDENTITIES
= 12
953 } WS_SECURITY_PROPERTY_ID
;
955 struct _WS_SECURITY_PROPERTY
{
956 WS_SECURITY_PROPERTY_ID id
;
961 struct _WS_SECURITY_PROPERTIES
{
962 WS_SECURITY_PROPERTY
*properties
;
966 struct _WS_SECURITY_DESCRIPTION
{
967 WS_SECURITY_BINDING
**securityBindings
;
968 ULONG securityBindingCount
;
969 WS_SECURITY_PROPERTY
*properties
;
974 WS_HTTP_BINDING_TEMPLATE_TYPE
,
975 WS_HTTP_SSL_BINDING_TEMPLATE_TYPE
,
976 WS_HTTP_HEADER_AUTH_BINDING_TEMPLATE_TYPE
,
977 WS_HTTP_SSL_HEADER_AUTH_BINDING_TEMPLATE_TYPE
,
978 WS_HTTP_SSL_USERNAME_BINDING_TEMPLATE_TYPE
,
979 WS_HTTP_SSL_KERBEROS_APREQ_BINDING_TEMPLATE_TYPE
,
980 WS_TCP_BINDING_TEMPLATE_TYPE
,
981 WS_TCP_SSPI_BINDING_TEMPLATE_TYPE
,
982 WS_TCP_SSPI_USERNAME_BINDING_TEMPLATE_TYPE
,
983 WS_TCP_SSPI_KERBEROS_APREQ_BINDING_TEMPLATE_TYPE
,
984 WS_HTTP_SSL_USERNAME_SECURITY_CONTEXT_BINDING_TEMPLATE_TYPE
,
985 WS_HTTP_SSL_KERBEROS_APREQ_SECURITY_CONTEXT_BINDING_TEMPLATE_TYPE
,
986 WS_TCP_SSPI_USERNAME_SECURITY_CONTEXT_BINDING_TEMPLATE_TYPE
,
987 WS_TCP_SSPI_KERBEROS_APREQ_SECURITY_CONTEXT_BINDING_TEMPLATE_TYPE
988 } WS_BINDING_TEMPLATE_TYPE
;
991 WS_SUBJECT_NAME_CERT_CREDENTIAL_TYPE
= 1,
992 WS_THUMBPRINT_CERT_CREDENTIAL_TYPE
= 2,
993 WS_CUSTOM_CERT_CREDENTIAL_TYPE
= 3
994 } WS_CERT_CREDENTIAL_TYPE
;
996 struct _WS_CERT_CREDENTIAL
{
997 WS_CERT_CREDENTIAL_TYPE credentialType
;
1000 struct _WS_SSL_TRANSPORT_SECURITY_BINDING_TEMPLATE
{
1001 WS_SECURITY_BINDING_PROPERTIES securityBindingProperties
;
1002 WS_CERT_CREDENTIAL
*localCertCredential
;
1005 struct _WS_HTTP_BINDING_TEMPLATE
{
1006 WS_CHANNEL_PROPERTIES channelProperties
;
1009 struct _WS_HTTP_SSL_BINDING_TEMPLATE
{
1010 WS_CHANNEL_PROPERTIES channelProperties
;
1011 WS_SECURITY_PROPERTIES securityProperties
;
1012 WS_SSL_TRANSPORT_SECURITY_BINDING_TEMPLATE sslTransportSecurityBinding
;
1016 WS_MUST_UNDERSTAND_HEADER_ATTRIBUTE
= 0x1,
1017 WS_RELAY_HEADER_ATTRIBUTE
= 0x2
1021 WS_ADDRESSING_VERSION_0_9
= 1,
1022 WS_ADDRESSING_VERSION_1_0
= 2,
1023 WS_ADDRESSING_VERSION_TRANSPORT
= 3
1024 } WS_ADDRESSING_VERSION
;
1027 WS_ENVELOPE_VERSION_SOAP_1_1
= 1,
1028 WS_ENVELOPE_VERSION_SOAP_1_2
= 2,
1029 WS_ENVELOPE_VERSION_NONE
= 3
1030 } WS_ENVELOPE_VERSION
;
1033 WS_MESSAGE_PROPERTY_STATE
,
1034 WS_MESSAGE_PROPERTY_HEAP
,
1035 WS_MESSAGE_PROPERTY_ENVELOPE_VERSION
,
1036 WS_MESSAGE_PROPERTY_ADDRESSING_VERSION
,
1037 WS_MESSAGE_PROPERTY_HEADER_BUFFER
,
1038 WS_MESSAGE_PROPERTY_HEADER_POSITION
,
1039 WS_MESSAGE_PROPERTY_BODY_READER
,
1040 WS_MESSAGE_PROPERTY_BODY_WRITER
,
1041 WS_MESSAGE_PROPERTY_IS_ADDRESSED
,
1042 WS_MESSAGE_PROPERTY_HEAP_PROPERTIES
,
1043 WS_MESSAGE_PROPERTY_XML_READER_PROPERTIES
,
1044 WS_MESSAGE_PROPERTY_XML_WRITER_PROPERTIES
,
1045 WS_MESSAGE_PROPERTY_IS_FAULT
,
1046 WS_MESSAGE_PROPERTY_MAX_PROCESSED_HEADERS
,
1047 WS_MESSAGE_PROPERTY_USERNAME
,
1048 WS_MESSAGE_PROPERTY_ENCODED_CERT
,
1049 WS_MESSAGE_PROPERTY_TRANSPORT_SECURITY_WINDOWS_TOKEN
,
1050 WS_MESSAGE_PROPERTY_HTTP_HEADER_AUTH_WINDOWS_TOKEN
,
1051 WS_MESSAGE_PROPERTY_MESSAGE_SECURITY_WINDOWS_TOKEN
,
1052 WS_MESSAGE_PROPERTY_SAML_ASSERTION
,
1053 WS_MESSAGE_PROPERTY_SECURITY_CONTEXT
,
1054 WS_MESSAGE_PROPERTY_PROTECTION_LEVEL
1055 } WS_MESSAGE_PROPERTY_ID
;
1057 struct _WS_MESSAGE_PROPERTY
{
1058 WS_MESSAGE_PROPERTY_ID id
;
1063 struct _WS_MESSAGE_PROPERTIES
{
1064 WS_MESSAGE_PROPERTY
*properties
;
1065 ULONG propertyCount
;
1069 WS_MESSAGE_STATE_EMPTY
= 1,
1070 WS_MESSAGE_STATE_INITIALIZED
= 2,
1071 WS_MESSAGE_STATE_READING
= 3,
1072 WS_MESSAGE_STATE_WRITING
= 4,
1073 WS_MESSAGE_STATE_DONE
= 5
1078 WS_DUPLICATE_MESSAGE
,
1082 } WS_MESSAGE_INITIALIZATION
;
1085 WS_ACTION_HEADER
= 1,
1087 WS_MESSAGE_ID_HEADER
= 3,
1088 WS_RELATES_TO_HEADER
= 4,
1090 WS_REPLY_TO_HEADER
= 6,
1091 WS_FAULT_TO_HEADER
= 7
1095 WS_REPEATING_HEADER
= 1,
1096 WS_SINGLETON_HEADER
= 2
1097 } WS_REPEATING_HEADER_OPTION
;
1100 WS_DNS_ENDPOINT_IDENTITY_TYPE
= 1,
1101 WS_UPN_ENDPOINT_IDENTITY_TYPE
= 2,
1102 WS_SPN_ENDPOINT_IDENTITY_TYPE
= 3,
1103 WS_RSA_ENDPOINT_IDENTITY_TYPE
= 4,
1104 WS_CERT_ENDPOINT_IDENTITY_TYPE
= 5,
1105 WS_UNKNOWN_ENDPOINT_IDENTITY_TYPE
= 6
1106 } WS_ENDPOINT_IDENTITY_TYPE
;
1108 struct _WS_ENDPOINT_IDENTITY
{
1109 WS_ENDPOINT_IDENTITY_TYPE identityType
;
1112 struct _WS_ENDPOINT_ADDRESS
{
1114 WS_XML_BUFFER
*headers
;
1115 WS_XML_BUFFER
*extensions
;
1116 WS_ENDPOINT_IDENTITY
*identity
;
1119 struct _WS_HTTP_POLICY_DESCRIPTION
{
1120 WS_CHANNEL_PROPERTIES channelProperties
;
1123 struct _WS_MESSAGE_DESCRIPTION
{
1124 WS_XML_STRING
*action
;
1125 WS_ELEMENT_DESCRIPTION
*bodyElementDescription
;
1129 WS_PARAMETER_TYPE_NORMAL
,
1130 WS_PARAMETER_TYPE_ARRAY
,
1131 WS_PARAMETER_TYPE_ARRAY_COUNT
,
1132 WS_PARAMETER_TYPE_MESSAGES
1133 } WS_PARAMETER_TYPE
;
1135 struct _WS_PARAMETER_DESCRIPTION
{
1136 WS_PARAMETER_TYPE parameterType
;
1137 USHORT inputMessageIndex
;
1138 USHORT outputMessageIndex
;
1141 typedef HRESULT (CALLBACK
*WS_SERVICE_STUB_CALLBACK
)(
1142 const WS_OPERATION_CONTEXT
*context
,
1144 const void *callback
,
1145 const WS_ASYNC_CONTEXT
*asyncContext
,
1149 WS_NON_RPC_LITERAL_OPERATION
,
1150 WS_RPC_LITERAL_OPERATION
1151 } WS_OPERATION_STYLE
;
1153 struct _WS_OPERATION_DESCRIPTION
{
1155 WS_MESSAGE_DESCRIPTION
*inputMessageDescription
;
1156 WS_MESSAGE_DESCRIPTION
*outputMessageDescription
;
1157 ULONG inputMessageOptions
;
1158 ULONG outputMessageOptions
;
1159 USHORT parameterCount
;
1160 WS_PARAMETER_DESCRIPTION
*parameterDescription
;
1161 WS_SERVICE_STUB_CALLBACK stubCallback
;
1162 WS_OPERATION_STYLE style
;
1166 WS_CALL_PROPERTY_CHECK_MUST_UNDERSTAND
,
1167 WS_CALL_PROPERTY_SEND_MESSAGE_CONTEXT
,
1168 WS_CALL_PROPERTY_RECEIVE_MESSAGE_CONTEXT
,
1169 WS_CALL_PROPERTY_CALL_ID
1170 } WS_CALL_PROPERTY_ID
;
1172 struct _WS_CALL_PROPERTY
{
1173 WS_CALL_PROPERTY_ID id
;
1179 WS_DATETIME_FORMAT_UTC
,
1180 WS_DATETIME_FORMAT_LOCAL
,
1181 WS_DATETIME_FORMAT_NONE
1182 } WS_DATETIME_FORMAT
;
1184 struct _WS_DATETIME
{
1185 unsigned __int64
DECLSPEC_ALIGN(8) ticks
;
1186 WS_DATETIME_FORMAT format
;
1189 struct _WS_DATETIME_DESCRIPTION
{
1190 WS_DATETIME minValue
;
1191 WS_DATETIME maxValue
;
1194 struct _WS_XML_DATETIME_TEXT
{
1199 struct _WS_XML_BASE64_TEXT
{
1206 WS_URL_HTTP_SCHEME_TYPE
,
1207 WS_URL_HTTPS_SCHEME_TYPE
,
1208 WS_URL_NETTCP_SCHEME_TYPE
,
1209 WS_URL_SOAPUDP_SCHEME_TYPE
,
1210 WS_URL_NETPIPE_SCHEME_TYPE
1211 } WS_URL_SCHEME_TYPE
;
1214 WS_URL_FLAGS_ALLOW_HOST_WILDCARDS
= 0x1,
1215 WS_URL_FLAGS_NO_PATH_COLLAPSE
= 0x2,
1216 WS_URL_FLAGS_ZERO_TERMINATE
= 0x4
1220 WS_URL_SCHEME_TYPE scheme
;
1223 struct _WS_HTTP_URL
{
1227 WS_STRING portAsString
;
1233 struct _WS_HTTPS_URL
{
1237 WS_STRING portAsString
;
1243 struct _WS_NETTCP_URL
{
1247 WS_STRING portAsString
;
1253 struct _WS_SOAPUDP_URL
{
1257 WS_STRING portAsString
;
1263 struct _WS_NETPIPE_URL
{
1267 WS_STRING portAsString
;
1275 WS_IP_VERSION_4
= 1,
1276 WS_IP_VERSION_6
= 2,
1277 WS_IP_VERSION_AUTO
= 3
1282 WS_BUFFERED_TRANSFER_MODE
= 0x0,
1283 WS_STREAMED_INPUT_TRANSFER_MODE
= 0x1,
1284 WS_STREAMED_OUTPUT_TRANSFER_MODE
= 0x2,
1285 WS_STREAMED_TRANSFER_MODE
= (WS_STREAMED_INPUT_TRANSFER_MODE
|WS_STREAMED_OUTPUT_TRANSFER_MODE
)
1288 typedef HRESULT (CALLBACK
*WS_CREATE_CHANNEL_CALLBACK
)
1289 (WS_CHANNEL_TYPE
, const void*, ULONG
, void**, WS_ERROR
*);
1291 typedef void (CALLBACK
*WS_FREE_CHANNEL_CALLBACK
)
1294 typedef HRESULT (CALLBACK
*WS_RESET_CHANNEL_CALLBACK
)
1297 typedef HRESULT (CALLBACK
*WS_OPEN_CHANNEL_CALLBACK
)
1298 (void*, const WS_ENDPOINT_ADDRESS
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1300 typedef HRESULT (CALLBACK
*WS_CLOSE_CHANNEL_CALLBACK
)
1301 (void*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1303 typedef HRESULT (CALLBACK
*WS_ABORT_CHANNEL_CALLBACK
)
1306 typedef HRESULT (CALLBACK
*WS_GET_CHANNEL_PROPERTY_CALLBACK
)
1307 (void*, WS_CHANNEL_PROPERTY_ID
, void*, ULONG
, WS_ERROR
*);
1309 typedef HRESULT (CALLBACK
*WS_SET_CHANNEL_PROPERTY_CALLBACK
)
1310 (void*, WS_CHANNEL_PROPERTY_ID
, const void*, ULONG
, WS_ERROR
*);
1312 typedef HRESULT (CALLBACK
*WS_WRITE_MESSAGE_START_CALLBACK
)
1313 (void*, WS_MESSAGE
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1315 typedef HRESULT (CALLBACK
*WS_WRITE_MESSAGE_END_CALLBACK
)
1316 (void*, WS_MESSAGE
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1318 typedef HRESULT (CALLBACK
*WS_READ_MESSAGE_START_CALLBACK
)
1319 (void*, WS_MESSAGE
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1321 typedef HRESULT (CALLBACK
*WS_READ_MESSAGE_END_CALLBACK
)
1322 (void*, WS_MESSAGE
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1324 typedef HRESULT (CALLBACK
*WS_ABANDON_MESSAGE_CALLBACK
)
1325 (void*, WS_MESSAGE
*, WS_ERROR
*);
1327 typedef HRESULT (CALLBACK
*WS_SHUTDOWN_SESSION_CHANNEL_CALLBACK
)
1328 (void*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1330 struct _WS_CUSTOM_CHANNEL_CALLBACKS
1332 WS_CREATE_CHANNEL_CALLBACK createChannelCallback
;
1333 WS_FREE_CHANNEL_CALLBACK freeChannelCallback
;
1334 WS_RESET_CHANNEL_CALLBACK resetChannelCallback
;
1335 WS_OPEN_CHANNEL_CALLBACK openChannelCallback
;
1336 WS_CLOSE_CHANNEL_CALLBACK closeChannelCallback
;
1337 WS_ABORT_CHANNEL_CALLBACK abortChannelCallback
;
1338 WS_GET_CHANNEL_PROPERTY_CALLBACK getChannelPropertyCallback
;
1339 WS_SET_CHANNEL_PROPERTY_CALLBACK setChannelPropertyCallback
;
1340 WS_WRITE_MESSAGE_START_CALLBACK writeMessageStartCallback
;
1341 WS_WRITE_MESSAGE_END_CALLBACK writeMessageEndCallback
;
1342 WS_READ_MESSAGE_START_CALLBACK readMessageStartCallback
;
1343 WS_READ_MESSAGE_END_CALLBACK readMessageEndCallback
;
1344 WS_ABANDON_MESSAGE_CALLBACK abandonMessageCallback
;
1345 WS_SHUTDOWN_SESSION_CHANNEL_CALLBACK shutdownSessionChannelCallback
;
1348 typedef HRESULT (CALLBACK
*WS_CREATE_ENCODER_CALLBACK
)
1349 (void*, WS_WRITE_CALLBACK
, void*, void**, WS_ERROR
*);
1351 typedef HRESULT (CALLBACK
*WS_ENCODER_GET_CONTENT_TYPE_CALLBACK
)
1352 (void*, const WS_STRING
*, WS_STRING
*, WS_STRING
*, WS_ERROR
*);
1354 typedef HRESULT (CALLBACK
*WS_ENCODER_START_CALLBACK
)
1355 (void*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1357 typedef HRESULT (CALLBACK
*WS_ENCODER_ENCODE_CALLBACK
)
1358 (void*, const WS_BYTES
*, ULONG
, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1360 typedef HRESULT (CALLBACK
*WS_ENCODER_END_CALLBACK
)
1361 (void*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1363 typedef void (CALLBACK
*WS_FREE_ENCODER_CALLBACK
)
1366 struct _WS_CHANNEL_ENCODER
1368 void *createContext
;
1369 WS_CREATE_ENCODER_CALLBACK createEncoderCallback
;
1370 WS_ENCODER_GET_CONTENT_TYPE_CALLBACK encoderGetContentTypeCallback
;
1371 WS_ENCODER_START_CALLBACK encoderStartCallback
;
1372 WS_ENCODER_ENCODE_CALLBACK encoderEncodeCallback
;
1373 WS_ENCODER_END_CALLBACK encoderEndCallback
;
1374 WS_FREE_ENCODER_CALLBACK freeEncoderCallback
;
1377 typedef HRESULT (CALLBACK
*WS_CREATE_DECODER_CALLBACK
)
1378 (void*, WS_READ_CALLBACK
, void*, void**, WS_ERROR
*);
1380 typedef HRESULT (CALLBACK
*WS_DECODER_GET_CONTENT_TYPE_CALLBACK
)
1381 (void*, const WS_STRING
*, const WS_STRING
*, WS_STRING
*, WS_ERROR
*);
1383 typedef HRESULT (CALLBACK
*WS_DECODER_START_CALLBACK
)
1384 (void*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1386 typedef HRESULT (CALLBACK
*WS_DECODER_DECODE_CALLBACK
)
1387 (void*, void*, ULONG
, ULONG
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1389 typedef HRESULT (CALLBACK
*WS_DECODER_END_CALLBACK
)
1390 (void*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1392 typedef void (CALLBACK
*WS_FREE_DECODER_CALLBACK
)
1395 struct _WS_CHANNEL_DECODER
1397 void *createContext
;
1398 WS_CREATE_DECODER_CALLBACK createDecoderCallback
;
1399 WS_DECODER_GET_CONTENT_TYPE_CALLBACK decoderGetContentTypeCallback
;
1400 WS_DECODER_START_CALLBACK decoderStartCallback
;
1401 WS_DECODER_DECODE_CALLBACK decoderDecodeCallback
;
1402 WS_DECODER_END_CALLBACK decoderEndCallback
;
1403 WS_FREE_DECODER_CALLBACK freeDecoderCallback
;
1408 WS_PROTECTION_LEVEL_NONE
= 1,
1409 WS_PROTECTION_LEVEL_SIGN
= 2,
1410 WS_PROTECTION_LEVEL_SIGN_AND_ENCRYPT
= 3
1411 } WS_PROTECTION_LEVEL
;
1415 WS_MANUAL_COOKIE_MODE
= 1,
1416 WS_AUTO_COOKIE_MODE
= 2
1421 WS_HTTP_PROXY_SETTING_MODE_AUTO
= 0x1,
1422 WS_HTTP_PROXY_SETTING_MODE_NONE
= 0x2,
1423 WS_HTTP_PROXY_SETTING_MODE_CUSTOM
= 0x3
1424 } WS_HTTP_PROXY_SETTING_MODE
;
1426 struct _WS_CUSTOM_HTTP_PROXY
1432 struct _WS_HTTP_HEADER_MAPPING
1434 WS_XML_STRING headerName
;
1435 ULONG headerMappingOptions
;
1438 struct _WS_HTTP_MESSAGE_MAPPING
1440 ULONG requestMappingOptions
;
1441 ULONG responseMappingOptions
;
1442 WS_HTTP_HEADER_MAPPING
**requestHeaderMappings
;
1443 ULONG requestHeaderMappingCount
;
1444 WS_HTTP_HEADER_MAPPING
**responseHeaderMappings
;
1445 ULONG responseHeaderMappingCount
;
1448 typedef HRESULT (CALLBACK
*WS_HTTP_REDIRECT_CALLBACK
)
1449 (void*, const WS_STRING
*, const WS_STRING
*);
1451 struct _WS_HTTP_REDIRECT_CALLBACK_CONTEXT
1453 WS_HTTP_REDIRECT_CALLBACK callback
;
1459 WS_RECEIVE_REQUIRED_MESSAGE
= 1,
1460 WS_RECEIVE_OPTIONAL_MESSAGE
= 2
1461 } WS_RECEIVE_OPTION
;
1463 typedef void (CALLBACK
*WS_MESSAGE_DONE_CALLBACK
)
1466 typedef HRESULT (CALLBACK
*WS_PROXY_MESSAGE_CALLBACK
)
1467 (WS_MESSAGE
*, WS_HEAP
*, void*, WS_ERROR
*);
1469 struct _WS_PROXY_MESSAGE_CALLBACK_CONTEXT
1471 WS_PROXY_MESSAGE_CALLBACK callback
;
1477 WS_LISTENER_STATE_CREATED
,
1478 WS_LISTENER_STATE_OPENING
,
1479 WS_LISTENER_STATE_OPEN
,
1480 WS_LISTENER_STATE_FAULTED
,
1481 WS_LISTENER_STATE_CLOSING
,
1482 WS_LISTENER_STATE_CLOSED
1483 } WS_LISTENER_STATE
;
1487 WS_LISTENER_PROPERTY_LISTEN_BACKLOG
,
1488 WS_LISTENER_PROPERTY_IP_VERSION
,
1489 WS_LISTENER_PROPERTY_STATE
,
1490 WS_LISTENER_PROPERTY_ASYNC_CALLBACK_MODEL
,
1491 WS_LISTENER_PROPERTY_CHANNEL_TYPE
,
1492 WS_LISTENER_PROPERTY_CHANNEL_BINDING
,
1493 WS_LISTENER_PROPERTY_CONNECT_TIMEOUT
,
1494 WS_LISTENER_PROPERTY_IS_MULTICAST
,
1495 WS_LISTENER_PROPERTY_MULTICAST_INTERFACES
,
1496 WS_LISTENER_PROPERTY_MULTICAST_LOOPBACK
,
1497 WS_LISTENER_PROPERTY_CLOSE_TIMEOUT
,
1498 WS_LISTENER_PROPERTY_TO_HEADER_MATCHING_OPTIONS
,
1499 WS_LISTENER_PROPERTY_TRANSPORT_URL_MATCHING_OPTIONS
,
1500 WS_LISTENER_PROPERTY_CUSTOM_LISTENER_CALLBACKS
,
1501 WS_LISTENER_PROPERTY_CUSTOM_LISTENER_PARAMETERS
,
1502 WS_LISTENER_PROPERTY_CUSTOM_LISTENER_INSTANCE
,
1503 WS_LISTENER_PROPERTY_DISALLOWED_USER_AGENT
1504 } WS_LISTENER_PROPERTY_ID
;
1506 struct _WS_LISTENER_PROPERTY
1508 WS_LISTENER_PROPERTY_ID id
;
1513 struct _WS_DISALLOWED_USER_AGENT_SUBSTRINGS
1515 ULONG subStringCount
;
1516 WS_STRING
**subStrings
;
1519 struct _WS_LISTENER_PROPERTIES
1521 WS_LISTENER_PROPERTY
*properties
;
1522 ULONG propertyCount
;
1525 typedef HRESULT (CALLBACK
*WS_CREATE_LISTENER_CALLBACK
)
1526 (WS_CHANNEL_TYPE
, const void*, ULONG
, void**, WS_ERROR
*);
1528 typedef void (CALLBACK
*WS_FREE_LISTENER_CALLBACK
)
1531 typedef HRESULT (CALLBACK
*WS_RESET_LISTENER_CALLBACK
)
1534 typedef HRESULT (CALLBACK
*WS_OPEN_LISTENER_CALLBACK
)
1535 (void*, const WS_STRING
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1537 typedef HRESULT (CALLBACK
*WS_CLOSE_LISTENER_CALLBACK
)
1538 (void*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1540 typedef HRESULT (CALLBACK
*WS_ABORT_LISTENER_CALLBACK
)
1543 typedef HRESULT (CALLBACK
*WS_GET_LISTENER_PROPERTY_CALLBACK
)
1544 (void*, WS_LISTENER_PROPERTY_ID
, void*, ULONG
, WS_ERROR
*);
1546 typedef HRESULT (CALLBACK
*WS_SET_LISTENER_PROPERTY_CALLBACK
)
1547 (void*, WS_LISTENER_PROPERTY_ID
, const void*, ULONG
, WS_ERROR
*);
1549 typedef HRESULT (CALLBACK
*WS_CREATE_CHANNEL_FOR_LISTENER_CALLBACK
)
1550 (void*, const void*, ULONG
, void**, WS_ERROR
*);
1552 typedef HRESULT (CALLBACK
*WS_ACCEPT_CHANNEL_CALLBACK
)
1553 (void*, void*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1555 struct _WS_CUSTOM_LISTENER_CALLBACKS
1557 WS_CREATE_LISTENER_CALLBACK createListenerCallback
;
1558 WS_FREE_LISTENER_CALLBACK freeListenerCallback
;
1559 WS_RESET_LISTENER_CALLBACK resetListenerCallback
;
1560 WS_OPEN_LISTENER_CALLBACK openListenerCallback
;
1561 WS_CLOSE_LISTENER_CALLBACK closeListenerCallback
;
1562 WS_ABORT_LISTENER_CALLBACK abortListenerCallback
;
1563 WS_GET_LISTENER_PROPERTY_CALLBACK getListenerPropertyCallback
;
1564 WS_SET_LISTENER_PROPERTY_CALLBACK setListenerPropertyCallback
;
1565 WS_CREATE_CHANNEL_FOR_LISTENER_CALLBACK createChannelForListenerCallback
;
1566 WS_ACCEPT_CHANNEL_CALLBACK acceptChannelCallback
;
1571 WS_MATCH_URL_DNS_HOST
= 0x1,
1572 WS_MATCH_URL_DNS_FULLY_QUALIFIED_HOST
= 0x2,
1573 WS_MATCH_URL_NETBIOS_HOST
= 0x4,
1574 WS_MATCH_URL_LOCAL_HOST
= 0x8,
1575 WS_MATCH_URL_HOST_ADDRESSES
= 0x10,
1576 WS_MATCH_URL_THIS_HOST
= (WS_MATCH_URL_DNS_HOST
|
1577 WS_MATCH_URL_DNS_FULLY_QUALIFIED_HOST
|
1578 WS_MATCH_URL_NETBIOS_HOST
|
1579 WS_MATCH_URL_LOCAL_HOST
|
1580 WS_MATCH_URL_HOST_ADDRESSES
),
1581 WS_MATCH_URL_PORT
= 0x20,
1582 WS_MATCH_URL_EXACT_PATH
= 0x40,
1583 WS_MATCH_URL_PREFIX_PATH
= 0x80,
1584 WS_MATCH_URL_NO_QUERY
= 0x100
1587 HRESULT WINAPI
WsAbortServiceProxy(WS_SERVICE_PROXY
*, WS_ERROR
*);
1588 HRESULT WINAPI
WsAcceptChannel(WS_LISTENER
*, WS_CHANNEL
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1589 HRESULT WINAPI
WsAddCustomHeader(WS_MESSAGE
*, const WS_ELEMENT_DESCRIPTION
*, WS_WRITE_OPTION
,
1590 const void*, ULONG
, ULONG
, WS_ERROR
*);
1591 HRESULT WINAPI
WsAddMappedHeader(WS_MESSAGE
*, const WS_XML_STRING
*, WS_TYPE
, WS_WRITE_OPTION
,
1592 const void*, ULONG
, WS_ERROR
*);
1593 HRESULT WINAPI
WsAddressMessage(WS_MESSAGE
*, const WS_ENDPOINT_ADDRESS
*, WS_ERROR
*);
1594 HRESULT WINAPI
WsAlloc(WS_HEAP
*, SIZE_T
, void**, WS_ERROR
*);
1595 HRESULT WINAPI
WsCall(WS_SERVICE_PROXY
*, const WS_OPERATION_DESCRIPTION
*, const void**,
1596 WS_HEAP
*, const WS_CALL_PROPERTY
*, const ULONG
, const WS_ASYNC_CONTEXT
*,
1598 HRESULT WINAPI
WsCloseChannel(WS_CHANNEL
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1599 HRESULT WINAPI
WsCloseListener(WS_LISTENER
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1600 HRESULT WINAPI
WsCloseServiceProxy(WS_SERVICE_PROXY
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1601 HRESULT WINAPI
WsCombineUrl(const WS_STRING
*, const WS_STRING
*, ULONG
, WS_HEAP
*, WS_STRING
*, WS_ERROR
*);
1602 HRESULT WINAPI
WsCopyNode(WS_XML_WRITER
*, WS_XML_READER
*, WS_ERROR
*);
1603 HRESULT WINAPI
WsCreateChannel(WS_CHANNEL_TYPE
, WS_CHANNEL_BINDING
, const WS_CHANNEL_PROPERTY
*,
1604 ULONG
, const WS_SECURITY_DESCRIPTION
*, WS_CHANNEL
**, WS_ERROR
*);
1605 HRESULT WINAPI
WsCreateChannelForListener(WS_LISTENER
*, const WS_CHANNEL_PROPERTY
*, ULONG
, WS_CHANNEL
**,
1607 HRESULT WINAPI
WsCreateError(const WS_ERROR_PROPERTY
*, ULONG
, WS_ERROR
**);
1608 HRESULT WINAPI
WsCreateHeap(SIZE_T
, SIZE_T
, const WS_HEAP_PROPERTY
*, ULONG
, WS_HEAP
**, WS_ERROR
*);
1609 HRESULT WINAPI
WsCreateListener(WS_CHANNEL_TYPE
, WS_CHANNEL_BINDING
, const WS_LISTENER_PROPERTY
*,
1610 ULONG
, const WS_SECURITY_DESCRIPTION
*, WS_LISTENER
**, WS_ERROR
*);
1611 HRESULT WINAPI
WsCreateMessage(WS_ENVELOPE_VERSION
, WS_ADDRESSING_VERSION
, const WS_MESSAGE_PROPERTY
*,
1612 ULONG
, WS_MESSAGE
**, WS_ERROR
*);
1613 HRESULT WINAPI
WsCreateMessageForChannel(WS_CHANNEL
*, const WS_MESSAGE_PROPERTY
*, ULONG
, WS_MESSAGE
**,
1615 HRESULT WINAPI
WsCreateReader(const WS_XML_READER_PROPERTY
*, ULONG
, WS_XML_READER
**, WS_ERROR
*);
1616 HRESULT WINAPI
WsCreateServiceProxy(const WS_CHANNEL_TYPE
, const WS_CHANNEL_BINDING
,
1617 const WS_SECURITY_DESCRIPTION
*, const WS_PROXY_PROPERTY
*,
1618 const ULONG
, const WS_CHANNEL_PROPERTY
*, const ULONG
,
1619 WS_SERVICE_PROXY
**, WS_ERROR
*);
1620 HRESULT WINAPI
WsCreateServiceProxyFromTemplate(WS_CHANNEL_TYPE
, const WS_PROXY_PROPERTY
*,
1621 const ULONG
, WS_BINDING_TEMPLATE_TYPE
,
1622 void*, ULONG
, const void*, ULONG
,
1623 WS_SERVICE_PROXY
**, WS_ERROR
*);
1624 HRESULT WINAPI
WsCreateWriter(const WS_XML_WRITER_PROPERTY
*, ULONG
, WS_XML_WRITER
**, WS_ERROR
*);
1625 HRESULT WINAPI
WsCreateXmlBuffer(WS_HEAP
*, const WS_XML_BUFFER_PROPERTY
*, ULONG
, WS_XML_BUFFER
**,
1627 HRESULT WINAPI
WsDateTimeToFileTime(const WS_DATETIME
*, FILETIME
*, WS_ERROR
*);
1628 HRESULT WINAPI
WsDecodeUrl(const WS_STRING
*, ULONG
, WS_HEAP
*, WS_URL
**, WS_ERROR
*);
1629 HRESULT WINAPI
WsEncodeUrl(const WS_URL
*, ULONG
, WS_HEAP
*, WS_STRING
*, WS_ERROR
*);
1630 HRESULT WINAPI
WsFileTimeToDateTime(const FILETIME
*, WS_DATETIME
*, WS_ERROR
*);
1631 HRESULT WINAPI
WsFillBody(WS_MESSAGE
*, ULONG
, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1632 HRESULT WINAPI
WsFillReader(WS_XML_READER
*, ULONG
, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1633 HRESULT WINAPI
WsFindAttribute(WS_XML_READER
*, const WS_XML_STRING
*, const WS_XML_STRING
*, BOOL
,
1635 HRESULT WINAPI
WsFlushBody(WS_MESSAGE
*, ULONG
, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1636 HRESULT WINAPI
WsFlushWriter(WS_XML_WRITER
*, ULONG
, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1637 void WINAPI
WsFreeChannel(WS_CHANNEL
*);
1638 void WINAPI
WsFreeError(WS_ERROR
*);
1639 void WINAPI
WsFreeHeap(WS_HEAP
*);
1640 void WINAPI
WsFreeListener(WS_LISTENER
*);
1641 void WINAPI
WsFreeMessage(WS_MESSAGE
*);
1642 void WINAPI
WsFreeReader(WS_XML_READER
*);
1643 void WINAPI
WsFreeServiceProxy(WS_SERVICE_PROXY
*);
1644 void WINAPI
WsFreeWriter(WS_XML_WRITER
*);
1645 HRESULT WINAPI
WsGetChannelProperty(WS_CHANNEL
*, WS_CHANNEL_PROPERTY_ID
, void*, ULONG
, WS_ERROR
*);
1646 HRESULT WINAPI
WsGetCustomHeader(WS_MESSAGE
*, const WS_ELEMENT_DESCRIPTION
*, WS_REPEATING_HEADER_OPTION
,
1647 ULONG
, WS_READ_OPTION
, WS_HEAP
*, void*, ULONG
, ULONG
*, WS_ERROR
*);
1648 HRESULT WINAPI
WsGetDictionary(WS_ENCODING
, WS_XML_DICTIONARY
**, WS_ERROR
*);
1649 HRESULT WINAPI
WsGetErrorProperty(WS_ERROR
*, WS_ERROR_PROPERTY_ID
, void*, ULONG
);
1650 HRESULT WINAPI
WsGetErrorString(WS_ERROR
*, ULONG
, WS_STRING
*);
1651 HRESULT WINAPI
WsGetHeader(WS_MESSAGE
*, WS_HEADER_TYPE
, WS_TYPE
, WS_READ_OPTION
, WS_HEAP
*, void*,
1653 HRESULT WINAPI
WsGetHeapProperty(WS_HEAP
*, WS_HEAP_PROPERTY_ID
, void*, ULONG
, WS_ERROR
*);
1654 HRESULT WINAPI
WsGetListenerProperty(WS_LISTENER
*, WS_LISTENER_PROPERTY_ID
, void*, ULONG
, WS_ERROR
*);
1655 HRESULT WINAPI
WsGetMappedHeader(WS_MESSAGE
*, const WS_XML_STRING
*, WS_REPEATING_HEADER_OPTION
,
1656 ULONG
, WS_TYPE
, WS_READ_OPTION
, WS_HEAP
*, void*, ULONG
, WS_ERROR
*);
1657 HRESULT WINAPI
WsGetMessageProperty(WS_MESSAGE
*, WS_MESSAGE_PROPERTY_ID
, void*, ULONG
, WS_ERROR
*);
1658 HRESULT WINAPI
WsGetNamespaceFromPrefix(WS_XML_READER
*, const WS_XML_STRING
*, BOOL
,
1659 const WS_XML_STRING
**, WS_ERROR
*);
1660 HRESULT WINAPI
WsGetPrefixFromNamespace(WS_XML_WRITER
*, const WS_XML_STRING
*, BOOL
,
1661 const WS_XML_STRING
**, WS_ERROR
*);
1662 HRESULT WINAPI
WsGetReaderNode(WS_XML_READER
*, const WS_XML_NODE
**, WS_ERROR
*);
1663 HRESULT WINAPI
WsGetReaderPosition(WS_XML_READER
*, WS_XML_NODE_POSITION
*, WS_ERROR
*);
1664 HRESULT WINAPI
WsGetReaderProperty(WS_XML_READER
*, WS_XML_READER_PROPERTY_ID
, void*, ULONG
, WS_ERROR
*);
1665 HRESULT WINAPI
WsGetServiceProxyProperty(WS_SERVICE_PROXY
*, const WS_PROXY_PROPERTY_ID
, void*,
1667 HRESULT WINAPI
WsGetWriterPosition(WS_XML_WRITER
*, WS_XML_NODE_POSITION
*, WS_ERROR
*);
1668 HRESULT WINAPI
WsGetWriterProperty(WS_XML_WRITER
*, WS_XML_WRITER_PROPERTY_ID
, void*, ULONG
, WS_ERROR
*);
1669 HRESULT WINAPI
WsGetXmlAttribute(WS_XML_READER
*, const WS_XML_STRING
*, WS_HEAP
*, WCHAR
**,
1671 HRESULT WINAPI
WsInitializeMessage(WS_MESSAGE
*, WS_MESSAGE_INITIALIZATION
, WS_MESSAGE
*, WS_ERROR
*);
1672 HRESULT WINAPI
WsMoveReader(WS_XML_READER
*, WS_MOVE_TO
, BOOL
*, WS_ERROR
*);
1673 HRESULT WINAPI
WsMoveWriter(WS_XML_WRITER
*, WS_MOVE_TO
, BOOL
*, WS_ERROR
*);
1674 HRESULT WINAPI
WsOpenChannel(WS_CHANNEL
*, const WS_ENDPOINT_ADDRESS
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1675 HRESULT WINAPI
WsOpenListener(WS_LISTENER
*, WS_STRING
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1676 HRESULT WINAPI
WsOpenServiceProxy(WS_SERVICE_PROXY
*, const WS_ENDPOINT_ADDRESS
*, const WS_ASYNC_CONTEXT
*,
1678 HRESULT WINAPI
WsReadAttribute(WS_XML_READER
*, const WS_ATTRIBUTE_DESCRIPTION
*, WS_READ_OPTION
,
1679 WS_HEAP
*, void*, ULONG
, WS_ERROR
*);
1680 HRESULT WINAPI
WsReadBody(WS_MESSAGE
*, const WS_ELEMENT_DESCRIPTION
*, WS_READ_OPTION
, WS_HEAP
*, void*,
1682 HRESULT WINAPI
WsReadBytes(WS_XML_READER
*, void*, ULONG
, ULONG
*, WS_ERROR
*);
1683 HRESULT WINAPI
WsReadChars(WS_XML_READER
*, WCHAR
*, ULONG
, ULONG
*, WS_ERROR
*);
1684 HRESULT WINAPI
WsReadCharsUtf8(WS_XML_READER
*, BYTE
*, ULONG
, ULONG
*, WS_ERROR
*);
1685 HRESULT WINAPI
WsReadElement(WS_XML_READER
*, const WS_ELEMENT_DESCRIPTION
*, WS_READ_OPTION
,
1686 WS_HEAP
*, void*, ULONG
, WS_ERROR
*);
1687 HRESULT WINAPI
WsReadEndAttribute(WS_XML_READER
*, WS_ERROR
*);
1688 HRESULT WINAPI
WsReadEndElement(WS_XML_READER
*, WS_ERROR
*);
1689 HRESULT WINAPI
WsReadEnvelopeEnd(WS_MESSAGE
*, WS_ERROR
*);
1690 HRESULT WINAPI
WsReadEnvelopeStart(WS_MESSAGE
*, WS_XML_READER
*, WS_MESSAGE_DONE_CALLBACK
, void*,
1692 HRESULT WINAPI
WsReadMessageEnd(WS_CHANNEL
*, WS_MESSAGE
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1693 HRESULT WINAPI
WsReadMessageStart(WS_CHANNEL
*, WS_MESSAGE
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1694 HRESULT WINAPI
WsReadNode(WS_XML_READER
*, WS_ERROR
*);
1695 HRESULT WINAPI
WsReadQualifiedName(WS_XML_READER
*, WS_HEAP
*, WS_XML_STRING
*, WS_XML_STRING
*,
1696 WS_XML_STRING
*, WS_ERROR
*);
1697 HRESULT WINAPI
WsReadStartAttribute(WS_XML_READER
*, ULONG
, WS_ERROR
*);
1698 HRESULT WINAPI
WsReadStartElement(WS_XML_READER
*, WS_ERROR
*);
1699 HRESULT WINAPI
WsReadToStartElement(WS_XML_READER
*, const WS_XML_STRING
*, const WS_XML_STRING
*,
1701 HRESULT WINAPI
WsReadType(WS_XML_READER
*, WS_TYPE_MAPPING
, WS_TYPE
, const void*, WS_READ_OPTION
,
1702 WS_HEAP
*, void*, ULONG
, WS_ERROR
*);
1703 HRESULT WINAPI
WsReadValue(WS_XML_READER
*, WS_VALUE_TYPE
, void*, ULONG
, WS_ERROR
*);
1704 HRESULT WINAPI
WsReadXmlBuffer(WS_XML_READER
*, WS_HEAP
*, WS_XML_BUFFER
**, WS_ERROR
*);
1705 HRESULT WINAPI
WsReceiveMessage(WS_CHANNEL
*, WS_MESSAGE
*, const WS_MESSAGE_DESCRIPTION
**, ULONG
,
1706 WS_RECEIVE_OPTION
, WS_READ_OPTION
, WS_HEAP
*, void*, ULONG
, ULONG
*,
1707 const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1708 HRESULT WINAPI
WsRemoveCustomHeader(WS_MESSAGE
*, const WS_XML_STRING
*, const WS_XML_STRING
*,
1710 HRESULT WINAPI
WsRemoveHeader(WS_MESSAGE
*, WS_HEADER_TYPE
, WS_ERROR
*);
1711 HRESULT WINAPI
WsRemoveMappedHeader(WS_MESSAGE
*, const WS_XML_STRING
*, WS_ERROR
*);
1712 HRESULT WINAPI
WsRemoveNode(const WS_XML_NODE_POSITION
*, WS_ERROR
*);
1713 HRESULT WINAPI
WsRequestReply(WS_CHANNEL
*, WS_MESSAGE
*, const WS_MESSAGE_DESCRIPTION
*, WS_WRITE_OPTION
,
1714 const void*, ULONG
, WS_MESSAGE
*, const WS_MESSAGE_DESCRIPTION
*, WS_READ_OPTION
,
1715 WS_HEAP
*, void*, ULONG
, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1716 HRESULT WINAPI
WsResetChannel(WS_CHANNEL
*, WS_ERROR
*);
1717 HRESULT WINAPI
WsResetMessage(WS_MESSAGE
*, WS_ERROR
*);
1718 HRESULT WINAPI
WsResetError(WS_ERROR
*);
1719 HRESULT WINAPI
WsResetHeap(WS_HEAP
*, WS_ERROR
*);
1720 HRESULT WINAPI
WsResetListener(WS_LISTENER
*, WS_ERROR
*);
1721 HRESULT WINAPI
WsResetMessage(WS_MESSAGE
*, WS_ERROR
*);
1722 HRESULT WINAPI
WsResetServiceProxy(WS_SERVICE_PROXY
*, WS_ERROR
*);
1723 HRESULT WINAPI
WsRequestReply(WS_CHANNEL
*, WS_MESSAGE
*, const WS_MESSAGE_DESCRIPTION
*, WS_WRITE_OPTION
,
1724 const void*, ULONG
, WS_MESSAGE
*, const WS_MESSAGE_DESCRIPTION
*,
1725 WS_READ_OPTION
, WS_HEAP
*, void*, ULONG
, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1726 HRESULT WINAPI
WsSendMessage(WS_CHANNEL
*, WS_MESSAGE
*, const WS_MESSAGE_DESCRIPTION
*, WS_WRITE_OPTION
,
1727 const void*, ULONG
, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1728 HRESULT WINAPI
WsSendReplyMessage(WS_CHANNEL
*, WS_MESSAGE
*, const WS_MESSAGE_DESCRIPTION
*,
1729 WS_WRITE_OPTION
, const void*, ULONG
, WS_MESSAGE
*,
1730 const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1731 HRESULT WINAPI
WsSetChannelProperty(WS_CHANNEL
*, WS_CHANNEL_PROPERTY_ID
, const void*, ULONG
, WS_ERROR
*);
1732 HRESULT WINAPI
WsSetErrorProperty(WS_ERROR
*, WS_ERROR_PROPERTY_ID
, const void*, ULONG
);
1733 HRESULT WINAPI
WsSetHeader(WS_MESSAGE
*, WS_HEADER_TYPE
, WS_TYPE
, WS_WRITE_OPTION
, const void*, ULONG
,
1735 HRESULT WINAPI
WsSetInput(WS_XML_READER
*, const WS_XML_READER_ENCODING
*, const WS_XML_READER_INPUT
*,
1736 const WS_XML_READER_PROPERTY
*, ULONG
, WS_ERROR
*);
1737 HRESULT WINAPI
WsSetInputToBuffer(WS_XML_READER
*, WS_XML_BUFFER
*, const WS_XML_READER_PROPERTY
*,
1739 HRESULT WINAPI
WsSetListenerProperty(WS_LISTENER
*, WS_LISTENER_PROPERTY_ID
, const void*, ULONG
, WS_ERROR
*);
1740 HRESULT WINAPI
WsSetMessageProperty(WS_MESSAGE
*, WS_MESSAGE_PROPERTY_ID
, const void*, ULONG
, WS_ERROR
*);
1741 HRESULT WINAPI
WsSetOutput(WS_XML_WRITER
*, const WS_XML_WRITER_ENCODING
*, const WS_XML_WRITER_OUTPUT
*,
1742 const WS_XML_WRITER_PROPERTY
*, ULONG
, WS_ERROR
*);
1743 HRESULT WINAPI
WsSetOutputToBuffer(WS_XML_WRITER
*, WS_XML_BUFFER
*, const WS_XML_WRITER_PROPERTY
*,
1745 HRESULT WINAPI
WsSetReaderPosition(WS_XML_READER
*, const WS_XML_NODE_POSITION
*, WS_ERROR
*);
1746 HRESULT WINAPI
WsSetWriterPosition(WS_XML_WRITER
*, const WS_XML_NODE_POSITION
*, WS_ERROR
*);
1747 HRESULT WINAPI
WsShutdownSessionChannel(WS_CHANNEL
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1748 HRESULT WINAPI
WsSkipNode(WS_XML_READER
*, WS_ERROR
*);
1749 HRESULT WINAPI
WsWriteArray(WS_XML_WRITER
*, const WS_XML_STRING
*, const WS_XML_STRING
*, WS_VALUE_TYPE
,
1750 const void*, ULONG
, ULONG
, ULONG
, WS_ERROR
*);
1751 HRESULT WINAPI
WsWriteAttribute(WS_XML_WRITER
*, const WS_ATTRIBUTE_DESCRIPTION
*, WS_WRITE_OPTION
,
1752 const void*, ULONG
, WS_ERROR
*);
1753 HRESULT WINAPI
WsWriteBody(WS_MESSAGE
*, const WS_ELEMENT_DESCRIPTION
*, WS_WRITE_OPTION
, const void*,
1755 HRESULT WINAPI
WsWriteBytes(WS_XML_WRITER
*, const void*, ULONG
, WS_ERROR
*);
1756 HRESULT WINAPI
WsWriteChars(WS_XML_WRITER
*, const WCHAR
*, ULONG
, WS_ERROR
*);
1757 HRESULT WINAPI
WsWriteCharsUtf8(WS_XML_WRITER
*, const BYTE
*, ULONG
, WS_ERROR
*);
1758 HRESULT WINAPI
WsWriteElement(WS_XML_WRITER
*, const WS_ELEMENT_DESCRIPTION
*, WS_WRITE_OPTION
,
1759 const void*, ULONG
, WS_ERROR
*);
1760 HRESULT WINAPI
WsWriteEndAttribute(WS_XML_WRITER
*, WS_ERROR
*);
1761 HRESULT WINAPI
WsWriteEndCData(WS_XML_WRITER
*, WS_ERROR
*);
1762 HRESULT WINAPI
WsWriteEndElement(WS_XML_WRITER
*, WS_ERROR
*);
1763 HRESULT WINAPI
WsWriteEndStartElement(WS_XML_WRITER
*, WS_ERROR
*);
1764 HRESULT WINAPI
WsWriteEnvelopeEnd(WS_MESSAGE
*, WS_ERROR
*);
1765 HRESULT WINAPI
WsWriteEnvelopeStart(WS_MESSAGE
*, WS_XML_WRITER
*, WS_MESSAGE_DONE_CALLBACK
, void*, WS_ERROR
*);
1766 HRESULT WINAPI
WsWriteMessageStart(WS_CHANNEL
*, WS_MESSAGE
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1767 HRESULT WINAPI
WsWriteMessageEnd(WS_CHANNEL
*, WS_MESSAGE
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1768 HRESULT WINAPI
WsWriteNode(WS_XML_WRITER
*, const WS_XML_NODE
*, WS_ERROR
*);
1769 HRESULT WINAPI
WsWriteQualifiedName(WS_XML_WRITER
*, const WS_XML_STRING
*, const WS_XML_STRING
*,
1770 const WS_XML_STRING
*, WS_ERROR
*);
1771 HRESULT WINAPI
WsWriteStartAttribute(WS_XML_WRITER
*, const WS_XML_STRING
*, const WS_XML_STRING
*,
1772 const WS_XML_STRING
*, BOOL
, WS_ERROR
*);
1773 HRESULT WINAPI
WsWriteStartCData(WS_XML_WRITER
*, WS_ERROR
*);
1774 HRESULT WINAPI
WsWriteStartElement(WS_XML_WRITER
*, const WS_XML_STRING
*, const WS_XML_STRING
*,
1775 const WS_XML_STRING
*, WS_ERROR
*);
1776 HRESULT WINAPI
WsWriteText(WS_XML_WRITER
*, const WS_XML_TEXT
*, WS_ERROR
*);
1777 HRESULT WINAPI
WsWriteType(WS_XML_WRITER
*, WS_TYPE_MAPPING
, WS_TYPE
, const void*, WS_WRITE_OPTION
,
1778 const void*, ULONG
, WS_ERROR
*);
1779 HRESULT WINAPI
WsWriteValue(WS_XML_WRITER
*, WS_VALUE_TYPE
, const void*, ULONG
, WS_ERROR
*);
1780 HRESULT WINAPI
WsWriteXmlBuffer(WS_XML_WRITER
*, WS_XML_BUFFER
*, WS_ERROR
*);
1781 HRESULT WINAPI
WsWriteXmlBufferToBytes(WS_XML_WRITER
*, WS_XML_BUFFER
*, const WS_XML_WRITER_ENCODING
*,
1782 const WS_XML_WRITER_PROPERTY
*, ULONG
, WS_HEAP
*, void**,
1784 HRESULT WINAPI
WsWriteXmlnsAttribute(WS_XML_WRITER
*, const WS_XML_STRING
*, const WS_XML_STRING
*,
1786 HRESULT WINAPI
WsXmlStringEquals(const WS_XML_STRING
*, const WS_XML_STRING
*, WS_ERROR
*);
1788 #define WS_S_ASYNC 0x003d0000
1789 #define WS_S_END 0x003d0001
1790 #define WS_E_INVALID_FORMAT 0x803d0000
1791 #define WS_E_OBJECT_FAULTED 0x803d0001
1792 #define WS_E_NUMERIC_OVERFLOW 0x803d0002
1793 #define WS_E_INVALID_OPERATION 0x803d0003
1794 #define WS_E_OPERATION_ABORTED 0x803d0004
1795 #define WS_E_ENDPOINT_ACCESS_DENIED 0x803d0005
1796 #define WS_E_OPERATION_TIMED_OUT 0x803d0006
1797 #define WS_E_OPERATION_ABANDONED 0x803d0007
1798 #define WS_E_QUOTA_EXCEEDED 0x803d0008
1799 #define WS_E_NO_TRANSLATION_AVAILABLE 0x803d0009
1800 #define WS_E_SECURITY_VERIFICATION_FAILURE 0x803d000a
1801 #define WS_E_ADDRESS_IN_USE 0x803d000b
1802 #define WS_E_ADDRESS_NOT_AVAILABLE 0x803d000c
1803 #define WS_E_ENDPOINT_NOT_FOUND 0x803d000d
1804 #define WS_E_ENDPOINT_NOT_AVAILABLE 0x803d000e
1805 #define WS_E_ENDPOINT_FAILURE 0x803d000f
1806 #define WS_E_ENDPOINT_UNREACHABLE 0x803d0010
1807 #define WS_E_ENDPOINT_ACTION_NOT_SUPPORTED 0x803d0011
1808 #define WS_E_ENDPOINT_TOO_BUSY 0x803d0012
1809 #define WS_E_ENDPOINT_FAULT_RECEIVED 0x803d0013
1810 #define WS_E_ENDPOINT_DISCONNECTED 0x803d0014
1811 #define WS_E_PROXY_FAILURE 0x803d0015
1812 #define WS_E_PROXY_ACCESS_DENIED 0x803d0016
1813 #define WS_E_NOT_SUPPORTED 0x803d0017
1814 #define WS_E_PROXY_REQUIRES_BASIC_AUTH 0x803d0018
1815 #define WS_E_PROXY_REQUIRES_DIGEST_AUTH 0x803d0019
1816 #define WS_E_PROXY_REQUIRES_NTLM_AUTH 0x803d001a
1817 #define WS_E_PROXY_REQUIRES_NEGOTIATE_AUTH 0x803d001b
1818 #define WS_E_SERVER_REQUIRES_BASIC_AUTH 0x803d001c
1819 #define WS_E_SERVER_REQUIRES_DIGEST_AUTH 0x803d001d
1820 #define WS_E_SERVER_REQUIRES_NTLM_AUTH 0x803d001e
1821 #define WS_E_SERVER_REQUIRES_NEGOTIATE_AUTH 0x803d001f
1822 #define WS_E_INVALID_ENDPOINT_URL 0x803d0020
1823 #define WS_E_OTHER 0x803d0021
1824 #define WS_E_SECURITY_TOKEN_EXPIRED 0x803d0022
1825 #define WS_E_SECURITY_SYSTEM_FAILURE 0x803d0023
1829 #endif /* __cplusplus */
1831 #endif /* __WINE_WEBSERVICES_H */