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_DOUBLE_DESCRIPTION WS_DOUBLE_DESCRIPTION
;
60 typedef struct _WS_DATETIME WS_DATETIME
;
61 typedef struct _WS_DATETIME_DESCRIPTION WS_DATETIME_DESCRIPTION
;
62 typedef struct _WS_GUID_DESCRIPTION WS_GUID_DESCRIPTION
;
63 typedef struct _WS_UNIQUE_ID_DESCRIPTION WS_UNIQUE_ID_DESCRIPTION
;
64 typedef struct _WS_URL WS_URL
;
65 typedef struct _WS_HTTP_URL WS_HTTP_URL
;
66 typedef struct _WS_HTTPS_URL WS_HTTPS_URL
;
67 typedef struct _WS_NETTCP_URL WS_NETTCP_URL
;
68 typedef struct _WS_SOAPUDP_URL WS_SOAPUDP_URL
;
69 typedef struct _WS_NETPIPE_URL WS_NETPIPE_URL
;
70 typedef struct _WS_CUSTOM_CHANNEL_CALLBACKS WS_CUSTOM_CHANNEL_CALLBACKS
;
71 typedef struct _WS_CHANNEL_ENCODER WS_CHANNEL_ENCODER
;
72 typedef struct _WS_CHANNEL_DECODER WS_CHANNEL_DECODER
;
73 typedef struct _WS_CUSTOM_HTTP_PROXY WS_CUSTOM_HTTP_PROXY
;
74 typedef struct _WS_HTTP_MESSAGE_MAPPING WS_HTTP_MESSAGE_MAPPING
;
75 typedef struct _WS_HTTP_HEADER_MAPPING WS_HTTP_HEADER_MAPPING
;
76 typedef struct _WS_HTTP_REDIRECT_CALLBACK_CONTEXT WS_HTTP_REDIRECT_CALLBACK_CONTEXT
;
77 typedef struct _WS_PROXY_MESSAGE_CALLBACK_CONTEXT WS_PROXY_MESSAGE_CALLBACK_CONTEXT
;
79 struct _WS_STRUCT_DESCRIPTION
;
80 struct _WS_XML_STRING
;
83 WS_ERROR_PROPERTY_STRING_COUNT
,
84 WS_ERROR_PROPERTY_ORIGINAL_ERROR_CODE
,
85 WS_ERROR_PROPERTY_LANGID
86 } WS_ERROR_PROPERTY_ID
;
88 typedef struct _WS_ERROR_PROPERTY
{
89 WS_ERROR_PROPERTY_ID id
;
95 WS_HEAP_PROPERTY_MAX_SIZE
,
96 WS_HEAP_PROPERTY_TRIM_SIZE
,
97 WS_HEAP_PROPERTY_REQUESTED_SIZE
,
98 WS_HEAP_PROPERTY_ACTUAL_SIZE
99 } WS_HEAP_PROPERTY_ID
;
101 typedef struct _WS_HEAP_PROPERTY
{
102 WS_HEAP_PROPERTY_ID id
;
107 typedef ULONG WS_XML_BUFFER_PROPERTY_ID
;
109 typedef struct _WS_XML_BUFFER_PROPERTY
{
110 WS_XML_BUFFER_PROPERTY_ID id
;
113 } WS_XML_BUFFER_PROPERTY
;
116 WS_XML_READER_PROPERTY_MAX_DEPTH
,
117 WS_XML_READER_PROPERTY_ALLOW_FRAGMENT
,
118 WS_XML_READER_PROPERTY_MAX_ATTRIBUTES
,
119 WS_XML_READER_PROPERTY_READ_DECLARATION
,
120 WS_XML_READER_PROPERTY_CHARSET
,
121 WS_XML_READER_PROPERTY_ROW
,
122 WS_XML_READER_PROPERTY_COLUMN
,
123 WS_XML_READER_PROPERTY_UTF8_TRIM_SIZE
,
124 WS_XML_READER_PROPERTY_STREAM_BUFFER_SIZE
,
125 WS_XML_READER_PROPERTY_IN_ATTRIBUTE
,
126 WS_XML_READER_PROPERTY_STREAM_MAX_ROOT_MIME_PART_SIZE
,
127 WS_XML_READER_PROPERTY_STREAM_MAX_MIME_HEADERS_SIZE
,
128 WS_XML_READER_PROPERTY_MAX_MIME_PARTS
,
129 WS_XML_READER_PROPERTY_ALLOW_INVALID_CHARACTER_REFERENCES
,
130 WS_XML_READER_PROPERTY_MAX_NAMESPACES
131 } WS_XML_READER_PROPERTY_ID
;
133 typedef struct _WS_XML_READER_PROPERTY
{
134 WS_XML_READER_PROPERTY_ID id
;
137 } WS_XML_READER_PROPERTY
;
140 WS_XML_WRITER_PROPERTY_MAX_DEPTH
,
141 WS_XML_WRITER_PROPERTY_ALLOW_FRAGMENT
,
142 WS_XML_WRITER_PROPERTY_MAX_ATTRIBUTES
,
143 WS_XML_WRITER_PROPERTY_WRITE_DECLARATION
,
144 WS_XML_WRITER_PROPERTY_INDENT
,
145 WS_XML_WRITER_PROPERTY_BUFFER_TRIM_SIZE
,
146 WS_XML_WRITER_PROPERTY_CHARSET
,
147 WS_XML_WRITER_PROPERTY_BUFFERS
,
148 WS_XML_WRITER_PROPERTY_BUFFER_MAX_SIZE
,
149 WS_XML_WRITER_PROPERTY_BYTES
,
150 WS_XML_WRITER_PROPERTY_IN_ATTRIBUTE
,
151 WS_XML_WRITER_PROPERTY_MAX_MIME_PARTS_BUFFER_SIZE
,
152 WS_XML_WRITER_PROPERTY_INITIAL_BUFFER
,
153 WS_XML_WRITER_PROPERTY_ALLOW_INVALID_CHARACTER_REFERENCES
,
154 WS_XML_WRITER_PROPERTY_MAX_NAMESPACES
,
155 WS_XML_WRITER_PROPERTY_BYTES_WRITTEN
,
156 WS_XML_WRITER_PROPERTY_BYTES_TO_CLOSE
,
157 WS_XML_WRITER_PROPERTY_COMPRESS_EMPTY_ELEMENTS
,
158 WS_XML_WRITER_PROPERTY_EMIT_UNCOMPRESSED_EMPTY_ELEMENTS
159 } WS_XML_WRITER_PROPERTY_ID
;
161 typedef struct _WS_XML_WRITER_PROPERTY
{
162 WS_XML_WRITER_PROPERTY_ID id
;
165 } WS_XML_WRITER_PROPERTY
;
167 typedef struct _WS_BYTES
{
172 typedef struct _WS_BUFFERS
{
178 WS_XML_READER_ENCODING_TYPE_TEXT
= 1,
179 WS_XML_READER_ENCODING_TYPE_BINARY
= 2,
180 WS_XML_READER_ENCODING_TYPE_MTOM
= 3,
181 WS_XML_READER_ENCODING_TYPE_RAW
= 4
182 } WS_XML_READER_ENCODING_TYPE
;
184 typedef struct _WS_XML_READER_ENCODING
{
185 WS_XML_READER_ENCODING_TYPE encodingType
;
186 } WS_XML_READER_ENCODING
;
189 WS_XML_WRITER_ENCODING_TYPE_TEXT
= 1,
190 WS_XML_WRITER_ENCODING_TYPE_BINARY
= 2,
191 WS_XML_WRITER_ENCODING_TYPE_MTOM
= 3,
192 WS_XML_WRITER_ENCODING_TYPE_RAW
= 4
193 } WS_XML_WRITER_ENCODING_TYPE
;
195 typedef struct _WS_XML_WRITER_ENCODING
{
196 WS_XML_WRITER_ENCODING_TYPE encodingType
;
197 } WS_XML_WRITER_ENCODING
;
206 typedef struct _WS_XML_READER_TEXT_ENCODING
{
207 WS_XML_READER_ENCODING encoding
;
209 } WS_XML_READER_TEXT_ENCODING
;
211 typedef struct _WS_XML_WRITER_TEXT_ENCODING
{
212 WS_XML_WRITER_ENCODING encoding
;
214 } WS_XML_WRITER_TEXT_ENCODING
;
217 WS_XML_READER_INPUT_TYPE_BUFFER
= 1,
218 WS_XML_READER_INPUT_TYPE_STREAM
= 2
219 } WS_XML_READER_INPUT_TYPE
;
222 WS_XML_WRITER_OUTPUT_TYPE_BUFFER
= 1,
223 WS_XML_WRITER_OUTPUT_TYPE_STREAM
= 2
224 } WS_XML_WRITER_OUTPUT_TYPE
;
226 typedef struct _WS_XML_READER_INPUT
{
227 WS_XML_READER_INPUT_TYPE inputType
;
228 } WS_XML_READER_INPUT
;
230 typedef struct _WS_XML_WRITER_OUTPUT
{
231 WS_XML_WRITER_OUTPUT_TYPE outputType
;
232 } WS_XML_WRITER_OUTPUT
;
234 typedef struct _WS_XML_READER_BUFFER_INPUT
{
235 WS_XML_READER_INPUT input
;
237 ULONG encodedDataSize
;
238 } WS_XML_READER_BUFFER_INPUT
;
240 typedef struct _WS_XML_WRITER_BUFFER_OUTPUT
{
241 WS_XML_WRITER_OUTPUT output
;
242 } WS_XML_WRITER_BUFFER_OUTPUT
;
249 typedef void (CALLBACK
*WS_ASYNC_CALLBACK
)
250 (HRESULT
, WS_CALLBACK_MODEL
, void *);
252 typedef struct _WS_ASYNC_CONTEXT
{
253 WS_ASYNC_CALLBACK callback
;
257 typedef HRESULT (CALLBACK
*WS_READ_CALLBACK
)
258 (void*, void*, ULONG
, ULONG
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
260 typedef HRESULT (CALLBACK
*WS_WRITE_CALLBACK
)
261 (void*, const WS_BYTES
*, ULONG
, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
263 typedef struct _WS_XML_READER_STREAM_INPUT
{
264 WS_XML_READER_INPUT input
;
265 WS_READ_CALLBACK readCallback
;
266 void *readCallbackState
;
267 } WS_XML_READER_STREAM_INPUT
;
269 typedef struct _WS_XML_DICTIONARY
{
271 struct _WS_XML_STRING
*strings
;
276 typedef struct _WS_XML_STRING
{
279 WS_XML_DICTIONARY
*dictionary
;
284 WS_ELEMENT_TYPE_MAPPING
= 1,
285 WS_ATTRIBUTE_TYPE_MAPPING
= 2,
286 WS_ELEMENT_CONTENT_TYPE_MAPPING
= 3,
287 WS_ANY_ELEMENT_TYPE_MAPPING
= 4
319 WS_ENDPOINT_ADDRESS_TYPE
,
325 WS_ANY_ATTRIBUTES_TYPE
329 WS_READ_REQUIRED_VALUE
= 1,
330 WS_READ_REQUIRED_POINTER
= 2,
331 WS_READ_OPTIONAL_POINTER
= 3,
332 WS_READ_NILLABLE_POINTER
= 4,
333 WS_READ_NILLABLE_VALUE
= 5
337 WS_WRITE_REQUIRED_VALUE
= 1,
338 WS_WRITE_REQUIRED_POINTER
= 2,
339 WS_WRITE_NILLABLE_VALUE
= 3,
340 WS_WRITE_NILLABLE_POINTER
= 4
343 typedef struct _WS_BOOL_DESCRIPTION
{
345 } WS_BOOL_DESCRIPTION
;
347 typedef struct _WS_INT8_DESCRIPTION
{
350 } WS_INT8_DESCRIPTION
;
352 typedef struct _WS_INT16_DESCRIPTION
{
355 } WS_INT16_DESCRIPTION
;
357 typedef struct _WS_INT32_DESCRIPTION
{
360 } WS_INT32_DESCRIPTION
;
362 typedef struct _WS_INT64_DESCRIPTION
{
365 } WS_INT64_DESCRIPTION
;
367 typedef struct _WS_UINT8_DESCRIPTION
{
370 } WS_UINT8_DESCRIPTION
;
372 typedef struct _WS_UINT16_DESCRIPTION
{
375 } WS_UINT16_DESCRIPTION
;
377 typedef struct _WS_UINT32_DESCRIPTION
{
380 } WS_UINT32_DESCRIPTION
;
382 typedef struct _WS_UINT64_DESCRIPTION
{
383 unsigned __int64 minValue
;
384 unsigned __int64 maxValue
;
385 } WS_UINT64_DESCRIPTION
;
387 typedef struct _WS_WSZ_DESCRIPTION
{
390 } WS_WSZ_DESCRIPTION
;
392 typedef struct _WS_STRING_DESCRIPTION
{
395 } WS_STRING_DESCRIPTION
;
397 typedef struct _WS_XML_STRING_DESCRIPTION
{
400 } WS_XML_STRING_DESCRIPTION
;
402 struct _WS_ENUM_VALUE
{
407 struct _WS_ENUM_DESCRIPTION
{
408 WS_ENUM_VALUE
*values
;
414 struct _WS_DOUBLE_DESCRIPTION
{
419 struct _WS_GUID_DESCRIPTION
{
423 struct _WS_UNIQUE_ID_DESCRIPTION
{
429 WS_TYPE_ATTRIBUTE_FIELD_MAPPING
,
430 WS_ATTRIBUTE_FIELD_MAPPING
,
431 WS_ELEMENT_FIELD_MAPPING
,
432 WS_REPEATING_ELEMENT_FIELD_MAPPING
,
433 WS_TEXT_FIELD_MAPPING
,
435 WS_XML_ATTRIBUTE_FIELD_MAPPING
,
436 WS_ELEMENT_CHOICE_FIELD_MAPPING
,
437 WS_REPEATING_ELEMENT_CHOICE_FIELD_MAPPING
,
438 WS_ANY_ELEMENT_FIELD_MAPPING
,
439 WS_REPEATING_ANY_ELEMENT_FIELD_MAPPING
,
440 WS_ANY_CONTENT_FIELD_MAPPING
,
441 WS_ANY_ATTRIBUTES_FIELD_MAPPING
444 typedef struct _WS_DEFAULT_VALUE
{
449 typedef struct _WS_ITEM_RANGE
{
456 WS_FIELD_POINTER
= 0x1,
457 WS_FIELD_OPTIONAL
= 0x2,
458 WS_FIELD_NILLABLE
= 0x4,
459 WS_FIELD_NILLABLE_ITEM
= 0x8,
460 WS_FIELD_OTHER_NAMESPACE
= 0x10
463 typedef struct _WS_FIELD_DESCRIPTION
{
464 WS_FIELD_MAPPING mapping
;
465 WS_XML_STRING
*localName
;
468 void *typeDescription
;
471 WS_DEFAULT_VALUE
*defaultValue
;
473 WS_XML_STRING
*itemLocalName
;
474 WS_XML_STRING
*itemNs
;
475 WS_ITEM_RANGE
*itemRange
;
476 } WS_FIELD_DESCRIPTION
;
480 WS_STRUCT_ABSTRACT
= 0x1,
481 WS_STRUCT_IGNORE_TRAILING_ELEMENT_CONTENT
= 0x2,
482 WS_STRUCT_IGNORE_UNHANDLED_ATTRIBUTES
= 0x4
485 typedef struct _WS_STRUCT_DESCRIPTION
{
488 WS_FIELD_DESCRIPTION
**fields
;
490 WS_XML_STRING
*typeLocalName
;
491 WS_XML_STRING
*typeNs
;
492 struct _WS_STRUCT_DESCRIPTION
*parentType
;
493 struct _WS_STRUCT_DESCRIPTION
**subTypes
;
496 } WS_STRUCT_DESCRIPTION
;
498 typedef struct _WS_ATTRIBUTE_DESCRIPTION
{
499 WS_XML_STRING
*attributeLocalName
;
500 WS_XML_STRING
*attributeNs
;
502 void *typeDescription
;
503 } WS_ATTRIBUTE_DESCRIPTION
;
505 typedef struct _WS_ELEMENT_DESCRIPTION
{
506 WS_XML_STRING
*elementLocalName
;
507 WS_XML_STRING
*elementNs
;
509 void *typeDescription
;
510 } WS_ELEMENT_DESCRIPTION
;
512 typedef struct _WS_STRING
{
517 typedef struct _WS_UNIQUE_ID
{
523 WS_XML_NODE_TYPE_ELEMENT
= 1,
524 WS_XML_NODE_TYPE_TEXT
= 2,
525 WS_XML_NODE_TYPE_END_ELEMENT
= 3,
526 WS_XML_NODE_TYPE_COMMENT
= 4,
527 WS_XML_NODE_TYPE_CDATA
= 6,
528 WS_XML_NODE_TYPE_END_CDATA
= 7,
529 WS_XML_NODE_TYPE_EOF
= 8,
530 WS_XML_NODE_TYPE_BOF
= 9
533 typedef struct _WS_XML_NODE
{
534 WS_XML_NODE_TYPE nodeType
;
538 WS_MOVE_TO_ROOT_ELEMENT
,
539 WS_MOVE_TO_NEXT_ELEMENT
,
540 WS_MOVE_TO_PREVIOUS_ELEMENT
,
541 WS_MOVE_TO_CHILD_ELEMENT
,
542 WS_MOVE_TO_END_ELEMENT
,
543 WS_MOVE_TO_PARENT_ELEMENT
,
544 WS_MOVE_TO_NEXT_NODE
,
545 WS_MOVE_TO_PREVIOUS_NODE
,
546 WS_MOVE_TO_FIRST_NODE
,
549 WS_MOVE_TO_CHILD_NODE
553 WS_XML_TEXT_TYPE_UTF8
= 1,
554 WS_XML_TEXT_TYPE_UTF16
= 2,
555 WS_XML_TEXT_TYPE_BASE64
= 3,
556 WS_XML_TEXT_TYPE_BOOL
= 4,
557 WS_XML_TEXT_TYPE_INT32
= 5,
558 WS_XML_TEXT_TYPE_INT64
= 6,
559 WS_XML_TEXT_TYPE_UINT64
= 7,
560 WS_XML_TEXT_TYPE_FLOAT
= 8,
561 WS_XML_TEXT_TYPE_DOUBLE
= 9,
562 WS_XML_TEXT_TYPE_DECIMAL
= 10,
563 WS_XML_TEXT_TYPE_GUID
= 11,
564 WS_XML_TEXT_TYPE_UNIQUE_ID
= 12,
565 WS_XML_TEXT_TYPE_DATETIME
= 13,
566 WS_XML_TEXT_TYPE_TIMESPAN
= 14,
567 WS_XML_TEXT_TYPE_QNAME
= 15,
568 WS_XML_TEXT_TYPE_LIST
= 16
571 typedef struct _WS_XML_TEXT
{
572 WS_XML_TEXT_TYPE textType
;
575 typedef struct _WS_XML_UTF8_TEXT
{
580 typedef struct _WS_XML_UTF16_TEXT
{
586 typedef struct _WS_XML_BOOL_TEXT
{
591 typedef struct _WS_XML_INT32_TEXT
{
596 typedef struct _WS_XML_INT64_TEXT
{
601 typedef struct _WS_XML_UINT64_TEXT
{
603 unsigned __int64 value
;
604 } WS_XML_UINT64_TEXT
;
606 typedef struct _WS_XML_DOUBLE_TEXT
{
609 } WS_XML_DOUBLE_TEXT
;
611 typedef struct _WS_XML_GUID_TEXT
{
616 typedef struct _WS_XML_UNIQUE_ID_TEXT
{
619 } WS_XML_UNIQUE_ID_TEXT
;
628 WS_UINT16_VALUE_TYPE
,
629 WS_UINT32_VALUE_TYPE
,
630 WS_UINT64_VALUE_TYPE
,
632 WS_DOUBLE_VALUE_TYPE
,
633 WS_DECIMAL_VALUE_TYPE
,
634 WS_DATETIME_VALUE_TYPE
,
635 WS_TIMESPAN_VALUE_TYPE
,
637 WS_DURATION_VALUE_TYPE
640 typedef struct _WS_XML_ATTRIBUTE
{
643 WS_XML_STRING
*prefix
;
644 WS_XML_STRING
*localName
;
649 typedef struct _WS_XML_ELEMENT_NODE
{
651 WS_XML_STRING
*prefix
;
652 WS_XML_STRING
*localName
;
654 ULONG attributeCount
;
655 WS_XML_ATTRIBUTE
**attributes
;
657 } WS_XML_ELEMENT_NODE
;
659 typedef struct _WS_XML_TEXT_NODE
{
664 typedef struct _WS_XML_COMMENT_NODE
{
667 } WS_XML_COMMENT_NODE
;
669 typedef struct _WS_XML_NODE_POSITION
{
670 WS_XML_BUFFER
*buffer
;
672 } WS_XML_NODE_POSITION
;
675 WS_SERVICE_PROXY_STATE_CREATED
,
676 WS_SERVICE_PROXY_STATE_OPENING
,
677 WS_SERVICE_PROXY_STATE_OPEN
,
678 WS_SERVICE_PROXY_STATE_CLOSING
,
679 WS_SERVICE_PROXY_STATE_CLOSED
,
680 WS_SERVICE_PROXY_STATE_FAULTED
681 } WS_SERVICE_PROXY_STATE
;
684 WS_PROXY_PROPERTY_CALL_TIMEOUT
,
685 WS_PROXY_PROPERTY_MESSAGE_PROPERTIES
,
686 WS_PROXY_PROPERTY_MAX_CALL_POOL_SIZE
,
687 WS_PROXY_PROPERTY_STATE
,
688 WS_PROXY_PROPERTY_MAX_PENDING_CALLS
,
689 WS_PROXY_PROPERTY_MAX_CLOSE_TIMEOUT
,
690 WS_PROXY_FAULT_LANG_ID
691 } WS_PROXY_PROPERTY_ID
;
693 struct _WS_PROXY_PROPERTY
{
694 WS_PROXY_PROPERTY_ID id
;
700 WS_CHANNEL_TYPE_INPUT
= 0x1,
701 WS_CHANNEL_TYPE_OUTPUT
= 0x2,
702 WS_CHANNEL_TYPE_SESSION
= 0x4,
703 WS_CHANNEL_TYPE_INPUT_SESSION
= (WS_CHANNEL_TYPE_INPUT
| WS_CHANNEL_TYPE_SESSION
),
704 WS_CHANNEL_TYPE_OUTPUT_SESSION
= (WS_CHANNEL_TYPE_OUTPUT
| WS_CHANNEL_TYPE_SESSION
),
705 WS_CHANNEL_TYPE_DUPLEX
= (WS_CHANNEL_TYPE_INPUT
| WS_CHANNEL_TYPE_OUTPUT
),
706 WS_CHANNEL_TYPE_DUPLEX_SESSION
= (WS_CHANNEL_TYPE_INPUT
| WS_CHANNEL_TYPE_OUTPUT
| WS_CHANNEL_TYPE_SESSION
),
707 WS_CHANNEL_TYPE_REQUEST
= 0x8,
708 WS_CHANNEL_TYPE_REPLY
= 0x10
712 WS_ENCODING_XML_BINARY_1
,
713 WS_ENCODING_XML_BINARY_SESSION_1
,
714 WS_ENCODING_XML_MTOM_UTF8
,
715 WS_ENCODING_XML_MTOM_UTF16BE
,
716 WS_ENCODING_XML_MTOM_UTF16LE
,
717 WS_ENCODING_XML_UTF8
,
718 WS_ENCODING_XML_UTF16BE
,
719 WS_ENCODING_XML_UTF16LE
,
724 WS_CHANNEL_STATE_CREATED
,
725 WS_CHANNEL_STATE_OPENING
,
726 WS_CHANNEL_STATE_ACCEPTING
,
727 WS_CHANNEL_STATE_OPEN
,
728 WS_CHANNEL_STATE_FAULTED
,
729 WS_CHANNEL_STATE_CLOSING
,
730 WS_CHANNEL_STATE_CLOSED
734 WS_CHANNEL_PROPERTY_MAX_BUFFERED_MESSAGE_SIZE
= 0,
735 WS_CHANNEL_PROPERTY_MAX_STREAMED_MESSAGE_SIZE
= 1,
736 WS_CHANNEL_PROPERTY_MAX_STREAMED_START_SIZE
= 2,
737 WS_CHANNEL_PROPERTY_MAX_STREAMED_FLUSH_SIZE
= 3,
738 WS_CHANNEL_PROPERTY_ENCODING
= 4,
739 WS_CHANNEL_PROPERTY_ENVELOPE_VERSION
= 5,
740 WS_CHANNEL_PROPERTY_ADDRESSING_VERSION
= 6,
741 WS_CHANNEL_PROPERTY_MAX_SESSION_DICTIONARY_SIZE
= 7,
742 WS_CHANNEL_PROPERTY_STATE
= 8,
743 WS_CHANNEL_PROPERTY_ASYNC_CALLBACK_MODEL
= 9,
744 WS_CHANNEL_PROPERTY_IP_VERSION
= 10,
745 WS_CHANNEL_PROPERTY_RESOLVE_TIMEOUT
= 11,
746 WS_CHANNEL_PROPERTY_CONNECT_TIMEOUT
= 12,
747 WS_CHANNEL_PROPERTY_SEND_TIMEOUT
= 13,
748 WS_CHANNEL_PROPERTY_RECEIVE_RESPONSE_TIMEOUT
= 14,
749 WS_CHANNEL_PROPERTY_RECEIVE_TIMEOUT
= 15,
750 WS_CHANNEL_PROPERTY_CLOSE_TIMEOUT
= 16,
751 WS_CHANNEL_PROPERTY_ENABLE_TIMEOUTS
= 17,
752 WS_CHANNEL_PROPERTY_TRANSFER_MODE
= 18,
753 WS_CHANNEL_PROPERTY_MULTICAST_INTERFACE
= 19,
754 WS_CHANNEL_PROPERTY_MULTICAST_HOPS
= 20,
755 WS_CHANNEL_PROPERTY_REMOTE_ADDRESS
= 21,
756 WS_CHANNEL_PROPERTY_REMOTE_IP_ADDRESS
= 22,
757 WS_CHANNEL_PROPERTY_HTTP_CONNECTION_ID
= 23,
758 WS_CHANNEL_PROPERTY_CUSTOM_CHANNEL_CALLBACKS
= 24,
759 WS_CHANNEL_PROPERTY_CUSTOM_CHANNEL_PARAMETERS
= 25,
760 WS_CHANNEL_PROPERTY_CUSTOM_CHANNEL_INSTANCE
= 26,
761 WS_CHANNEL_PROPERTY_TRANSPORT_URL
= 27,
762 WS_CHANNEL_PROPERTY_NO_DELAY
= 28,
763 WS_CHANNEL_PROPERTY_SEND_KEEP_ALIVES
= 29,
764 WS_CHANNEL_PROPERTY_KEEP_ALIVE_TIME
= 30,
765 WS_CHANNEL_PROPERTY_KEEP_ALIVE_INTERVAL
= 31,
766 WS_CHANNEL_PROPERTY_MAX_HTTP_SERVER_CONNECTIONS
= 32,
767 WS_CHANNEL_PROPERTY_IS_SESSION_SHUT_DOWN
= 33,
768 WS_CHANNEL_PROPERTY_CHANNEL_TYPE
= 34,
769 WS_CHANNEL_PROPERTY_TRIM_BUFFERED_MESSAGE_SIZE
= 35,
770 WS_CHANNEL_PROPERTY_ENCODER
= 36,
771 WS_CHANNEL_PROPERTY_DECODER
= 37,
772 WS_CHANNEL_PROPERTY_PROTECTION_LEVEL
= 38,
773 WS_CHANNEL_PROPERTY_COOKIE_MODE
= 39,
774 WS_CHANNEL_PROPERTY_HTTP_PROXY_SETTING_MODE
= 40,
775 WS_CHANNEL_PROPERTY_CUSTOM_HTTP_PROXY
= 41,
776 WS_CHANNEL_PROPERTY_HTTP_MESSAGE_MAPPING
= 42,
777 WS_CHANNEL_PROPERTY_ENABLE_HTTP_REDIRECT
= 43,
778 WS_CHANNEL_PROPERTY_HTTP_REDIRECT_CALLBACK_CONTEXT
= 44,
779 WS_CHANNEL_PROPERTY_FAULTS_AS_ERRORS
= 45,
780 WS_CHANNEL_PROPERTY_ALLOW_UNSECURED_FAULTS
= 46,
781 WS_CHANNEL_PROPERTY_HTTP_SERVER_SPN
= 47,
782 WS_CHANNEL_PROPERTY_HTTP_PROXY_SPN
= 48,
783 WS_CHANNEL_PROPERTY_MAX_HTTP_REQUEST_HEADERS_BUFFER_SIZE
= 49
784 } WS_CHANNEL_PROPERTY_ID
;
786 struct _WS_CHANNEL_PROPERTY
{
787 WS_CHANNEL_PROPERTY_ID id
;
792 struct _WS_CHANNEL_PROPERTIES
{
793 WS_CHANNEL_PROPERTY
*properties
;
798 WS_HTTP_CHANNEL_BINDING
,
799 WS_TCP_CHANNEL_BINDING
,
800 WS_UDP_CHANNEL_BINDING
,
801 WS_CUSTOM_CHANNEL_BINDING
,
802 WS_NAMEDPIPE_CHANNEL_BINDING
803 } WS_CHANNEL_BINDING
;
806 WS_SSL_TRANSPORT_SECURITY_BINDING_TYPE
,
807 WS_TCP_SSPI_TRANSPORT_SECURITY_BINDING_TYPE
,
808 WS_HTTP_HEADER_AUTH_SECURITY_BINDING_TYPE
,
809 WS_USERNAME_MESSAGE_SECURITY_BINDING_TYPE
,
810 WS_KERBEROS_APREQ_MESSAGE_SECURITY_BINDING_TYPE
,
811 WS_XML_TOKEN_MESSAGE_SECURITY_BINDING_TYPE
,
812 WS_SAML_MESSAGE_SECURITY_BINDING_TYPE
,
813 WS_SECURITY_CONTEXT_MESSAGE_SECURITY_BINDING_TYPE
,
814 WS_NAMEDPIPE_SSPI_TRANSPORT_SECURITY_BINDING_TYPE
815 } WS_SECURITY_BINDING_TYPE
;
818 WS_SECURITY_BINDING_PROPERTY_REQUIRE_SSL_CLIENT_CERT
= 1,
819 WS_SECURITY_BINDING_PROPERTY_WINDOWS_INTEGRATED_AUTH_PACKAGE
= 2,
820 WS_SECURITY_BINDING_PROPERTY_REQUIRE_SERVER_AUTH
= 3,
821 WS_SECURITY_BINDING_PROPERTY_ALLOW_ANONYMOUS_CLIENTS
= 4,
822 WS_SECURITY_BINDING_PROPERTY_ALLOWED_IMPERSONATION_LEVEL
= 5,
823 WS_SECURITY_BINDING_PROPERTY_HTTP_HEADER_AUTH_SCHEME
= 6,
824 WS_SECURITY_BINDING_PROPERTY_HTTP_HEADER_AUTH_TARGET
= 7,
825 WS_SECURITY_BINDING_PROPERTY_HTTP_HEADER_AUTH_BASIC_REALM
= 8,
826 WS_SECURITY_BINDING_PROPERTY_HTTP_HEADER_AUTH_DIGEST_REALM
= 9,
827 WS_SECURITY_BINDING_PROPERTY_HTTP_HEADER_AUTH_DIGEST_DOMAIN
= 10,
828 WS_SECURITY_BINDING_PROPERTY_SECURITY_CONTEXT_KEY_SIZE
= 11,
829 WS_SECURITY_BINDING_PROPERTY_SECURITY_CONTEXT_KEY_ENTROPY_MODE
= 12,
830 WS_SECURITY_BINDING_PROPERTY_MESSAGE_PROPERTIES
= 13,
831 WS_SECURITY_BINDING_PROPERTY_SECURITY_CONTEXT_MAX_PENDING_CONTEXTS
= 14,
832 WS_SECURITY_BINDING_PROPERTY_SECURITY_CONTEXT_MAX_ACTIVE_CONTEXTS
= 15,
833 WS_SECURITY_BINDING_PROPERTY_SECURE_CONVERSATION_VERSION
= 16,
834 WS_SECURITY_BINDING_PROPERTY_SECURITY_CONTEXT_SUPPORT_RENEW
= 17,
835 WS_SECURITY_BINDING_PROPERTY_SECURITY_CONTEXT_RENEWAL_INTERVAL
= 18,
836 WS_SECURITY_BINDING_PROPERTY_SECURITY_CONTEXT_ROLLOVER_INTERVAL
= 19,
837 WS_SECURITY_BINDING_PROPERTY_CERT_FAILURES_TO_IGNORE
= 20,
838 WS_SECURITY_BINDING_PROPERTY_DISABLE_CERT_REVOCATION_CHECK
= 21,
839 WS_SECURITY_BINDING_PROPERTY_DISALLOWED_SECURE_PROTOCOLS
= 22,
840 WS_SECURITY_BINDING_PROPERTY_CERTIFICATE_VALIDATION_CALLBACK_CONTEXT
= 23
841 } WS_SECURITY_BINDING_PROPERTY_ID
;
843 struct _WS_SECURITY_BINDING_PROPERTY
{
844 WS_SECURITY_BINDING_PROPERTY_ID id
;
849 struct _WS_SECURITY_BINDING_PROPERTIES
{
850 WS_SECURITY_BINDING_PROPERTY
*properties
;
854 struct _WS_SECURITY_BINDING
{
855 WS_SECURITY_BINDING_TYPE bindingType
;
856 WS_SECURITY_BINDING_PROPERTY
*properties
;
861 WS_SECURITY_PROPERTY_TRANSPORT_PROTECTION_LEVEL
= 1,
862 WS_SECURITY_PROPERTY_ALGORITHM_SUITE
= 2,
863 WS_SECURITY_PROPERTY_ALGORITHM_SUITE_NAME
= 3,
864 WS_SECURITY_PROPERTY_MAX_ALLOWED_LATENCY
= 4,
865 WS_SECURITY_PROPERTY_TIMESTAMP_VALIDITY_DURATION
= 5,
866 WS_SECURITY_PROPERTY_MAX_ALLOWED_CLOCK_SKEW
= 6,
867 WS_SECURITY_PROPERTY_TIMESTAMP_USAGE
= 7,
868 WS_SECURITY_PROPERTY_SECURITY_HEADER_LAYOUT
= 8,
869 WS_SECURITY_PROPERTY_SECURITY_HEADER_VERSION
= 9,
870 WS_SECURITY_PROPERTY_EXTENDED_PROTECTION_POLICY
= 10,
871 WS_SECURITY_PROPERTY_EXTENDED_PROTECTION_SCENARIO
= 11,
872 WS_SECURITY_PROPERTY_SERVICE_IDENTITIES
= 12
873 } WS_SECURITY_PROPERTY_ID
;
875 struct _WS_SECURITY_PROPERTY
{
876 WS_SECURITY_PROPERTY_ID id
;
881 struct _WS_SECURITY_PROPERTIES
{
882 WS_SECURITY_PROPERTY
*properties
;
886 struct _WS_SECURITY_DESCRIPTION
{
887 WS_SECURITY_BINDING
**securityBindings
;
888 ULONG securityBindingCount
;
889 WS_SECURITY_PROPERTY
*properties
;
894 WS_HTTP_BINDING_TEMPLATE_TYPE
,
895 WS_HTTP_SSL_BINDING_TEMPLATE_TYPE
,
896 WS_HTTP_HEADER_AUTH_BINDING_TEMPLATE_TYPE
,
897 WS_HTTP_SSL_HEADER_AUTH_BINDING_TEMPLATE_TYPE
,
898 WS_HTTP_SSL_USERNAME_BINDING_TEMPLATE_TYPE
,
899 WS_HTTP_SSL_KERBEROS_APREQ_BINDING_TEMPLATE_TYPE
,
900 WS_TCP_BINDING_TEMPLATE_TYPE
,
901 WS_TCP_SSPI_BINDING_TEMPLATE_TYPE
,
902 WS_TCP_SSPI_USERNAME_BINDING_TEMPLATE_TYPE
,
903 WS_TCP_SSPI_KERBEROS_APREQ_BINDING_TEMPLATE_TYPE
,
904 WS_HTTP_SSL_USERNAME_SECURITY_CONTEXT_BINDING_TEMPLATE_TYPE
,
905 WS_HTTP_SSL_KERBEROS_APREQ_SECURITY_CONTEXT_BINDING_TEMPLATE_TYPE
,
906 WS_TCP_SSPI_USERNAME_SECURITY_CONTEXT_BINDING_TEMPLATE_TYPE
,
907 WS_TCP_SSPI_KERBEROS_APREQ_SECURITY_CONTEXT_BINDING_TEMPLATE_TYPE
908 } WS_BINDING_TEMPLATE_TYPE
;
911 WS_SUBJECT_NAME_CERT_CREDENTIAL_TYPE
= 1,
912 WS_THUMBPRINT_CERT_CREDENTIAL_TYPE
= 2,
913 WS_CUSTOM_CERT_CREDENTIAL_TYPE
= 3
914 } WS_CERT_CREDENTIAL_TYPE
;
916 struct _WS_CERT_CREDENTIAL
{
917 WS_CERT_CREDENTIAL_TYPE credentialType
;
920 struct _WS_SSL_TRANSPORT_SECURITY_BINDING_TEMPLATE
{
921 WS_SECURITY_BINDING_PROPERTIES securityBindingProperties
;
922 WS_CERT_CREDENTIAL
*localCertCredential
;
925 struct _WS_HTTP_BINDING_TEMPLATE
{
926 WS_CHANNEL_PROPERTIES channelProperties
;
929 struct _WS_HTTP_SSL_BINDING_TEMPLATE
{
930 WS_CHANNEL_PROPERTIES channelProperties
;
931 WS_SECURITY_PROPERTIES securityProperties
;
932 WS_SSL_TRANSPORT_SECURITY_BINDING_TEMPLATE sslTransportSecurityBinding
;
936 WS_MUST_UNDERSTAND_HEADER_ATTRIBUTE
= 0x1,
937 WS_RELAY_HEADER_ATTRIBUTE
= 0x2
941 WS_ADDRESSING_VERSION_0_9
= 1,
942 WS_ADDRESSING_VERSION_1_0
= 2,
943 WS_ADDRESSING_VERSION_TRANSPORT
= 3
944 } WS_ADDRESSING_VERSION
;
947 WS_ENVELOPE_VERSION_SOAP_1_1
= 1,
948 WS_ENVELOPE_VERSION_SOAP_1_2
= 2,
949 WS_ENVELOPE_VERSION_NONE
= 3
950 } WS_ENVELOPE_VERSION
;
953 WS_MESSAGE_PROPERTY_STATE
,
954 WS_MESSAGE_PROPERTY_HEAP
,
955 WS_MESSAGE_PROPERTY_ENVELOPE_VERSION
,
956 WS_MESSAGE_PROPERTY_ADDRESSING_VERSION
,
957 WS_MESSAGE_PROPERTY_HEADER_BUFFER
,
958 WS_MESSAGE_PROPERTY_HEADER_POSITION
,
959 WS_MESSAGE_PROPERTY_BODY_READER
,
960 WS_MESSAGE_PROPERTY_BODY_WRITER
,
961 WS_MESSAGE_PROPERTY_IS_ADDRESSED
,
962 WS_MESSAGE_PROPERTY_HEAP_PROPERTIES
,
963 WS_MESSAGE_PROPERTY_XML_READER_PROPERTIES
,
964 WS_MESSAGE_PROPERTY_XML_WRITER_PROPERTIES
,
965 WS_MESSAGE_PROPERTY_IS_FAULT
,
966 WS_MESSAGE_PROPERTY_MAX_PROCESSED_HEADERS
,
967 WS_MESSAGE_PROPERTY_USERNAME
,
968 WS_MESSAGE_PROPERTY_ENCODED_CERT
,
969 WS_MESSAGE_PROPERTY_TRANSPORT_SECURITY_WINDOWS_TOKEN
,
970 WS_MESSAGE_PROPERTY_HTTP_HEADER_AUTH_WINDOWS_TOKEN
,
971 WS_MESSAGE_PROPERTY_MESSAGE_SECURITY_WINDOWS_TOKEN
,
972 WS_MESSAGE_PROPERTY_SAML_ASSERTION
,
973 WS_MESSAGE_PROPERTY_SECURITY_CONTEXT
,
974 WS_MESSAGE_PROPERTY_PROTECTION_LEVEL
975 } WS_MESSAGE_PROPERTY_ID
;
977 struct _WS_MESSAGE_PROPERTY
{
978 WS_MESSAGE_PROPERTY_ID id
;
983 struct _WS_MESSAGE_PROPERTIES
{
984 WS_MESSAGE_PROPERTY
*properties
;
989 WS_MESSAGE_STATE_EMPTY
= 1,
990 WS_MESSAGE_STATE_INITIALIZED
= 2,
991 WS_MESSAGE_STATE_READING
= 3,
992 WS_MESSAGE_STATE_WRITING
= 4,
993 WS_MESSAGE_STATE_DONE
= 5
998 WS_DUPLICATE_MESSAGE
,
1002 } WS_MESSAGE_INITIALIZATION
;
1005 WS_ACTION_HEADER
= 1,
1007 WS_MESSAGE_ID_HEADER
= 3,
1008 WS_RELATES_TO_HEADER
= 4,
1010 WS_REPLY_TO_HEADER
= 6,
1011 WS_FAULT_TO_HEADER
= 7
1015 WS_DNS_ENDPOINT_IDENTITY_TYPE
= 1,
1016 WS_UPN_ENDPOINT_IDENTITY_TYPE
= 2,
1017 WS_SPN_ENDPOINT_IDENTITY_TYPE
= 3,
1018 WS_RSA_ENDPOINT_IDENTITY_TYPE
= 4,
1019 WS_CERT_ENDPOINT_IDENTITY_TYPE
= 5,
1020 WS_UNKNOWN_ENDPOINT_IDENTITY_TYPE
= 6
1021 } WS_ENDPOINT_IDENTITY_TYPE
;
1023 struct _WS_ENDPOINT_IDENTITY
{
1024 WS_ENDPOINT_IDENTITY_TYPE identityType
;
1027 struct _WS_ENDPOINT_ADDRESS
{
1029 WS_XML_BUFFER
*headers
;
1030 WS_XML_BUFFER
*extensions
;
1031 WS_ENDPOINT_IDENTITY
*identity
;
1034 struct _WS_HTTP_POLICY_DESCRIPTION
{
1035 WS_CHANNEL_PROPERTIES channelProperties
;
1038 struct _WS_MESSAGE_DESCRIPTION
{
1039 WS_XML_STRING
*action
;
1040 WS_ELEMENT_DESCRIPTION
*bodyElementDescription
;
1044 WS_PARAMETER_TYPE_NORMAL
,
1045 WS_PARAMETER_TYPE_ARRAY
,
1046 WS_PARAMETER_TYPE_ARRAY_COUNT
,
1047 WS_PARAMETER_TYPE_MESSAGES
1048 } WS_PARAMETER_TYPE
;
1050 struct _WS_PARAMETER_DESCRIPTION
{
1051 WS_PARAMETER_TYPE parameterType
;
1052 USHORT inputMessageIndex
;
1053 USHORT outputMessageIndex
;
1056 typedef HRESULT (CALLBACK
*WS_SERVICE_STUB_CALLBACK
)(
1057 const WS_OPERATION_CONTEXT
*context
,
1059 const void *callback
,
1060 const WS_ASYNC_CONTEXT
*asyncContext
,
1064 WS_NON_RPC_LITERAL_OPERATION
,
1065 WS_RPC_LITERAL_OPERATION
1066 } WS_OPERATION_STYLE
;
1068 struct _WS_OPERATION_DESCRIPTION
{
1070 WS_MESSAGE_DESCRIPTION
*inputMessageDescription
;
1071 WS_MESSAGE_DESCRIPTION
*outputMessageDescription
;
1072 ULONG inputMessageOptions
;
1073 ULONG outputMessageOptions
;
1074 USHORT parameterCount
;
1075 WS_PARAMETER_DESCRIPTION
*parameterDescription
;
1076 WS_SERVICE_STUB_CALLBACK stubCallback
;
1077 WS_OPERATION_STYLE style
;
1081 WS_CALL_PROPERTY_CHECK_MUST_UNDERSTAND
,
1082 WS_CALL_PROPERTY_SEND_MESSAGE_CONTEXT
,
1083 WS_CALL_PROPERTY_RECEIVE_MESSAGE_CONTEXT
,
1084 WS_CALL_PROPERTY_CALL_ID
1085 } WS_CALL_PROPERTY_ID
;
1087 struct _WS_CALL_PROPERTY
{
1088 WS_CALL_PROPERTY_ID id
;
1094 WS_DATETIME_FORMAT_UTC
,
1095 WS_DATETIME_FORMAT_LOCAL
,
1096 WS_DATETIME_FORMAT_NONE
1097 } WS_DATETIME_FORMAT
;
1099 struct _WS_DATETIME
{
1100 unsigned __int64 ticks
;
1101 WS_DATETIME_FORMAT format
;
1104 struct _WS_DATETIME_DESCRIPTION
{
1105 WS_DATETIME minValue
;
1106 WS_DATETIME maxValue
;
1110 WS_URL_HTTP_SCHEME_TYPE
,
1111 WS_URL_HTTPS_SCHEME_TYPE
,
1112 WS_URL_NETTCP_SCHEME_TYPE
,
1113 WS_URL_SOAPUDP_SCHEME_TYPE
,
1114 WS_URL_NETPIPE_SCHEME_TYPE
1115 } WS_URL_SCHEME_TYPE
;
1118 WS_URL_FLAGS_ALLOW_HOST_WILDCARDS
= 0x1,
1119 WS_URL_FLAGS_NO_PATH_COLLAPSE
= 0x2,
1120 WS_URL_FLAGS_ZERO_TERMINATE
= 0x4
1124 WS_URL_SCHEME_TYPE scheme
;
1127 struct _WS_HTTP_URL
{
1131 WS_STRING portAsString
;
1137 struct _WS_HTTPS_URL
{
1141 WS_STRING portAsString
;
1147 struct _WS_SOAPUDP_URL
{
1151 WS_STRING portAsString
;
1157 struct _WS_NETPIPE_URL
{
1161 WS_STRING portAsString
;
1169 WS_IP_VERSION_4
= 1,
1170 WS_IP_VERSION_6
= 2,
1171 WS_IP_VERSION_AUTO
= 3
1176 WS_BUFFERED_TRANSFER_MODE
= 0x0,
1177 WS_STREAMED_INPUT_TRANSFER_MODE
= 0x1,
1178 WS_STREAMED_OUTPUT_TRANSFER_MODE
= 0x2,
1179 WS_STREAMED_TRANSFER_MODE
= (WS_STREAMED_INPUT_TRANSFER_MODE
|WS_STREAMED_OUTPUT_TRANSFER_MODE
)
1182 typedef HRESULT (CALLBACK
*WS_CREATE_CHANNEL_CALLBACK
)
1183 (WS_CHANNEL_TYPE
, const void*, ULONG
, void**, WS_ERROR
*);
1185 typedef void (CALLBACK
*WS_FREE_CHANNEL_CALLBACK
)
1188 typedef HRESULT (CALLBACK
*WS_RESET_CHANNEL_CALLBACK
)
1191 typedef HRESULT (CALLBACK
*WS_OPEN_CHANNEL_CALLBACK
)
1192 (void*, const WS_ENDPOINT_ADDRESS
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1194 typedef HRESULT (CALLBACK
*WS_CLOSE_CHANNEL_CALLBACK
)
1195 (void*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1197 typedef HRESULT (CALLBACK
*WS_ABORT_CHANNEL_CALLBACK
)
1200 typedef HRESULT (CALLBACK
*WS_GET_CHANNEL_PROPERTY_CALLBACK
)
1201 (void*, WS_CHANNEL_PROPERTY_ID
, void*, ULONG
, WS_ERROR
*);
1203 typedef HRESULT (CALLBACK
*WS_SET_CHANNEL_PROPERTY_CALLBACK
)
1204 (void*, WS_CHANNEL_PROPERTY_ID
, const void*, ULONG
, WS_ERROR
*);
1206 typedef HRESULT (CALLBACK
*WS_WRITE_MESSAGE_START_CALLBACK
)
1207 (void*, WS_MESSAGE
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1209 typedef HRESULT (CALLBACK
*WS_WRITE_MESSAGE_END_CALLBACK
)
1210 (void*, WS_MESSAGE
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1212 typedef HRESULT (CALLBACK
*WS_READ_MESSAGE_START_CALLBACK
)
1213 (void*, WS_MESSAGE
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1215 typedef HRESULT (CALLBACK
*WS_READ_MESSAGE_END_CALLBACK
)
1216 (void*, WS_MESSAGE
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1218 typedef HRESULT (CALLBACK
*WS_ABANDON_MESSAGE_CALLBACK
)
1219 (void*, WS_MESSAGE
*, WS_ERROR
*);
1221 typedef HRESULT (CALLBACK
*WS_SHUTDOWN_SESSION_CHANNEL_CALLBACK
)
1222 (void*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1224 struct _WS_CUSTOM_CHANNEL_CALLBACKS
1226 WS_CREATE_CHANNEL_CALLBACK createChannelCallback
;
1227 WS_FREE_CHANNEL_CALLBACK freeChannelCallback
;
1228 WS_RESET_CHANNEL_CALLBACK resetChannelCallback
;
1229 WS_OPEN_CHANNEL_CALLBACK openChannelCallback
;
1230 WS_CLOSE_CHANNEL_CALLBACK closeChannelCallback
;
1231 WS_ABORT_CHANNEL_CALLBACK abortChannelCallback
;
1232 WS_GET_CHANNEL_PROPERTY_CALLBACK getChannelPropertyCallback
;
1233 WS_SET_CHANNEL_PROPERTY_CALLBACK setChannelPropertyCallback
;
1234 WS_WRITE_MESSAGE_START_CALLBACK writeMessageStartCallback
;
1235 WS_WRITE_MESSAGE_END_CALLBACK writeMessageEndCallback
;
1236 WS_READ_MESSAGE_START_CALLBACK readMessageStartCallback
;
1237 WS_READ_MESSAGE_END_CALLBACK readMessageEndCallback
;
1238 WS_ABANDON_MESSAGE_CALLBACK abandonMessageCallback
;
1239 WS_SHUTDOWN_SESSION_CHANNEL_CALLBACK shutdownSessionChannelCallback
;
1242 typedef HRESULT (CALLBACK
*WS_CREATE_ENCODER_CALLBACK
)
1243 (void*, WS_WRITE_CALLBACK
, void*, void**, WS_ERROR
*);
1245 typedef HRESULT (CALLBACK
*WS_ENCODER_GET_CONTENT_TYPE_CALLBACK
)
1246 (void*, const WS_STRING
*, WS_STRING
*, WS_STRING
*, WS_ERROR
*);
1248 typedef HRESULT (CALLBACK
*WS_ENCODER_START_CALLBACK
)
1249 (void*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1251 typedef HRESULT (CALLBACK
*WS_ENCODER_ENCODE_CALLBACK
)
1252 (void*, const WS_BYTES
*, ULONG
, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1254 typedef HRESULT (CALLBACK
*WS_ENCODER_END_CALLBACK
)
1255 (void*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1257 typedef void (CALLBACK
*WS_FREE_ENCODER_CALLBACK
)
1260 struct _WS_CHANNEL_ENCODER
1262 void *createContext
;
1263 WS_CREATE_ENCODER_CALLBACK createEncoderCallback
;
1264 WS_ENCODER_GET_CONTENT_TYPE_CALLBACK encoderGetContentTypeCallback
;
1265 WS_ENCODER_START_CALLBACK encoderStartCallback
;
1266 WS_ENCODER_ENCODE_CALLBACK encoderEncodeCallback
;
1267 WS_ENCODER_END_CALLBACK encoderEndCallback
;
1268 WS_FREE_ENCODER_CALLBACK freeEncoderCallback
;
1271 typedef HRESULT (CALLBACK
*WS_CREATE_DECODER_CALLBACK
)
1272 (void*, WS_READ_CALLBACK
, void*, void**, WS_ERROR
*);
1274 typedef HRESULT (CALLBACK
*WS_DECODER_GET_CONTENT_TYPE_CALLBACK
)
1275 (void*, const WS_STRING
*, const WS_STRING
*, WS_STRING
*, WS_ERROR
*);
1277 typedef HRESULT (CALLBACK
*WS_DECODER_START_CALLBACK
)
1278 (void*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1280 typedef HRESULT (CALLBACK
*WS_DECODER_DECODE_CALLBACK
)
1281 (void*, void*, ULONG
, ULONG
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1283 typedef HRESULT (CALLBACK
*WS_DECODER_END_CALLBACK
)
1284 (void*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1286 typedef void (CALLBACK
*WS_FREE_DECODER_CALLBACK
)
1289 struct _WS_CHANNEL_DECODER
1291 void *createContext
;
1292 WS_CREATE_DECODER_CALLBACK createDecoderCallback
;
1293 WS_DECODER_GET_CONTENT_TYPE_CALLBACK decoderGetContentTypeCallback
;
1294 WS_DECODER_START_CALLBACK decoderStartCallback
;
1295 WS_DECODER_DECODE_CALLBACK decoderDecodeCallback
;
1296 WS_DECODER_END_CALLBACK decoderEndCallback
;
1297 WS_FREE_DECODER_CALLBACK freeDecoderCallback
;
1302 WS_PROTECTION_LEVEL_NONE
= 1,
1303 WS_PROTECTION_LEVEL_SIGN
= 2,
1304 WS_PROTECTION_LEVEL_SIGN_AND_ENCRYPT
= 3
1305 } WS_PROTECTION_LEVEL
;
1309 WS_MANUAL_COOKIE_MODE
= 1,
1310 WS_AUTO_COOKIE_MODE
= 2
1315 WS_HTTP_PROXY_SETTING_MODE_AUTO
= 0x1,
1316 WS_HTTP_PROXY_SETTING_MODE_NONE
= 0x2,
1317 WS_HTTP_PROXY_SETTING_MODE_CUSTOM
= 0x3
1318 } WS_HTTP_PROXY_SETTING_MODE
;
1320 struct _WS_CUSTOM_HTTP_PROXY
1326 struct _WS_HTTP_HEADER_MAPPING
1328 WS_XML_STRING headerName
;
1329 ULONG headerMappingOptions
;
1332 struct _WS_HTTP_MESSAGE_MAPPING
1334 ULONG requestMappingOptions
;
1335 ULONG responseMappingOptions
;
1336 WS_HTTP_HEADER_MAPPING
**requestHeaderMappings
;
1337 ULONG requestHeaderMappingCount
;
1338 WS_HTTP_HEADER_MAPPING
**responseHeaderMappings
;
1339 ULONG responseHeaderMappingCount
;
1342 typedef HRESULT (CALLBACK
*WS_HTTP_REDIRECT_CALLBACK
)
1343 (void*, const WS_STRING
*, const WS_STRING
*);
1345 struct _WS_HTTP_REDIRECT_CALLBACK_CONTEXT
1347 WS_HTTP_REDIRECT_CALLBACK callback
;
1353 WS_RECEIVE_REQUIRED_MESSAGE
= 1,
1354 WS_RECEIVE_OPTIONAL_MESSAGE
= 2
1355 } WS_RECEIVE_OPTION
;
1357 typedef void (CALLBACK
*WS_MESSAGE_DONE_CALLBACK
)
1360 typedef HRESULT (CALLBACK
*WS_PROXY_MESSAGE_CALLBACK
)
1361 (WS_MESSAGE
*, WS_HEAP
*, void*, WS_ERROR
*);
1363 struct _WS_PROXY_MESSAGE_CALLBACK_CONTEXT
1365 WS_PROXY_MESSAGE_CALLBACK callback
;
1369 HRESULT WINAPI
WsAddCustomHeader(WS_MESSAGE
*, const WS_ELEMENT_DESCRIPTION
*, WS_WRITE_OPTION
,
1370 const void*, ULONG
, ULONG
, WS_ERROR
*);
1371 HRESULT WINAPI
WsAddMappedHeader(WS_MESSAGE
*, const WS_XML_STRING
*, WS_TYPE
, WS_WRITE_OPTION
,
1372 const void*, ULONG
, WS_ERROR
*);
1373 HRESULT WINAPI
WsAddressMessage(WS_MESSAGE
*, const WS_ENDPOINT_ADDRESS
*, WS_ERROR
*);
1374 HRESULT WINAPI
WsAlloc(WS_HEAP
*, SIZE_T
, void**, WS_ERROR
*);
1375 HRESULT WINAPI
WsCall(WS_SERVICE_PROXY
*, const WS_OPERATION_DESCRIPTION
*, const void**,
1376 WS_HEAP
*, const WS_CALL_PROPERTY
*, const ULONG
, const WS_ASYNC_CONTEXT
*,
1378 HRESULT WINAPI
WsCloseChannel(WS_CHANNEL
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1379 HRESULT WINAPI
WsCloseServiceProxy(WS_SERVICE_PROXY
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1380 HRESULT WINAPI
WsCombineUrl(const WS_STRING
*, const WS_STRING
*, ULONG
, WS_HEAP
*, WS_STRING
*, WS_ERROR
*);
1381 HRESULT WINAPI
WsCopyNode(WS_XML_WRITER
*, WS_XML_READER
*, WS_ERROR
*);
1382 HRESULT WINAPI
WsCreateChannel(WS_CHANNEL_TYPE
, WS_CHANNEL_BINDING
, const WS_CHANNEL_PROPERTY
*,
1383 ULONG
, const WS_SECURITY_DESCRIPTION
*, WS_CHANNEL
**, WS_ERROR
*);
1384 HRESULT WINAPI
WsCreateError(const WS_ERROR_PROPERTY
*, ULONG
, WS_ERROR
**);
1385 HRESULT WINAPI
WsCreateHeap(SIZE_T
, SIZE_T
, const WS_HEAP_PROPERTY
*, ULONG
, WS_HEAP
**, WS_ERROR
*);
1386 HRESULT WINAPI
WsCreateMessage(WS_ENVELOPE_VERSION
, WS_ADDRESSING_VERSION
, const WS_MESSAGE_PROPERTY
*,
1387 ULONG
, WS_MESSAGE
**, WS_ERROR
*);
1388 HRESULT WINAPI
WsCreateMessageForChannel(WS_CHANNEL
*, const WS_MESSAGE_PROPERTY
*, ULONG
, WS_MESSAGE
**,
1390 HRESULT WINAPI
WsCreateReader(const WS_XML_READER_PROPERTY
*, ULONG
, WS_XML_READER
**, WS_ERROR
*);
1391 HRESULT WINAPI
WsCreateServiceProxy(const WS_CHANNEL_TYPE
, const WS_CHANNEL_BINDING
,
1392 const WS_SECURITY_DESCRIPTION
*, const WS_PROXY_PROPERTY
*,
1393 const ULONG
, const WS_CHANNEL_PROPERTY
*, const ULONG
,
1394 WS_SERVICE_PROXY
**, WS_ERROR
*);
1395 HRESULT WINAPI
WsCreateServiceProxyFromTemplate(WS_CHANNEL_TYPE
, const WS_PROXY_PROPERTY
*,
1396 const ULONG
, WS_BINDING_TEMPLATE_TYPE
,
1397 void*, ULONG
, const void*, ULONG
,
1398 WS_SERVICE_PROXY
**, WS_ERROR
*);
1399 HRESULT WINAPI
WsCreateWriter(const WS_XML_WRITER_PROPERTY
*, ULONG
, WS_XML_WRITER
**, WS_ERROR
*);
1400 HRESULT WINAPI
WsCreateXmlBuffer(WS_HEAP
*, const WS_XML_BUFFER_PROPERTY
*, ULONG
, WS_XML_BUFFER
**,
1402 HRESULT WINAPI
WsDateTimeToFileTime(const WS_DATETIME
*, FILETIME
*, WS_ERROR
*);
1403 HRESULT WINAPI
WsDecodeUrl(const WS_STRING
*, ULONG
, WS_HEAP
*, WS_URL
**, WS_ERROR
*);
1404 HRESULT WINAPI
WsEncodeUrl(const WS_URL
*, ULONG
, WS_HEAP
*, WS_STRING
*, WS_ERROR
*);
1405 HRESULT WINAPI
WsFileTimeToDateTime(const FILETIME
*, WS_DATETIME
*, WS_ERROR
*);
1406 HRESULT WINAPI
WsFillReader(WS_XML_READER
*, ULONG
, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1407 HRESULT WINAPI
WsFindAttribute(WS_XML_READER
*, const WS_XML_STRING
*, const WS_XML_STRING
*, BOOL
,
1409 void WINAPI
WsFreeChannel(WS_CHANNEL
*);
1410 void WINAPI
WsFreeError(WS_ERROR
*);
1411 void WINAPI
WsFreeHeap(WS_HEAP
*);
1412 void WINAPI
WsFreeMessage(WS_MESSAGE
*);
1413 void WINAPI
WsFreeReader(WS_XML_READER
*);
1414 void WINAPI
WsFreeServiceProxy(WS_SERVICE_PROXY
*);
1415 void WINAPI
WsFreeWriter(WS_XML_WRITER
*);
1416 HRESULT WINAPI
WsGetChannelProperty(WS_CHANNEL
*, WS_CHANNEL_PROPERTY_ID
, void*, ULONG
, WS_ERROR
*);
1417 HRESULT WINAPI
WsGetErrorProperty(WS_ERROR
*, WS_ERROR_PROPERTY_ID
, void*, ULONG
);
1418 HRESULT WINAPI
WsGetErrorString(WS_ERROR
*, ULONG
, WS_STRING
*);
1419 HRESULT WINAPI
WsGetHeapProperty(WS_HEAP
*, WS_HEAP_PROPERTY_ID
, void*, ULONG
, WS_ERROR
*);
1420 HRESULT WINAPI
WsGetMessageProperty(WS_MESSAGE
*, WS_MESSAGE_PROPERTY_ID
, void*, ULONG
, WS_ERROR
*);
1421 HRESULT WINAPI
WsGetNamespaceFromPrefix(WS_XML_READER
*, const WS_XML_STRING
*, BOOL
,
1422 const WS_XML_STRING
**, WS_ERROR
*);
1423 HRESULT WINAPI
WsGetPrefixFromNamespace(WS_XML_WRITER
*, const WS_XML_STRING
*, BOOL
,
1424 const WS_XML_STRING
**, WS_ERROR
*);
1425 HRESULT WINAPI
WsGetReaderNode(WS_XML_READER
*, const WS_XML_NODE
**, WS_ERROR
*);
1426 HRESULT WINAPI
WsGetReaderPosition(WS_XML_READER
*, WS_XML_NODE_POSITION
*, WS_ERROR
*);
1427 HRESULT WINAPI
WsGetReaderProperty(WS_XML_READER
*, WS_XML_READER_PROPERTY_ID
, void*, ULONG
, WS_ERROR
*);
1428 HRESULT WINAPI
WsGetServiceProxyProperty(WS_SERVICE_PROXY
*, const WS_PROXY_PROPERTY_ID
, void*,
1430 HRESULT WINAPI
WsGetWriterPosition(WS_XML_WRITER
*, WS_XML_NODE_POSITION
*, WS_ERROR
*);
1431 HRESULT WINAPI
WsGetWriterProperty(WS_XML_WRITER
*, WS_XML_WRITER_PROPERTY_ID
, void*, ULONG
, WS_ERROR
*);
1432 HRESULT WINAPI
WsGetXmlAttribute(WS_XML_READER
*, const WS_XML_STRING
*, WS_HEAP
*, WCHAR
**,
1434 HRESULT WINAPI
WsInitializeMessage(WS_MESSAGE
*, WS_MESSAGE_INITIALIZATION
, WS_MESSAGE
*, WS_ERROR
*);
1435 HRESULT WINAPI
WsMoveReader(WS_XML_READER
*, WS_MOVE_TO
, BOOL
*, WS_ERROR
*);
1436 HRESULT WINAPI
WsMoveWriter(WS_XML_WRITER
*, WS_MOVE_TO
, BOOL
*, WS_ERROR
*);
1437 HRESULT WINAPI
WsOpenChannel(WS_CHANNEL
*, const WS_ENDPOINT_ADDRESS
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1438 HRESULT WINAPI
WsOpenServiceProxy(WS_SERVICE_PROXY
*, const WS_ENDPOINT_ADDRESS
*, const WS_ASYNC_CONTEXT
*,
1440 HRESULT WINAPI
WsReadAttribute(WS_XML_READER
*, const WS_ATTRIBUTE_DESCRIPTION
*, WS_READ_OPTION
,
1441 WS_HEAP
*, void*, ULONG
, WS_ERROR
*);
1442 HRESULT WINAPI
WsReadElement(WS_XML_READER
*, const WS_ELEMENT_DESCRIPTION
*, WS_READ_OPTION
,
1443 WS_HEAP
*, void*, ULONG
, WS_ERROR
*);
1444 HRESULT WINAPI
WsReadEndAttribute(WS_XML_READER
*, WS_ERROR
*);
1445 HRESULT WINAPI
WsReadEndElement(WS_XML_READER
*, WS_ERROR
*);
1446 HRESULT WINAPI
WsReadNode(WS_XML_READER
*, WS_ERROR
*);
1447 HRESULT WINAPI
WsReadStartAttribute(WS_XML_READER
*, ULONG
, WS_ERROR
*);
1448 HRESULT WINAPI
WsReadStartElement(WS_XML_READER
*, WS_ERROR
*);
1449 HRESULT WINAPI
WsReadToStartElement(WS_XML_READER
*, const WS_XML_STRING
*, const WS_XML_STRING
*,
1451 HRESULT WINAPI
WsReadType(WS_XML_READER
*, WS_TYPE_MAPPING
, WS_TYPE
, const void*, WS_READ_OPTION
,
1452 WS_HEAP
*, void*, ULONG
, WS_ERROR
*);
1453 HRESULT WINAPI
WsReadValue(WS_XML_READER
*, WS_VALUE_TYPE
, void*, ULONG
, WS_ERROR
*);
1454 HRESULT WINAPI
WsReceiveMessage(WS_CHANNEL
*, WS_MESSAGE
*, const WS_MESSAGE_DESCRIPTION
**, ULONG
,
1455 WS_RECEIVE_OPTION
, WS_READ_OPTION
, WS_HEAP
*, void*, ULONG
, ULONG
*,
1456 const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1457 HRESULT WINAPI
WsRemoveCustomHeader(WS_MESSAGE
*, const WS_XML_STRING
*, const WS_XML_STRING
*,
1459 HRESULT WINAPI
WsRemoveHeader(WS_MESSAGE
*, WS_HEADER_TYPE
, WS_ERROR
*);
1460 HRESULT WINAPI
WsRemoveMappedHeader(WS_MESSAGE
*, const WS_XML_STRING
*, WS_ERROR
*);
1461 HRESULT WINAPI
WsRemoveNode(const WS_XML_NODE_POSITION
*, WS_ERROR
*);
1462 HRESULT WINAPI
WsResetChannel(WS_CHANNEL
*, WS_ERROR
*);
1463 HRESULT WINAPI
WsResetError(WS_ERROR
*);
1464 HRESULT WINAPI
WsResetHeap(WS_HEAP
*, WS_ERROR
*);
1465 HRESULT WINAPI
WsResetMessage(WS_MESSAGE
*, WS_ERROR
*);
1466 HRESULT WINAPI
WsRequestReply(WS_CHANNEL
*, WS_MESSAGE
*, const WS_MESSAGE_DESCRIPTION
*, WS_WRITE_OPTION
,
1467 const void*, ULONG
, WS_MESSAGE
*, const WS_MESSAGE_DESCRIPTION
*,
1468 WS_READ_OPTION
, WS_HEAP
*, void*, ULONG
, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1469 HRESULT WINAPI
WsSendMessage(WS_CHANNEL
*, WS_MESSAGE
*, const WS_MESSAGE_DESCRIPTION
*, WS_WRITE_OPTION
,
1470 const void*, ULONG
, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1471 HRESULT WINAPI
WsSendReplyMessage(WS_CHANNEL
*, WS_MESSAGE
*, const WS_MESSAGE_DESCRIPTION
*,
1472 WS_WRITE_OPTION
, const void*, ULONG
, WS_MESSAGE
*,
1473 const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1474 HRESULT WINAPI
WsSetChannelProperty(WS_CHANNEL
*, WS_CHANNEL_PROPERTY_ID
, const void*, ULONG
, WS_ERROR
*);
1475 HRESULT WINAPI
WsSetErrorProperty(WS_ERROR
*, WS_ERROR_PROPERTY_ID
, const void*, ULONG
);
1476 HRESULT WINAPI
WsSetHeader(WS_MESSAGE
*, WS_HEADER_TYPE
, WS_TYPE
, WS_WRITE_OPTION
, const void*, ULONG
,
1478 HRESULT WINAPI
WsSetInput(WS_XML_READER
*, const WS_XML_READER_ENCODING
*, const WS_XML_READER_INPUT
*,
1479 const WS_XML_READER_PROPERTY
*, ULONG
, WS_ERROR
*);
1480 HRESULT WINAPI
WsSetInputToBuffer(WS_XML_READER
*, WS_XML_BUFFER
*, const WS_XML_READER_PROPERTY
*,
1482 HRESULT WINAPI
WsSetMessageProperty(WS_MESSAGE
*, WS_MESSAGE_PROPERTY_ID
, const void*, ULONG
, WS_ERROR
*);
1483 HRESULT WINAPI
WsSetOutput(WS_XML_WRITER
*, const WS_XML_WRITER_ENCODING
*, const WS_XML_WRITER_OUTPUT
*,
1484 const WS_XML_WRITER_PROPERTY
*, ULONG
, WS_ERROR
*);
1485 HRESULT WINAPI
WsSetOutputToBuffer(WS_XML_WRITER
*, WS_XML_BUFFER
*, const WS_XML_WRITER_PROPERTY
*,
1487 HRESULT WINAPI
WsSetReaderPosition(WS_XML_READER
*, const WS_XML_NODE_POSITION
*, WS_ERROR
*);
1488 HRESULT WINAPI
WsSetWriterPosition(WS_XML_WRITER
*, const WS_XML_NODE_POSITION
*, WS_ERROR
*);
1489 HRESULT WINAPI
WsSkipNode(WS_XML_READER
*, WS_ERROR
*);
1490 HRESULT WINAPI
WsWriteAttribute(WS_XML_WRITER
*, const WS_ATTRIBUTE_DESCRIPTION
*, WS_WRITE_OPTION
,
1491 const void*, ULONG
, WS_ERROR
*);
1492 HRESULT WINAPI
WsWriteBody(WS_MESSAGE
*, const WS_ELEMENT_DESCRIPTION
*, WS_WRITE_OPTION
, const void*,
1494 HRESULT WINAPI
WsWriteElement(WS_XML_WRITER
*, const WS_ELEMENT_DESCRIPTION
*, WS_WRITE_OPTION
,
1495 const void*, ULONG
, WS_ERROR
*);
1496 HRESULT WINAPI
WsWriteEndAttribute(WS_XML_WRITER
*, WS_ERROR
*);
1497 HRESULT WINAPI
WsWriteEndCData(WS_XML_WRITER
*, WS_ERROR
*);
1498 HRESULT WINAPI
WsWriteEndElement(WS_XML_WRITER
*, WS_ERROR
*);
1499 HRESULT WINAPI
WsWriteEndStartElement(WS_XML_WRITER
*, WS_ERROR
*);
1500 HRESULT WINAPI
WsWriteEnvelopeEnd(WS_MESSAGE
*, WS_ERROR
*);
1501 HRESULT WINAPI
WsWriteEnvelopeStart(WS_MESSAGE
*, WS_XML_WRITER
*, WS_MESSAGE_DONE_CALLBACK
, void*, WS_ERROR
*);
1502 HRESULT WINAPI
WsWriteMessageStart(WS_CHANNEL
*, WS_MESSAGE
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1503 HRESULT WINAPI
WsWriteMessageEnd(WS_CHANNEL
*, WS_MESSAGE
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1504 HRESULT WINAPI
WsWriteNode(WS_XML_WRITER
*, const WS_XML_NODE
*, WS_ERROR
*);
1505 HRESULT WINAPI
WsWriteStartAttribute(WS_XML_WRITER
*, const WS_XML_STRING
*, const WS_XML_STRING
*,
1506 const WS_XML_STRING
*, BOOL
, WS_ERROR
*);
1507 HRESULT WINAPI
WsWriteStartCData(WS_XML_WRITER
*, WS_ERROR
*);
1508 HRESULT WINAPI
WsWriteStartElement(WS_XML_WRITER
*, const WS_XML_STRING
*, const WS_XML_STRING
*,
1509 const WS_XML_STRING
*, WS_ERROR
*);
1510 HRESULT WINAPI
WsWriteText(WS_XML_WRITER
*, const WS_XML_TEXT
*, WS_ERROR
*);
1511 HRESULT WINAPI
WsWriteType(WS_XML_WRITER
*, WS_TYPE_MAPPING
, WS_TYPE
, const void*, WS_WRITE_OPTION
,
1512 const void*, ULONG
, WS_ERROR
*);
1513 HRESULT WINAPI
WsWriteValue(WS_XML_WRITER
*, WS_VALUE_TYPE
, const void*, ULONG
, WS_ERROR
*);
1514 HRESULT WINAPI
WsWriteXmlBuffer(WS_XML_WRITER
*, WS_XML_BUFFER
*, WS_ERROR
*);
1515 HRESULT WINAPI
WsWriteXmlBufferToBytes(WS_XML_WRITER
*, WS_XML_BUFFER
*, const WS_XML_WRITER_ENCODING
*,
1516 const WS_XML_WRITER_PROPERTY
*, ULONG
, WS_HEAP
*, void**,
1518 HRESULT WINAPI
WsWriteXmlnsAttribute(WS_XML_WRITER
*, const WS_XML_STRING
*, const WS_XML_STRING
*,
1520 HRESULT WINAPI
WsXmlStringEquals(const WS_XML_STRING
*, const WS_XML_STRING
*, WS_ERROR
*);
1522 #define WS_S_ASYNC 0x003d0000
1523 #define WS_S_END 0x003d0001
1524 #define WS_E_INVALID_FORMAT 0x803d0000
1525 #define WS_E_OBJECT_FAULTED 0x803d0001
1526 #define WS_E_NUMERIC_OVERFLOW 0x803d0002
1527 #define WS_E_INVALID_OPERATION 0x803d0003
1528 #define WS_E_OPERATION_ABORTED 0x803d0004
1529 #define WS_E_ENDPOINT_ACCESS_DENIED 0x803d0005
1530 #define WS_E_OPERATION_TIMED_OUT 0x803d0006
1531 #define WS_E_OPERATION_ABANDONED 0x803d0007
1532 #define WS_E_QUOTA_EXCEEDED 0x803d0008
1533 #define WS_E_NO_TRANSLATION_AVAILABLE 0x803d0009
1534 #define WS_E_SECURITY_VERIFICATION_FAILURE 0x803d000a
1535 #define WS_E_ADDRESS_IN_USE 0x803d000b
1536 #define WS_E_ADDRESS_NOT_AVAILABLE 0x803d000c
1537 #define WS_E_ENDPOINT_NOT_FOUND 0x803d000d
1538 #define WS_E_ENDPOINT_NOT_AVAILABLE 0x803d000e
1539 #define WS_E_ENDPOINT_FAILURE 0x803d000f
1540 #define WS_E_ENDPOINT_UNREACHABLE 0x803d0010
1541 #define WS_E_ENDPOINT_ACTION_NOT_SUPPORTED 0x803d0011
1542 #define WS_E_ENDPOINT_TOO_BUSY 0x803d0012
1543 #define WS_E_ENDPOINT_FAULT_RECEIVED 0x803d0013
1544 #define WS_E_ENDPOINT_DISCONNECTED 0x803d0014
1545 #define WS_E_PROXY_FAILURE 0x803d0015
1546 #define WS_E_PROXY_ACCESS_DENIED 0x803d0016
1547 #define WS_E_NOT_SUPPORTED 0x803d0017
1548 #define WS_E_PROXY_REQUIRES_BASIC_AUTH 0x803d0018
1549 #define WS_E_PROXY_REQUIRES_DIGEST_AUTH 0x803d0019
1550 #define WS_E_PROXY_REQUIRES_NTLM_AUTH 0x803d001a
1551 #define WS_E_PROXY_REQUIRES_NEGOTIATE_AUTH 0x803d001b
1552 #define WS_E_SERVER_REQUIRES_BASIC_AUTH 0x803d001c
1553 #define WS_E_SERVER_REQUIRES_DIGEST_AUTH 0x803d001d
1554 #define WS_E_SERVER_REQUIRES_NTLM_AUTH 0x803d001e
1555 #define WS_E_SERVER_REQUIRES_NEGOTIATE_AUTH 0x803d001f
1556 #define WS_E_INVALID_ENDPOINT_URL 0x803d0020
1557 #define WS_E_OTHER 0x803d0021
1558 #define WS_E_SECURITY_TOKEN_EXPIRED 0x803d0022
1559 #define WS_E_SECURITY_SYSTEM_FAILURE 0x803d0023
1563 #endif /* __cplusplus */
1565 #endif /* __WINE_WEBSERVICES_H */