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_URL WS_URL
;
64 typedef struct _WS_HTTP_URL WS_HTTP_URL
;
65 typedef struct _WS_HTTPS_URL WS_HTTPS_URL
;
66 typedef struct _WS_NETTCP_URL WS_NETTCP_URL
;
67 typedef struct _WS_SOAPUDP_URL WS_SOAPUDP_URL
;
68 typedef struct _WS_NETPIPE_URL WS_NETPIPE_URL
;
69 typedef struct _WS_CUSTOM_CHANNEL_CALLBACKS WS_CUSTOM_CHANNEL_CALLBACKS
;
70 typedef struct _WS_CHANNEL_ENCODER WS_CHANNEL_ENCODER
;
71 typedef struct _WS_CHANNEL_DECODER WS_CHANNEL_DECODER
;
72 typedef struct _WS_CUSTOM_HTTP_PROXY WS_CUSTOM_HTTP_PROXY
;
73 typedef struct _WS_HTTP_MESSAGE_MAPPING WS_HTTP_MESSAGE_MAPPING
;
74 typedef struct _WS_HTTP_HEADER_MAPPING WS_HTTP_HEADER_MAPPING
;
75 typedef struct _WS_HTTP_REDIRECT_CALLBACK_CONTEXT WS_HTTP_REDIRECT_CALLBACK_CONTEXT
;
77 struct _WS_STRUCT_DESCRIPTION
;
78 struct _WS_XML_STRING
;
81 WS_ERROR_PROPERTY_STRING_COUNT
,
82 WS_ERROR_PROPERTY_ORIGINAL_ERROR_CODE
,
83 WS_ERROR_PROPERTY_LANGID
84 } WS_ERROR_PROPERTY_ID
;
86 typedef struct _WS_ERROR_PROPERTY
{
87 WS_ERROR_PROPERTY_ID id
;
93 WS_HEAP_PROPERTY_MAX_SIZE
,
94 WS_HEAP_PROPERTY_TRIM_SIZE
,
95 WS_HEAP_PROPERTY_REQUESTED_SIZE
,
96 WS_HEAP_PROPERTY_ACTUAL_SIZE
97 } WS_HEAP_PROPERTY_ID
;
99 typedef struct _WS_HEAP_PROPERTY
{
100 WS_HEAP_PROPERTY_ID id
;
105 typedef ULONG WS_XML_BUFFER_PROPERTY_ID
;
107 typedef struct _WS_XML_BUFFER_PROPERTY
{
108 WS_XML_BUFFER_PROPERTY_ID id
;
111 } WS_XML_BUFFER_PROPERTY
;
114 WS_XML_READER_PROPERTY_MAX_DEPTH
,
115 WS_XML_READER_PROPERTY_ALLOW_FRAGMENT
,
116 WS_XML_READER_PROPERTY_MAX_ATTRIBUTES
,
117 WS_XML_READER_PROPERTY_READ_DECLARATION
,
118 WS_XML_READER_PROPERTY_CHARSET
,
119 WS_XML_READER_PROPERTY_ROW
,
120 WS_XML_READER_PROPERTY_COLUMN
,
121 WS_XML_READER_PROPERTY_UTF8_TRIM_SIZE
,
122 WS_XML_READER_PROPERTY_STREAM_BUFFER_SIZE
,
123 WS_XML_READER_PROPERTY_IN_ATTRIBUTE
,
124 WS_XML_READER_PROPERTY_STREAM_MAX_ROOT_MIME_PART_SIZE
,
125 WS_XML_READER_PROPERTY_STREAM_MAX_MIME_HEADERS_SIZE
,
126 WS_XML_READER_PROPERTY_MAX_MIME_PARTS
,
127 WS_XML_READER_PROPERTY_ALLOW_INVALID_CHARACTER_REFERENCES
,
128 WS_XML_READER_PROPERTY_MAX_NAMESPACES
129 } WS_XML_READER_PROPERTY_ID
;
131 typedef struct _WS_XML_READER_PROPERTY
{
132 WS_XML_READER_PROPERTY_ID id
;
135 } WS_XML_READER_PROPERTY
;
138 WS_XML_WRITER_PROPERTY_MAX_DEPTH
,
139 WS_XML_WRITER_PROPERTY_ALLOW_FRAGMENT
,
140 WS_XML_WRITER_PROPERTY_MAX_ATTRIBUTES
,
141 WS_XML_WRITER_PROPERTY_WRITE_DECLARATION
,
142 WS_XML_WRITER_PROPERTY_INDENT
,
143 WS_XML_WRITER_PROPERTY_BUFFER_TRIM_SIZE
,
144 WS_XML_WRITER_PROPERTY_CHARSET
,
145 WS_XML_WRITER_PROPERTY_BUFFERS
,
146 WS_XML_WRITER_PROPERTY_BUFFER_MAX_SIZE
,
147 WS_XML_WRITER_PROPERTY_BYTES
,
148 WS_XML_WRITER_PROPERTY_IN_ATTRIBUTE
,
149 WS_XML_WRITER_PROPERTY_MAX_MIME_PARTS_BUFFER_SIZE
,
150 WS_XML_WRITER_PROPERTY_INITIAL_BUFFER
,
151 WS_XML_WRITER_PROPERTY_ALLOW_INVALID_CHARACTER_REFERENCES
,
152 WS_XML_WRITER_PROPERTY_MAX_NAMESPACES
,
153 WS_XML_WRITER_PROPERTY_BYTES_WRITTEN
,
154 WS_XML_WRITER_PROPERTY_BYTES_TO_CLOSE
,
155 WS_XML_WRITER_PROPERTY_COMPRESS_EMPTY_ELEMENTS
,
156 WS_XML_WRITER_PROPERTY_EMIT_UNCOMPRESSED_EMPTY_ELEMENTS
157 } WS_XML_WRITER_PROPERTY_ID
;
159 typedef struct _WS_XML_WRITER_PROPERTY
{
160 WS_XML_WRITER_PROPERTY_ID id
;
163 } WS_XML_WRITER_PROPERTY
;
165 typedef struct _WS_BYTES
{
170 typedef struct _WS_BUFFERS
{
176 WS_XML_READER_ENCODING_TYPE_TEXT
= 1,
177 WS_XML_READER_ENCODING_TYPE_BINARY
= 2,
178 WS_XML_READER_ENCODING_TYPE_MTOM
= 3,
179 WS_XML_READER_ENCODING_TYPE_RAW
= 4
180 } WS_XML_READER_ENCODING_TYPE
;
182 typedef struct _WS_XML_READER_ENCODING
{
183 WS_XML_READER_ENCODING_TYPE encodingType
;
184 } WS_XML_READER_ENCODING
;
187 WS_XML_WRITER_ENCODING_TYPE_TEXT
= 1,
188 WS_XML_WRITER_ENCODING_TYPE_BINARY
= 2,
189 WS_XML_WRITER_ENCODING_TYPE_MTOM
= 3,
190 WS_XML_WRITER_ENCODING_TYPE_RAW
= 4
191 } WS_XML_WRITER_ENCODING_TYPE
;
193 typedef struct _WS_XML_WRITER_ENCODING
{
194 WS_XML_WRITER_ENCODING_TYPE encodingType
;
195 } WS_XML_WRITER_ENCODING
;
204 typedef struct _WS_XML_READER_TEXT_ENCODING
{
205 WS_XML_READER_ENCODING encoding
;
207 } WS_XML_READER_TEXT_ENCODING
;
209 typedef struct _WS_XML_WRITER_TEXT_ENCODING
{
210 WS_XML_WRITER_ENCODING encoding
;
212 } WS_XML_WRITER_TEXT_ENCODING
;
215 WS_XML_READER_INPUT_TYPE_BUFFER
= 1,
216 WS_XML_READER_INPUT_TYPE_STREAM
= 2
217 } WS_XML_READER_INPUT_TYPE
;
220 WS_XML_WRITER_OUTPUT_TYPE_BUFFER
= 1,
221 WS_XML_WRITER_OUTPUT_TYPE_STREAM
= 2
222 } WS_XML_WRITER_OUTPUT_TYPE
;
224 typedef struct _WS_XML_READER_INPUT
{
225 WS_XML_READER_INPUT_TYPE inputType
;
226 } WS_XML_READER_INPUT
;
228 typedef struct _WS_XML_WRITER_OUTPUT
{
229 WS_XML_WRITER_OUTPUT_TYPE outputType
;
230 } WS_XML_WRITER_OUTPUT
;
232 typedef struct _WS_XML_READER_BUFFER_INPUT
{
233 WS_XML_READER_INPUT input
;
235 ULONG encodedDataSize
;
236 } WS_XML_READER_BUFFER_INPUT
;
238 typedef struct _WS_XML_WRITER_BUFFER_OUTPUT
{
239 WS_XML_WRITER_OUTPUT output
;
240 } WS_XML_WRITER_BUFFER_OUTPUT
;
247 typedef void (CALLBACK
*WS_ASYNC_CALLBACK
)
248 (HRESULT
, WS_CALLBACK_MODEL
, void *);
250 typedef struct _WS_ASYNC_CONTEXT
{
251 WS_ASYNC_CALLBACK callback
;
255 typedef HRESULT (CALLBACK
*WS_READ_CALLBACK
)
256 (void*, void*, ULONG
, ULONG
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
258 typedef HRESULT (CALLBACK
*WS_WRITE_CALLBACK
)
259 (void*, const WS_BYTES
*, ULONG
, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
261 typedef struct _WS_XML_READER_STREAM_INPUT
{
262 WS_XML_READER_INPUT input
;
263 WS_READ_CALLBACK readCallback
;
264 void *readCallbackState
;
265 } WS_XML_READER_STREAM_INPUT
;
267 typedef struct _WS_XML_DICTIONARY
{
269 struct _WS_XML_STRING
*strings
;
274 typedef struct _WS_XML_STRING
{
277 WS_XML_DICTIONARY
*dictionary
;
282 WS_ELEMENT_TYPE_MAPPING
= 1,
283 WS_ATTRIBUTE_TYPE_MAPPING
= 2,
284 WS_ELEMENT_CONTENT_TYPE_MAPPING
= 3,
285 WS_ANY_ELEMENT_TYPE_MAPPING
= 4
317 WS_ENDPOINT_ADDRESS_TYPE
,
323 WS_ANY_ATTRIBUTES_TYPE
327 WS_READ_REQUIRED_VALUE
= 1,
328 WS_READ_REQUIRED_POINTER
= 2,
329 WS_READ_OPTIONAL_POINTER
= 3,
330 WS_READ_NILLABLE_POINTER
= 4,
331 WS_READ_NILLABLE_VALUE
= 5
335 WS_WRITE_REQUIRED_VALUE
= 1,
336 WS_WRITE_REQUIRED_POINTER
= 2,
337 WS_WRITE_NILLABLE_VALUE
= 3,
338 WS_WRITE_NILLABLE_POINTER
= 4
341 typedef struct _WS_BOOL_DESCRIPTION
{
343 } WS_BOOL_DESCRIPTION
;
345 typedef struct _WS_INT8_DESCRIPTION
{
348 } WS_INT8_DESCRIPTION
;
350 typedef struct _WS_INT16_DESCRIPTION
{
353 } WS_INT16_DESCRIPTION
;
355 typedef struct _WS_INT32_DESCRIPTION
{
358 } WS_INT32_DESCRIPTION
;
360 typedef struct _WS_INT64_DESCRIPTION
{
363 } WS_INT64_DESCRIPTION
;
365 typedef struct _WS_UINT8_DESCRIPTION
{
368 } WS_UINT8_DESCRIPTION
;
370 typedef struct _WS_UINT16_DESCRIPTION
{
373 } WS_UINT16_DESCRIPTION
;
375 typedef struct _WS_UINT32_DESCRIPTION
{
378 } WS_UINT32_DESCRIPTION
;
380 typedef struct _WS_UINT64_DESCRIPTION
{
381 unsigned __int64 minValue
;
382 unsigned __int64 maxValue
;
383 } WS_UINT64_DESCRIPTION
;
385 typedef struct _WS_WSZ_DESCRIPTION
{
388 } WS_WSZ_DESCRIPTION
;
390 struct _WS_ENUM_VALUE
{
395 struct _WS_ENUM_DESCRIPTION
{
396 WS_ENUM_VALUE
*values
;
402 struct _WS_DOUBLE_DESCRIPTION
{
408 WS_TYPE_ATTRIBUTE_FIELD_MAPPING
,
409 WS_ATTRIBUTE_FIELD_MAPPING
,
410 WS_ELEMENT_FIELD_MAPPING
,
411 WS_REPEATING_ELEMENT_FIELD_MAPPING
,
412 WS_TEXT_FIELD_MAPPING
,
414 WS_XML_ATTRIBUTE_FIELD_MAPPING
,
415 WS_ELEMENT_CHOICE_FIELD_MAPPING
,
416 WS_REPEATING_ELEMENT_CHOICE_FIELD_MAPPING
,
417 WS_ANY_ELEMENT_FIELD_MAPPING
,
418 WS_REPEATING_ANY_ELEMENT_FIELD_MAPPING
,
419 WS_ANY_CONTENT_FIELD_MAPPING
,
420 WS_ANY_ATTRIBUTES_FIELD_MAPPING
423 typedef struct _WS_DEFAULT_VALUE
{
428 typedef struct _WS_ITEM_RANGE
{
435 WS_FIELD_POINTER
= 0x1,
436 WS_FIELD_OPTIONAL
= 0x2,
437 WS_FIELD_NILLABLE
= 0x4,
438 WS_FIELD_NILLABLE_ITEM
= 0x8,
439 WS_FIELD_OTHER_NAMESPACE
= 0x10
442 typedef struct _WS_FIELD_DESCRIPTION
{
443 WS_FIELD_MAPPING mapping
;
444 WS_XML_STRING
*localName
;
447 void *typeDescription
;
450 WS_DEFAULT_VALUE
*defaultValue
;
452 WS_XML_STRING
*itemLocalName
;
453 WS_XML_STRING
*itemNs
;
454 WS_ITEM_RANGE
*itemRange
;
455 } WS_FIELD_DESCRIPTION
;
459 WS_STRUCT_ABSTRACT
= 0x1,
460 WS_STRUCT_IGNORE_TRAILING_ELEMENT_CONTENT
= 0x2,
461 WS_STRUCT_IGNORE_UNHANDLED_ATTRIBUTES
= 0x4
464 typedef struct _WS_STRUCT_DESCRIPTION
{
467 WS_FIELD_DESCRIPTION
**fields
;
469 WS_XML_STRING
*typeLocalName
;
470 WS_XML_STRING
*typeNs
;
471 struct _WS_STRUCT_DESCRIPTION
*parentType
;
472 struct _WS_STRUCT_DESCRIPTION
**subTypes
;
475 } WS_STRUCT_DESCRIPTION
;
477 typedef struct _WS_ATTRIBUTE_DESCRIPTION
{
478 WS_XML_STRING
*attributeLocalName
;
479 WS_XML_STRING
*attributeNs
;
481 void *typeDescription
;
482 } WS_ATTRIBUTE_DESCRIPTION
;
484 typedef struct _WS_ELEMENT_DESCRIPTION
{
485 WS_XML_STRING
*elementLocalName
;
486 WS_XML_STRING
*elementNs
;
488 void *typeDescription
;
489 } WS_ELEMENT_DESCRIPTION
;
491 typedef struct _WS_STRING
{
497 WS_XML_NODE_TYPE_ELEMENT
= 1,
498 WS_XML_NODE_TYPE_TEXT
= 2,
499 WS_XML_NODE_TYPE_END_ELEMENT
= 3,
500 WS_XML_NODE_TYPE_COMMENT
= 4,
501 WS_XML_NODE_TYPE_CDATA
= 6,
502 WS_XML_NODE_TYPE_END_CDATA
= 7,
503 WS_XML_NODE_TYPE_EOF
= 8,
504 WS_XML_NODE_TYPE_BOF
= 9
507 typedef struct _WS_XML_NODE
{
508 WS_XML_NODE_TYPE nodeType
;
512 WS_MOVE_TO_ROOT_ELEMENT
,
513 WS_MOVE_TO_NEXT_ELEMENT
,
514 WS_MOVE_TO_PREVIOUS_ELEMENT
,
515 WS_MOVE_TO_CHILD_ELEMENT
,
516 WS_MOVE_TO_END_ELEMENT
,
517 WS_MOVE_TO_PARENT_ELEMENT
,
518 WS_MOVE_TO_NEXT_NODE
,
519 WS_MOVE_TO_PREVIOUS_NODE
,
520 WS_MOVE_TO_FIRST_NODE
,
523 WS_MOVE_TO_CHILD_NODE
527 WS_XML_TEXT_TYPE_UTF8
= 1,
528 WS_XML_TEXT_TYPE_UTF16
= 2,
529 WS_XML_TEXT_TYPE_BASE64
= 3,
530 WS_XML_TEXT_TYPE_BOOL
= 4,
531 WS_XML_TEXT_TYPE_INT32
= 5,
532 WS_XML_TEXT_TYPE_INT64
= 6,
533 WS_XML_TEXT_TYPE_UINT64
= 7,
534 WS_XML_TEXT_TYPE_FLOAT
= 8,
535 WS_XML_TEXT_TYPE_DOUBLE
= 9,
536 WS_XML_TEXT_TYPE_DECIMAL
= 10,
537 WS_XML_TEXT_TYPE_GUID
= 11,
538 WS_XML_TEXT_TYPE_UNIQUE_ID
= 12,
539 WS_XML_TEXT_TYPE_DATETIME
= 13,
540 WS_XML_TEXT_TYPE_TIMESPAN
= 14,
541 WS_XML_TEXT_TYPE_QNAME
= 15,
542 WS_XML_TEXT_TYPE_LIST
= 16
545 typedef struct _WS_XML_TEXT
{
546 WS_XML_TEXT_TYPE textType
;
549 typedef struct _WS_XML_UTF8_TEXT
{
554 typedef struct _WS_XML_UTF16_TEXT
{
560 typedef struct _WS_XML_BOOL_TEXT
{
565 typedef struct _WS_XML_INT32_TEXT
{
570 typedef struct _WS_XML_INT64_TEXT
{
575 typedef struct _WS_XML_UINT64_TEXT
{
577 unsigned __int64 value
;
578 } WS_XML_UINT64_TEXT
;
580 typedef struct _WS_XML_DOUBLE_TEXT
{
583 } WS_XML_DOUBLE_TEXT
;
585 typedef struct _WS_XML_GUID_TEXT
{
590 typedef struct _WS_XML_UNIQUE_ID_TEXT
{
593 } WS_XML_UNIQUE_ID_TEXT
;
602 WS_UINT16_VALUE_TYPE
,
603 WS_UINT32_VALUE_TYPE
,
604 WS_UINT64_VALUE_TYPE
,
606 WS_DOUBLE_VALUE_TYPE
,
607 WS_DECIMAL_VALUE_TYPE
,
608 WS_DATETIME_VALUE_TYPE
,
609 WS_TIMESPAN_VALUE_TYPE
,
611 WS_DURATION_VALUE_TYPE
614 typedef struct _WS_XML_ATTRIBUTE
{
617 WS_XML_STRING
*prefix
;
618 WS_XML_STRING
*localName
;
623 typedef struct _WS_XML_ELEMENT_NODE
{
625 WS_XML_STRING
*prefix
;
626 WS_XML_STRING
*localName
;
628 ULONG attributeCount
;
629 WS_XML_ATTRIBUTE
**attributes
;
631 } WS_XML_ELEMENT_NODE
;
633 typedef struct _WS_XML_TEXT_NODE
{
638 typedef struct _WS_XML_COMMENT_NODE
{
641 } WS_XML_COMMENT_NODE
;
643 typedef struct _WS_XML_NODE_POSITION
{
644 WS_XML_BUFFER
*buffer
;
646 } WS_XML_NODE_POSITION
;
649 WS_SERVICE_PROXY_STATE_CREATED
,
650 WS_SERVICE_PROXY_STATE_OPENING
,
651 WS_SERVICE_PROXY_STATE_OPEN
,
652 WS_SERVICE_PROXY_STATE_CLOSING
,
653 WS_SERVICE_PROXY_STATE_CLOSED
,
654 WS_SERVICE_PROXY_STATE_FAULTED
655 } WS_SERVICE_PROXY_STATE
;
658 WS_PROXY_PROPERTY_CALL_TIMEOUT
,
659 WS_PROXY_PROPERTY_MESSAGE_PROPERTIES
,
660 WS_PROXY_PROPERTY_MAX_CALL_POOL_SIZE
,
661 WS_PROXY_PROPERTY_STATE
,
662 WS_PROXY_PROPERTY_MAX_PENDING_CALLS
,
663 WS_PROXY_PROPERTY_MAX_CLOSE_TIMEOUT
,
664 WS_PROXY_FAULT_LANG_ID
665 } WS_PROXY_PROPERTY_ID
;
667 struct _WS_PROXY_PROPERTY
{
668 WS_PROXY_PROPERTY_ID id
;
674 WS_CHANNEL_TYPE_INPUT
= 0x1,
675 WS_CHANNEL_TYPE_OUTPUT
= 0x2,
676 WS_CHANNEL_TYPE_SESSION
= 0x4,
677 WS_CHANNEL_TYPE_INPUT_SESSION
= (WS_CHANNEL_TYPE_INPUT
| WS_CHANNEL_TYPE_SESSION
),
678 WS_CHANNEL_TYPE_OUTPUT_SESSION
= (WS_CHANNEL_TYPE_OUTPUT
| WS_CHANNEL_TYPE_SESSION
),
679 WS_CHANNEL_TYPE_DUPLEX
= (WS_CHANNEL_TYPE_INPUT
| WS_CHANNEL_TYPE_OUTPUT
),
680 WS_CHANNEL_TYPE_DUPLEX_SESSION
= (WS_CHANNEL_TYPE_INPUT
| WS_CHANNEL_TYPE_OUTPUT
| WS_CHANNEL_TYPE_SESSION
),
681 WS_CHANNEL_TYPE_REQUEST
= 0x8,
682 WS_CHANNEL_TYPE_REPLY
= 0x10
686 WS_ENCODING_XML_BINARY_1
,
687 WS_ENCODING_XML_BINARY_SESSION_1
,
688 WS_ENCODING_XML_MTOM_UTF8
,
689 WS_ENCODING_XML_MTOM_UTF16BE
,
690 WS_ENCODING_XML_MTOM_UTF16LE
,
691 WS_ENCODING_XML_UTF8
,
692 WS_ENCODING_XML_UTF16BE
,
693 WS_ENCODING_XML_UTF16LE
,
698 WS_CHANNEL_STATE_CREATED
,
699 WS_CHANNEL_STATE_OPENING
,
700 WS_CHANNEL_STATE_ACCEPTING
,
701 WS_CHANNEL_STATE_OPEN
,
702 WS_CHANNEL_STATE_FAULTED
,
703 WS_CHANNEL_STATE_CLOSING
,
704 WS_CHANNEL_STATE_CLOSED
708 WS_CHANNEL_PROPERTY_MAX_BUFFERED_MESSAGE_SIZE
= 0,
709 WS_CHANNEL_PROPERTY_MAX_STREAMED_MESSAGE_SIZE
= 1,
710 WS_CHANNEL_PROPERTY_MAX_STREAMED_START_SIZE
= 2,
711 WS_CHANNEL_PROPERTY_MAX_STREAMED_FLUSH_SIZE
= 3,
712 WS_CHANNEL_PROPERTY_ENCODING
= 4,
713 WS_CHANNEL_PROPERTY_ENVELOPE_VERSION
= 5,
714 WS_CHANNEL_PROPERTY_ADDRESSING_VERSION
= 6,
715 WS_CHANNEL_PROPERTY_MAX_SESSION_DICTIONARY_SIZE
= 7,
716 WS_CHANNEL_PROPERTY_STATE
= 8,
717 WS_CHANNEL_PROPERTY_ASYNC_CALLBACK_MODEL
= 9,
718 WS_CHANNEL_PROPERTY_IP_VERSION
= 10,
719 WS_CHANNEL_PROPERTY_RESOLVE_TIMEOUT
= 11,
720 WS_CHANNEL_PROPERTY_CONNECT_TIMEOUT
= 12,
721 WS_CHANNEL_PROPERTY_SEND_TIMEOUT
= 13,
722 WS_CHANNEL_PROPERTY_RECEIVE_RESPONSE_TIMEOUT
= 14,
723 WS_CHANNEL_PROPERTY_RECEIVE_TIMEOUT
= 15,
724 WS_CHANNEL_PROPERTY_CLOSE_TIMEOUT
= 16,
725 WS_CHANNEL_PROPERTY_ENABLE_TIMEOUTS
= 17,
726 WS_CHANNEL_PROPERTY_TRANSFER_MODE
= 18,
727 WS_CHANNEL_PROPERTY_MULTICAST_INTERFACE
= 19,
728 WS_CHANNEL_PROPERTY_MULTICAST_HOPS
= 20,
729 WS_CHANNEL_PROPERTY_REMOTE_ADDRESS
= 21,
730 WS_CHANNEL_PROPERTY_REMOTE_IP_ADDRESS
= 22,
731 WS_CHANNEL_PROPERTY_HTTP_CONNECTION_ID
= 23,
732 WS_CHANNEL_PROPERTY_CUSTOM_CHANNEL_CALLBACKS
= 24,
733 WS_CHANNEL_PROPERTY_CUSTOM_CHANNEL_PARAMETERS
= 25,
734 WS_CHANNEL_PROPERTY_CUSTOM_CHANNEL_INSTANCE
= 26,
735 WS_CHANNEL_PROPERTY_TRANSPORT_URL
= 27,
736 WS_CHANNEL_PROPERTY_NO_DELAY
= 28,
737 WS_CHANNEL_PROPERTY_SEND_KEEP_ALIVES
= 29,
738 WS_CHANNEL_PROPERTY_KEEP_ALIVE_TIME
= 30,
739 WS_CHANNEL_PROPERTY_KEEP_ALIVE_INTERVAL
= 31,
740 WS_CHANNEL_PROPERTY_MAX_HTTP_SERVER_CONNECTIONS
= 32,
741 WS_CHANNEL_PROPERTY_IS_SESSION_SHUT_DOWN
= 33,
742 WS_CHANNEL_PROPERTY_CHANNEL_TYPE
= 34,
743 WS_CHANNEL_PROPERTY_TRIM_BUFFERED_MESSAGE_SIZE
= 35,
744 WS_CHANNEL_PROPERTY_ENCODER
= 36,
745 WS_CHANNEL_PROPERTY_DECODER
= 37,
746 WS_CHANNEL_PROPERTY_PROTECTION_LEVEL
= 38,
747 WS_CHANNEL_PROPERTY_COOKIE_MODE
= 39,
748 WS_CHANNEL_PROPERTY_HTTP_PROXY_SETTING_MODE
= 40,
749 WS_CHANNEL_PROPERTY_CUSTOM_HTTP_PROXY
= 41,
750 WS_CHANNEL_PROPERTY_HTTP_MESSAGE_MAPPING
= 42,
751 WS_CHANNEL_PROPERTY_ENABLE_HTTP_REDIRECT
= 43,
752 WS_CHANNEL_PROPERTY_HTTP_REDIRECT_CALLBACK_CONTEXT
= 44,
753 WS_CHANNEL_PROPERTY_FAULTS_AS_ERRORS
= 45,
754 WS_CHANNEL_PROPERTY_ALLOW_UNSECURED_FAULTS
= 46,
755 WS_CHANNEL_PROPERTY_HTTP_SERVER_SPN
= 47,
756 WS_CHANNEL_PROPERTY_HTTP_PROXY_SPN
= 48,
757 WS_CHANNEL_PROPERTY_MAX_HTTP_REQUEST_HEADERS_BUFFER_SIZE
= 49
758 } WS_CHANNEL_PROPERTY_ID
;
760 struct _WS_CHANNEL_PROPERTY
{
761 WS_CHANNEL_PROPERTY_ID id
;
766 struct _WS_CHANNEL_PROPERTIES
{
767 WS_CHANNEL_PROPERTY
*properties
;
772 WS_HTTP_CHANNEL_BINDING
,
773 WS_TCP_CHANNEL_BINDING
,
774 WS_UDP_CHANNEL_BINDING
,
775 WS_CUSTOM_CHANNEL_BINDING
,
776 WS_NAMEDPIPE_CHANNEL_BINDING
777 } WS_CHANNEL_BINDING
;
780 WS_SSL_TRANSPORT_SECURITY_BINDING_TYPE
,
781 WS_TCP_SSPI_TRANSPORT_SECURITY_BINDING_TYPE
,
782 WS_HTTP_HEADER_AUTH_SECURITY_BINDING_TYPE
,
783 WS_USERNAME_MESSAGE_SECURITY_BINDING_TYPE
,
784 WS_KERBEROS_APREQ_MESSAGE_SECURITY_BINDING_TYPE
,
785 WS_XML_TOKEN_MESSAGE_SECURITY_BINDING_TYPE
,
786 WS_SAML_MESSAGE_SECURITY_BINDING_TYPE
,
787 WS_SECURITY_CONTEXT_MESSAGE_SECURITY_BINDING_TYPE
,
788 WS_NAMEDPIPE_SSPI_TRANSPORT_SECURITY_BINDING_TYPE
789 } WS_SECURITY_BINDING_TYPE
;
792 WS_SECURITY_BINDING_PROPERTY_REQUIRE_SSL_CLIENT_CERT
= 1,
793 WS_SECURITY_BINDING_PROPERTY_WINDOWS_INTEGRATED_AUTH_PACKAGE
= 2,
794 WS_SECURITY_BINDING_PROPERTY_REQUIRE_SERVER_AUTH
= 3,
795 WS_SECURITY_BINDING_PROPERTY_ALLOW_ANONYMOUS_CLIENTS
= 4,
796 WS_SECURITY_BINDING_PROPERTY_ALLOWED_IMPERSONATION_LEVEL
= 5,
797 WS_SECURITY_BINDING_PROPERTY_HTTP_HEADER_AUTH_SCHEME
= 6,
798 WS_SECURITY_BINDING_PROPERTY_HTTP_HEADER_AUTH_TARGET
= 7,
799 WS_SECURITY_BINDING_PROPERTY_HTTP_HEADER_AUTH_BASIC_REALM
= 8,
800 WS_SECURITY_BINDING_PROPERTY_HTTP_HEADER_AUTH_DIGEST_REALM
= 9,
801 WS_SECURITY_BINDING_PROPERTY_HTTP_HEADER_AUTH_DIGEST_DOMAIN
= 10,
802 WS_SECURITY_BINDING_PROPERTY_SECURITY_CONTEXT_KEY_SIZE
= 11,
803 WS_SECURITY_BINDING_PROPERTY_SECURITY_CONTEXT_KEY_ENTROPY_MODE
= 12,
804 WS_SECURITY_BINDING_PROPERTY_MESSAGE_PROPERTIES
= 13,
805 WS_SECURITY_BINDING_PROPERTY_SECURITY_CONTEXT_MAX_PENDING_CONTEXTS
= 14,
806 WS_SECURITY_BINDING_PROPERTY_SECURITY_CONTEXT_MAX_ACTIVE_CONTEXTS
= 15,
807 WS_SECURITY_BINDING_PROPERTY_SECURE_CONVERSATION_VERSION
= 16,
808 WS_SECURITY_BINDING_PROPERTY_SECURITY_CONTEXT_SUPPORT_RENEW
= 17,
809 WS_SECURITY_BINDING_PROPERTY_SECURITY_CONTEXT_RENEWAL_INTERVAL
= 18,
810 WS_SECURITY_BINDING_PROPERTY_SECURITY_CONTEXT_ROLLOVER_INTERVAL
= 19,
811 WS_SECURITY_BINDING_PROPERTY_CERT_FAILURES_TO_IGNORE
= 20,
812 WS_SECURITY_BINDING_PROPERTY_DISABLE_CERT_REVOCATION_CHECK
= 21,
813 WS_SECURITY_BINDING_PROPERTY_DISALLOWED_SECURE_PROTOCOLS
= 22,
814 WS_SECURITY_BINDING_PROPERTY_CERTIFICATE_VALIDATION_CALLBACK_CONTEXT
= 23
815 } WS_SECURITY_BINDING_PROPERTY_ID
;
817 struct _WS_SECURITY_BINDING_PROPERTY
{
818 WS_SECURITY_BINDING_PROPERTY_ID id
;
823 struct _WS_SECURITY_BINDING_PROPERTIES
{
824 WS_SECURITY_BINDING_PROPERTY
*properties
;
828 struct _WS_SECURITY_BINDING
{
829 WS_SECURITY_BINDING_TYPE bindingType
;
830 WS_SECURITY_BINDING_PROPERTY
*properties
;
835 WS_SECURITY_PROPERTY_TRANSPORT_PROTECTION_LEVEL
= 1,
836 WS_SECURITY_PROPERTY_ALGORITHM_SUITE
= 2,
837 WS_SECURITY_PROPERTY_ALGORITHM_SUITE_NAME
= 3,
838 WS_SECURITY_PROPERTY_MAX_ALLOWED_LATENCY
= 4,
839 WS_SECURITY_PROPERTY_TIMESTAMP_VALIDITY_DURATION
= 5,
840 WS_SECURITY_PROPERTY_MAX_ALLOWED_CLOCK_SKEW
= 6,
841 WS_SECURITY_PROPERTY_TIMESTAMP_USAGE
= 7,
842 WS_SECURITY_PROPERTY_SECURITY_HEADER_LAYOUT
= 8,
843 WS_SECURITY_PROPERTY_SECURITY_HEADER_VERSION
= 9,
844 WS_SECURITY_PROPERTY_EXTENDED_PROTECTION_POLICY
= 10,
845 WS_SECURITY_PROPERTY_EXTENDED_PROTECTION_SCENARIO
= 11,
846 WS_SECURITY_PROPERTY_SERVICE_IDENTITIES
= 12
847 } WS_SECURITY_PROPERTY_ID
;
849 struct _WS_SECURITY_PROPERTY
{
850 WS_SECURITY_PROPERTY_ID id
;
855 struct _WS_SECURITY_PROPERTIES
{
856 WS_SECURITY_PROPERTY
*properties
;
860 struct _WS_SECURITY_DESCRIPTION
{
861 WS_SECURITY_BINDING
**securityBindings
;
862 ULONG securityBindingCount
;
863 WS_SECURITY_PROPERTY
*properties
;
868 WS_HTTP_BINDING_TEMPLATE_TYPE
,
869 WS_HTTP_SSL_BINDING_TEMPLATE_TYPE
,
870 WS_HTTP_HEADER_AUTH_BINDING_TEMPLATE_TYPE
,
871 WS_HTTP_SSL_HEADER_AUTH_BINDING_TEMPLATE_TYPE
,
872 WS_HTTP_SSL_USERNAME_BINDING_TEMPLATE_TYPE
,
873 WS_HTTP_SSL_KERBEROS_APREQ_BINDING_TEMPLATE_TYPE
,
874 WS_TCP_BINDING_TEMPLATE_TYPE
,
875 WS_TCP_SSPI_BINDING_TEMPLATE_TYPE
,
876 WS_TCP_SSPI_USERNAME_BINDING_TEMPLATE_TYPE
,
877 WS_TCP_SSPI_KERBEROS_APREQ_BINDING_TEMPLATE_TYPE
,
878 WS_HTTP_SSL_USERNAME_SECURITY_CONTEXT_BINDING_TEMPLATE_TYPE
,
879 WS_HTTP_SSL_KERBEROS_APREQ_SECURITY_CONTEXT_BINDING_TEMPLATE_TYPE
,
880 WS_TCP_SSPI_USERNAME_SECURITY_CONTEXT_BINDING_TEMPLATE_TYPE
,
881 WS_TCP_SSPI_KERBEROS_APREQ_SECURITY_CONTEXT_BINDING_TEMPLATE_TYPE
882 } WS_BINDING_TEMPLATE_TYPE
;
885 WS_SUBJECT_NAME_CERT_CREDENTIAL_TYPE
= 1,
886 WS_THUMBPRINT_CERT_CREDENTIAL_TYPE
= 2,
887 WS_CUSTOM_CERT_CREDENTIAL_TYPE
= 3
888 } WS_CERT_CREDENTIAL_TYPE
;
890 struct _WS_CERT_CREDENTIAL
{
891 WS_CERT_CREDENTIAL_TYPE credentialType
;
894 struct _WS_SSL_TRANSPORT_SECURITY_BINDING_TEMPLATE
{
895 WS_SECURITY_BINDING_PROPERTIES securityBindingProperties
;
896 WS_CERT_CREDENTIAL
*localCertCredential
;
899 struct _WS_HTTP_BINDING_TEMPLATE
{
900 WS_CHANNEL_PROPERTIES channelProperties
;
903 struct _WS_HTTP_SSL_BINDING_TEMPLATE
{
904 WS_CHANNEL_PROPERTIES channelProperties
;
905 WS_SECURITY_PROPERTIES securityProperties
;
906 WS_SSL_TRANSPORT_SECURITY_BINDING_TEMPLATE sslTransportSecurityBinding
;
910 WS_ADDRESSING_VERSION_0_9
= 1,
911 WS_ADDRESSING_VERSION_1_0
= 2,
912 WS_ADDRESSING_VERSION_TRANSPORT
= 3
913 } WS_ADDRESSING_VERSION
;
916 WS_ENVELOPE_VERSION_SOAP_1_1
= 1,
917 WS_ENVELOPE_VERSION_SOAP_1_2
= 2,
918 WS_ENVELOPE_VERSION_NONE
= 3
919 } WS_ENVELOPE_VERSION
;
922 WS_MESSAGE_PROPERTY_STATE
,
923 WS_MESSAGE_PROPERTY_HEAP
,
924 WS_MESSAGE_PROPERTY_ENVELOPE_VERSION
,
925 WS_MESSAGE_PROPERTY_ADDRESSING_VERSION
,
926 WS_MESSAGE_PROPERTY_HEADER_BUFFER
,
927 WS_MESSAGE_PROPERTY_HEADER_POSITION
,
928 WS_MESSAGE_PROPERTY_BODY_READER
,
929 WS_MESSAGE_PROPERTY_BODY_WRITER
,
930 WS_MESSAGE_PROPERTY_IS_ADDRESSED
,
931 WS_MESSAGE_PROPERTY_HEAP_PROPERTIES
,
932 WS_MESSAGE_PROPERTY_XML_READER_PROPERTIES
,
933 WS_MESSAGE_PROPERTY_XML_WRITER_PROPERTIES
,
934 WS_MESSAGE_PROPERTY_IS_FAULT
,
935 WS_MESSAGE_PROPERTY_MAX_PROCESSED_HEADERS
,
936 WS_MESSAGE_PROPERTY_USERNAME
,
937 WS_MESSAGE_PROPERTY_ENCODED_CERT
,
938 WS_MESSAGE_PROPERTY_TRANSPORT_SECURITY_WINDOWS_TOKEN
,
939 WS_MESSAGE_PROPERTY_HTTP_HEADER_AUTH_WINDOWS_TOKEN
,
940 WS_MESSAGE_PROPERTY_MESSAGE_SECURITY_WINDOWS_TOKEN
,
941 WS_MESSAGE_PROPERTY_SAML_ASSERTION
,
942 WS_MESSAGE_PROPERTY_SECURITY_CONTEXT
,
943 WS_MESSAGE_PROPERTY_PROTECTION_LEVEL
944 } WS_MESSAGE_PROPERTY_ID
;
946 struct _WS_MESSAGE_PROPERTY
{
947 WS_MESSAGE_PROPERTY_ID id
;
952 struct _WS_MESSAGE_PROPERTIES
{
953 WS_MESSAGE_PROPERTY
*properties
;
958 WS_MESSAGE_STATE_EMPTY
= 1,
959 WS_MESSAGE_STATE_INITIALIZED
= 2,
960 WS_MESSAGE_STATE_READING
= 3,
961 WS_MESSAGE_STATE_WRITING
= 4,
962 WS_MESSAGE_STATE_DONE
= 5
967 WS_DUPLICATE_MESSAGE
,
971 } WS_MESSAGE_INITIALIZATION
;
974 WS_DNS_ENDPOINT_IDENTITY_TYPE
= 1,
975 WS_UPN_ENDPOINT_IDENTITY_TYPE
= 2,
976 WS_SPN_ENDPOINT_IDENTITY_TYPE
= 3,
977 WS_RSA_ENDPOINT_IDENTITY_TYPE
= 4,
978 WS_CERT_ENDPOINT_IDENTITY_TYPE
= 5,
979 WS_UNKNOWN_ENDPOINT_IDENTITY_TYPE
= 6
980 } WS_ENDPOINT_IDENTITY_TYPE
;
982 struct _WS_ENDPOINT_IDENTITY
{
983 WS_ENDPOINT_IDENTITY_TYPE identityType
;
986 struct _WS_ENDPOINT_ADDRESS
{
988 WS_XML_BUFFER
*headers
;
989 WS_XML_BUFFER
*extensions
;
990 WS_ENDPOINT_IDENTITY
*identity
;
993 struct _WS_HTTP_POLICY_DESCRIPTION
{
994 WS_CHANNEL_PROPERTIES channelProperties
;
997 struct _WS_MESSAGE_DESCRIPTION
{
998 WS_XML_STRING
*action
;
999 WS_ELEMENT_DESCRIPTION
*bodyElementDescription
;
1003 WS_PARAMETER_TYPE_NORMAL
,
1004 WS_PARAMETER_TYPE_ARRAY
,
1005 WS_PARAMETER_TYPE_ARRAY_COUNT
,
1006 WS_PARAMETER_TYPE_MESSAGES
1007 } WS_PARAMETER_TYPE
;
1009 struct _WS_PARAMETER_DESCRIPTION
{
1010 WS_PARAMETER_TYPE parameterType
;
1011 USHORT inputMessageIndex
;
1012 USHORT outputMessageIndex
;
1015 typedef HRESULT (CALLBACK
*WS_SERVICE_STUB_CALLBACK
)(
1016 const WS_OPERATION_CONTEXT
*context
,
1018 const void *callback
,
1019 const WS_ASYNC_CONTEXT
*asyncContext
,
1023 WS_NON_RPC_LITERAL_OPERATION
,
1024 WS_RPC_LITERAL_OPERATION
1025 } WS_OPERATION_STYLE
;
1027 struct _WS_OPERATION_DESCRIPTION
{
1029 WS_MESSAGE_DESCRIPTION
*inputMessageDescription
;
1030 WS_MESSAGE_DESCRIPTION
*outputMessageDescription
;
1031 ULONG inputMessageOptions
;
1032 ULONG outputMessageOptions
;
1033 USHORT parameterCount
;
1034 WS_PARAMETER_DESCRIPTION
*parameterDescription
;
1035 WS_SERVICE_STUB_CALLBACK stubCallback
;
1036 WS_OPERATION_STYLE style
;
1040 WS_CALL_PROPERTY_CHECK_MUST_UNDERSTAND
,
1041 WS_CALL_PROPERTY_SEND_MESSAGE_CONTEXT
,
1042 WS_CALL_PROPERTY_RECEIVE_MESSAGE_CONTEXT
,
1043 WS_CALL_PROPERTY_CALL_ID
1044 } WS_CALL_PROPERTY_ID
;
1046 struct _WS_CALL_PROPERTY
{
1047 WS_CALL_PROPERTY_ID id
;
1053 WS_DATETIME_FORMAT_UTC
,
1054 WS_DATETIME_FORMAT_LOCAL
,
1055 WS_DATETIME_FORMAT_NONE
1056 } WS_DATETIME_FORMAT
;
1058 struct _WS_DATETIME
{
1059 unsigned __int64 ticks
;
1060 WS_DATETIME_FORMAT format
;
1063 struct _WS_DATETIME_DESCRIPTION
{
1064 WS_DATETIME minValue
;
1065 WS_DATETIME maxValue
;
1069 WS_URL_HTTP_SCHEME_TYPE
,
1070 WS_URL_HTTPS_SCHEME_TYPE
,
1071 WS_URL_NETTCP_SCHEME_TYPE
,
1072 WS_URL_SOAPUDP_SCHEME_TYPE
,
1073 WS_URL_NETPIPE_SCHEME_TYPE
1074 } WS_URL_SCHEME_TYPE
;
1077 WS_URL_FLAGS_ALLOW_HOST_WILDCARDS
= 0x1,
1078 WS_URL_FLAGS_NO_PATH_COLLAPSE
= 0x2,
1079 WS_URL_FLAGS_ZERO_TERMINATE
= 0x4
1083 WS_URL_SCHEME_TYPE scheme
;
1086 struct _WS_HTTP_URL
{
1090 WS_STRING portAsString
;
1096 struct _WS_HTTPS_URL
{
1100 WS_STRING portAsString
;
1106 struct _WS_SOAPUDP_URL
{
1110 WS_STRING portAsString
;
1116 struct _WS_NETPIPE_URL
{
1120 WS_STRING portAsString
;
1128 WS_IP_VERSION_4
= 1,
1129 WS_IP_VERSION_6
= 2,
1130 WS_IP_VERSION_AUTO
= 3
1135 WS_BUFFERED_TRANSFER_MODE
= 0x0,
1136 WS_STREAMED_INPUT_TRANSFER_MODE
= 0x1,
1137 WS_STREAMED_OUTPUT_TRANSFER_MODE
= 0x2,
1138 WS_STREAMED_TRANSFER_MODE
= (WS_STREAMED_INPUT_TRANSFER_MODE
|WS_STREAMED_OUTPUT_TRANSFER_MODE
)
1141 typedef HRESULT (CALLBACK
*WS_CREATE_CHANNEL_CALLBACK
)
1142 (WS_CHANNEL_TYPE
, const void*, ULONG
, void**, WS_ERROR
*);
1144 typedef void (CALLBACK
*WS_FREE_CHANNEL_CALLBACK
)
1147 typedef HRESULT (CALLBACK
*WS_RESET_CHANNEL_CALLBACK
)
1150 typedef HRESULT (CALLBACK
*WS_OPEN_CHANNEL_CALLBACK
)
1151 (void*, const WS_ENDPOINT_ADDRESS
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1153 typedef HRESULT (CALLBACK
*WS_CLOSE_CHANNEL_CALLBACK
)
1154 (void*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1156 typedef HRESULT (CALLBACK
*WS_ABORT_CHANNEL_CALLBACK
)
1159 typedef HRESULT (CALLBACK
*WS_GET_CHANNEL_PROPERTY_CALLBACK
)
1160 (void*, WS_CHANNEL_PROPERTY_ID
, void*, ULONG
, WS_ERROR
*);
1162 typedef HRESULT (CALLBACK
*WS_SET_CHANNEL_PROPERTY_CALLBACK
)
1163 (void*, WS_CHANNEL_PROPERTY_ID
, const void*, ULONG
, WS_ERROR
*);
1165 typedef HRESULT (CALLBACK
*WS_WRITE_MESSAGE_START_CALLBACK
)
1166 (void*, WS_MESSAGE
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1168 typedef HRESULT (CALLBACK
*WS_WRITE_MESSAGE_END_CALLBACK
)
1169 (void*, WS_MESSAGE
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1171 typedef HRESULT (CALLBACK
*WS_READ_MESSAGE_START_CALLBACK
)
1172 (void*, WS_MESSAGE
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1174 typedef HRESULT (CALLBACK
*WS_READ_MESSAGE_END_CALLBACK
)
1175 (void*, WS_MESSAGE
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1177 typedef HRESULT (CALLBACK
*WS_ABANDON_MESSAGE_CALLBACK
)
1178 (void*, WS_MESSAGE
*, WS_ERROR
*);
1180 typedef HRESULT (CALLBACK
*WS_SHUTDOWN_SESSION_CHANNEL_CALLBACK
)
1181 (void*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1183 struct _WS_CUSTOM_CHANNEL_CALLBACKS
1185 WS_CREATE_CHANNEL_CALLBACK createChannelCallback
;
1186 WS_FREE_CHANNEL_CALLBACK freeChannelCallback
;
1187 WS_RESET_CHANNEL_CALLBACK resetChannelCallback
;
1188 WS_OPEN_CHANNEL_CALLBACK openChannelCallback
;
1189 WS_CLOSE_CHANNEL_CALLBACK closeChannelCallback
;
1190 WS_ABORT_CHANNEL_CALLBACK abortChannelCallback
;
1191 WS_GET_CHANNEL_PROPERTY_CALLBACK getChannelPropertyCallback
;
1192 WS_SET_CHANNEL_PROPERTY_CALLBACK setChannelPropertyCallback
;
1193 WS_WRITE_MESSAGE_START_CALLBACK writeMessageStartCallback
;
1194 WS_WRITE_MESSAGE_END_CALLBACK writeMessageEndCallback
;
1195 WS_READ_MESSAGE_START_CALLBACK readMessageStartCallback
;
1196 WS_READ_MESSAGE_END_CALLBACK readMessageEndCallback
;
1197 WS_ABANDON_MESSAGE_CALLBACK abandonMessageCallback
;
1198 WS_SHUTDOWN_SESSION_CHANNEL_CALLBACK shutdownSessionChannelCallback
;
1201 typedef HRESULT (CALLBACK
*WS_CREATE_ENCODER_CALLBACK
)
1202 (void*, WS_WRITE_CALLBACK
, void*, void**, WS_ERROR
*);
1204 typedef HRESULT (CALLBACK
*WS_ENCODER_GET_CONTENT_TYPE_CALLBACK
)
1205 (void*, const WS_STRING
*, WS_STRING
*, WS_STRING
*, WS_ERROR
*);
1207 typedef HRESULT (CALLBACK
*WS_ENCODER_START_CALLBACK
)
1208 (void*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1210 typedef HRESULT (CALLBACK
*WS_ENCODER_ENCODE_CALLBACK
)
1211 (void*, const WS_BYTES
*, ULONG
, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1213 typedef HRESULT (CALLBACK
*WS_ENCODER_END_CALLBACK
)
1214 (void*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1216 typedef void (CALLBACK
*WS_FREE_ENCODER_CALLBACK
)
1219 struct _WS_CHANNEL_ENCODER
1221 void *createContext
;
1222 WS_CREATE_ENCODER_CALLBACK createEncoderCallback
;
1223 WS_ENCODER_GET_CONTENT_TYPE_CALLBACK encoderGetContentTypeCallback
;
1224 WS_ENCODER_START_CALLBACK encoderStartCallback
;
1225 WS_ENCODER_ENCODE_CALLBACK encoderEncodeCallback
;
1226 WS_ENCODER_END_CALLBACK encoderEndCallback
;
1227 WS_FREE_ENCODER_CALLBACK freeEncoderCallback
;
1230 typedef HRESULT (CALLBACK
*WS_CREATE_DECODER_CALLBACK
)
1231 (void*, WS_READ_CALLBACK
, void*, void**, WS_ERROR
*);
1233 typedef HRESULT (CALLBACK
*WS_DECODER_GET_CONTENT_TYPE_CALLBACK
)
1234 (void*, const WS_STRING
*, const WS_STRING
*, WS_STRING
*, WS_ERROR
*);
1236 typedef HRESULT (CALLBACK
*WS_DECODER_START_CALLBACK
)
1237 (void*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1239 typedef HRESULT (CALLBACK
*WS_DECODER_DECODE_CALLBACK
)
1240 (void*, void*, ULONG
, ULONG
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1242 typedef HRESULT (CALLBACK
*WS_DECODER_END_CALLBACK
)
1243 (void*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1245 typedef void (CALLBACK
*WS_FREE_DECODER_CALLBACK
)
1248 struct _WS_CHANNEL_DECODER
1250 void *createContext
;
1251 WS_CREATE_DECODER_CALLBACK createDecoderCallback
;
1252 WS_DECODER_GET_CONTENT_TYPE_CALLBACK decoderGetContentTypeCallback
;
1253 WS_DECODER_START_CALLBACK decoderStartCallback
;
1254 WS_DECODER_DECODE_CALLBACK decoderDecodeCallback
;
1255 WS_DECODER_END_CALLBACK decoderEndCallback
;
1256 WS_FREE_DECODER_CALLBACK freeDecoderCallback
;
1261 WS_PROTECTION_LEVEL_NONE
= 1,
1262 WS_PROTECTION_LEVEL_SIGN
= 2,
1263 WS_PROTECTION_LEVEL_SIGN_AND_ENCRYPT
= 3
1264 } WS_PROTECTION_LEVEL
;
1268 WS_MANUAL_COOKIE_MODE
= 1,
1269 WS_AUTO_COOKIE_MODE
= 2
1274 WS_HTTP_PROXY_SETTING_MODE_AUTO
= 0x1,
1275 WS_HTTP_PROXY_SETTING_MODE_NONE
= 0x2,
1276 WS_HTTP_PROXY_SETTING_MODE_CUSTOM
= 0x3
1277 } WS_HTTP_PROXY_SETTING_MODE
;
1279 struct _WS_CUSTOM_HTTP_PROXY
1285 struct _WS_HTTP_HEADER_MAPPING
1287 WS_XML_STRING headerName
;
1288 ULONG headerMappingOptions
;
1291 struct _WS_HTTP_MESSAGE_MAPPING
1293 ULONG requestMappingOptions
;
1294 ULONG responseMappingOptions
;
1295 WS_HTTP_HEADER_MAPPING
**requestHeaderMappings
;
1296 ULONG requestHeaderMappingCount
;
1297 WS_HTTP_HEADER_MAPPING
**responseHeaderMappings
;
1298 ULONG responseHeaderMappingCount
;
1301 typedef HRESULT (CALLBACK
*WS_HTTP_REDIRECT_CALLBACK
)
1302 (void*, const WS_STRING
*, const WS_STRING
*);
1304 struct _WS_HTTP_REDIRECT_CALLBACK_CONTEXT
1306 WS_HTTP_REDIRECT_CALLBACK callback
;
1312 WS_RECEIVE_REQUIRED_MESSAGE
= 1,
1313 WS_RECEIVE_OPTIONAL_MESSAGE
= 2
1314 } WS_RECEIVE_OPTION
;
1316 typedef void (CALLBACK
*WS_MESSAGE_DONE_CALLBACK
)
1319 HRESULT WINAPI
WsAddressMessage(WS_MESSAGE
*, const WS_ENDPOINT_ADDRESS
*, WS_ERROR
*);
1320 HRESULT WINAPI
WsAlloc(WS_HEAP
*, SIZE_T
, void**, WS_ERROR
*);
1321 HRESULT WINAPI
WsCall(WS_SERVICE_PROXY
*, const WS_OPERATION_DESCRIPTION
*, const void**,
1322 WS_HEAP
*, const WS_CALL_PROPERTY
*, const ULONG
, const WS_ASYNC_CONTEXT
*,
1324 HRESULT WINAPI
WsCloseChannel(WS_CHANNEL
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1325 HRESULT WINAPI
WsCloseServiceProxy(WS_SERVICE_PROXY
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1326 HRESULT WINAPI
WsCombineUrl(const WS_STRING
*, const WS_STRING
*, ULONG
, WS_HEAP
*, WS_STRING
*, WS_ERROR
*);
1327 HRESULT WINAPI
WsCopyNode(WS_XML_WRITER
*, WS_XML_READER
*, WS_ERROR
*);
1328 HRESULT WINAPI
WsCreateChannel(WS_CHANNEL_TYPE
, WS_CHANNEL_BINDING
, const WS_CHANNEL_PROPERTY
*,
1329 ULONG
, const WS_SECURITY_DESCRIPTION
*, WS_CHANNEL
**, WS_ERROR
*);
1330 HRESULT WINAPI
WsCreateError(const WS_ERROR_PROPERTY
*, ULONG
, WS_ERROR
**);
1331 HRESULT WINAPI
WsCreateHeap(SIZE_T
, SIZE_T
, const WS_HEAP_PROPERTY
*, ULONG
, WS_HEAP
**, WS_ERROR
*);
1332 HRESULT WINAPI
WsCreateMessage(WS_ENVELOPE_VERSION
, WS_ADDRESSING_VERSION
, const WS_MESSAGE_PROPERTY
*,
1333 ULONG
, WS_MESSAGE
**, WS_ERROR
*);
1334 HRESULT WINAPI
WsCreateMessageForChannel(WS_CHANNEL
*, const WS_MESSAGE_PROPERTY
*, ULONG
, WS_MESSAGE
**,
1336 HRESULT WINAPI
WsCreateReader(const WS_XML_READER_PROPERTY
*, ULONG
, WS_XML_READER
**, WS_ERROR
*);
1337 HRESULT WINAPI
WsCreateServiceProxy(const WS_CHANNEL_TYPE
, const WS_CHANNEL_BINDING
,
1338 const WS_SECURITY_DESCRIPTION
*, const WS_PROXY_PROPERTY
*,
1339 const ULONG
, const WS_CHANNEL_PROPERTY
*, const ULONG
,
1340 WS_SERVICE_PROXY
**, WS_ERROR
*);
1341 HRESULT WINAPI
WsCreateServiceProxyFromTemplate(WS_CHANNEL_TYPE
, const WS_PROXY_PROPERTY
*,
1342 const ULONG
, WS_BINDING_TEMPLATE_TYPE
,
1343 void*, ULONG
, const void*, ULONG
,
1344 WS_SERVICE_PROXY
**, WS_ERROR
*);
1345 HRESULT WINAPI
WsCreateWriter(const WS_XML_WRITER_PROPERTY
*, ULONG
, WS_XML_WRITER
**, WS_ERROR
*);
1346 HRESULT WINAPI
WsCreateXmlBuffer(WS_HEAP
*, const WS_XML_BUFFER_PROPERTY
*, ULONG
, WS_XML_BUFFER
**,
1348 HRESULT WINAPI
WsDateTimeToFileTime(const WS_DATETIME
*, FILETIME
*, WS_ERROR
*);
1349 HRESULT WINAPI
WsDecodeUrl(const WS_STRING
*, ULONG
, WS_HEAP
*, WS_URL
**, WS_ERROR
*);
1350 HRESULT WINAPI
WsEncodeUrl(const WS_URL
*, ULONG
, WS_HEAP
*, WS_STRING
*, WS_ERROR
*);
1351 HRESULT WINAPI
WsFileTimeToDateTime(const FILETIME
*, WS_DATETIME
*, WS_ERROR
*);
1352 HRESULT WINAPI
WsFillReader(WS_XML_READER
*, ULONG
, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1353 HRESULT WINAPI
WsFindAttribute(WS_XML_READER
*, const WS_XML_STRING
*, const WS_XML_STRING
*, BOOL
,
1355 void WINAPI
WsFreeChannel(WS_CHANNEL
*);
1356 void WINAPI
WsFreeError(WS_ERROR
*);
1357 void WINAPI
WsFreeHeap(WS_HEAP
*);
1358 void WINAPI
WsFreeMessage(WS_MESSAGE
*);
1359 void WINAPI
WsFreeReader(WS_XML_READER
*);
1360 void WINAPI
WsFreeServiceProxy(WS_SERVICE_PROXY
*);
1361 void WINAPI
WsFreeWriter(WS_XML_WRITER
*);
1362 HRESULT WINAPI
WsGetChannelProperty(WS_CHANNEL
*, WS_CHANNEL_PROPERTY_ID
, void*, ULONG
, WS_ERROR
*);
1363 HRESULT WINAPI
WsGetErrorProperty(WS_ERROR
*, WS_ERROR_PROPERTY_ID
, void*, ULONG
);
1364 HRESULT WINAPI
WsGetErrorString(WS_ERROR
*, ULONG
, WS_STRING
*);
1365 HRESULT WINAPI
WsGetHeapProperty(WS_HEAP
*, WS_HEAP_PROPERTY_ID
, void*, ULONG
, WS_ERROR
*);
1366 HRESULT WINAPI
WsGetMessageProperty(WS_MESSAGE
*, WS_MESSAGE_PROPERTY_ID
, void*, ULONG
, WS_ERROR
*);
1367 HRESULT WINAPI
WsGetNamespaceFromPrefix(WS_XML_READER
*, const WS_XML_STRING
*, BOOL
,
1368 const WS_XML_STRING
**, WS_ERROR
*);
1369 HRESULT WINAPI
WsGetPrefixFromNamespace(WS_XML_WRITER
*, const WS_XML_STRING
*, BOOL
,
1370 const WS_XML_STRING
**, WS_ERROR
*);
1371 HRESULT WINAPI
WsGetReaderNode(WS_XML_READER
*, const WS_XML_NODE
**, WS_ERROR
*);
1372 HRESULT WINAPI
WsGetReaderPosition(WS_XML_READER
*, WS_XML_NODE_POSITION
*, WS_ERROR
*);
1373 HRESULT WINAPI
WsGetReaderProperty(WS_XML_READER
*, WS_XML_READER_PROPERTY_ID
, void*, ULONG
, WS_ERROR
*);
1374 HRESULT WINAPI
WsGetServiceProxyProperty(WS_SERVICE_PROXY
*, const WS_PROXY_PROPERTY_ID
, void*,
1376 HRESULT WINAPI
WsGetWriterPosition(WS_XML_WRITER
*, WS_XML_NODE_POSITION
*, WS_ERROR
*);
1377 HRESULT WINAPI
WsGetWriterProperty(WS_XML_WRITER
*, WS_XML_WRITER_PROPERTY_ID
, void*, ULONG
, WS_ERROR
*);
1378 HRESULT WINAPI
WsGetXmlAttribute(WS_XML_READER
*, const WS_XML_STRING
*, WS_HEAP
*, WCHAR
**,
1380 HRESULT WINAPI
WsInitializeMessage(WS_MESSAGE
*, WS_MESSAGE_INITIALIZATION
, WS_MESSAGE
*, WS_ERROR
*);
1381 HRESULT WINAPI
WsMoveReader(WS_XML_READER
*, WS_MOVE_TO
, BOOL
*, WS_ERROR
*);
1382 HRESULT WINAPI
WsMoveWriter(WS_XML_WRITER
*, WS_MOVE_TO
, BOOL
*, WS_ERROR
*);
1383 HRESULT WINAPI
WsOpenChannel(WS_CHANNEL
*, const WS_ENDPOINT_ADDRESS
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1384 HRESULT WINAPI
WsOpenServiceProxy(WS_SERVICE_PROXY
*, const WS_ENDPOINT_ADDRESS
*, const WS_ASYNC_CONTEXT
*,
1386 HRESULT WINAPI
WsReadAttribute(WS_XML_READER
*, const WS_ATTRIBUTE_DESCRIPTION
*, WS_READ_OPTION
,
1387 WS_HEAP
*, void*, ULONG
, WS_ERROR
*);
1388 HRESULT WINAPI
WsReadElement(WS_XML_READER
*, const WS_ELEMENT_DESCRIPTION
*, WS_READ_OPTION
,
1389 WS_HEAP
*, void*, ULONG
, WS_ERROR
*);
1390 HRESULT WINAPI
WsReadEndAttribute(WS_XML_READER
*, WS_ERROR
*);
1391 HRESULT WINAPI
WsReadEndElement(WS_XML_READER
*, WS_ERROR
*);
1392 HRESULT WINAPI
WsReadNode(WS_XML_READER
*, WS_ERROR
*);
1393 HRESULT WINAPI
WsReadStartAttribute(WS_XML_READER
*, ULONG
, WS_ERROR
*);
1394 HRESULT WINAPI
WsReadStartElement(WS_XML_READER
*, WS_ERROR
*);
1395 HRESULT WINAPI
WsReadToStartElement(WS_XML_READER
*, const WS_XML_STRING
*, const WS_XML_STRING
*,
1397 HRESULT WINAPI
WsReadType(WS_XML_READER
*, WS_TYPE_MAPPING
, WS_TYPE
, const void*, WS_READ_OPTION
,
1398 WS_HEAP
*, void*, ULONG
, WS_ERROR
*);
1399 HRESULT WINAPI
WsReadValue(WS_XML_READER
*, WS_VALUE_TYPE
, void*, ULONG
, WS_ERROR
*);
1400 HRESULT WINAPI
WsReceiveMessage(WS_CHANNEL
*, WS_MESSAGE
*, const WS_MESSAGE_DESCRIPTION
**, ULONG
,
1401 WS_RECEIVE_OPTION
, WS_READ_OPTION
, WS_HEAP
*, void*, ULONG
, ULONG
*,
1402 const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1403 HRESULT WINAPI
WsRemoveNode(const WS_XML_NODE_POSITION
*, WS_ERROR
*);
1404 HRESULT WINAPI
WsResetError(WS_ERROR
*);
1405 HRESULT WINAPI
WsResetHeap(WS_HEAP
*, WS_ERROR
*);
1406 HRESULT WINAPI
WsRequestReply(WS_CHANNEL
*, WS_MESSAGE
*, const WS_MESSAGE_DESCRIPTION
*, WS_WRITE_OPTION
,
1407 const void*, ULONG
, WS_MESSAGE
*, const WS_MESSAGE_DESCRIPTION
*,
1408 WS_READ_OPTION
, WS_HEAP
*, void*, ULONG
, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1409 HRESULT WINAPI
WsSendMessage(WS_CHANNEL
*, WS_MESSAGE
*, const WS_MESSAGE_DESCRIPTION
*, WS_WRITE_OPTION
,
1410 const void*, ULONG
, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1411 HRESULT WINAPI
WsSendReplyMessage(WS_CHANNEL
*, WS_MESSAGE
*, const WS_MESSAGE_DESCRIPTION
*,
1412 WS_WRITE_OPTION
, const void*, ULONG
, WS_MESSAGE
*,
1413 const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1414 HRESULT WINAPI
WsSetChannelProperty(WS_CHANNEL
*, WS_CHANNEL_PROPERTY_ID
, const void*, ULONG
, WS_ERROR
*);
1415 HRESULT WINAPI
WsSetErrorProperty(WS_ERROR
*, WS_ERROR_PROPERTY_ID
, const void*, ULONG
);
1416 HRESULT WINAPI
WsSetInput(WS_XML_READER
*, const WS_XML_READER_ENCODING
*, const WS_XML_READER_INPUT
*,
1417 const WS_XML_READER_PROPERTY
*, ULONG
, WS_ERROR
*);
1418 HRESULT WINAPI
WsSetInputToBuffer(WS_XML_READER
*, WS_XML_BUFFER
*, const WS_XML_READER_PROPERTY
*,
1420 HRESULT WINAPI
WsSetMessageProperty(WS_MESSAGE
*, WS_MESSAGE_PROPERTY_ID
, const void*, ULONG
, WS_ERROR
*);
1421 HRESULT WINAPI
WsSetOutput(WS_XML_WRITER
*, const WS_XML_WRITER_ENCODING
*, const WS_XML_WRITER_OUTPUT
*,
1422 const WS_XML_WRITER_PROPERTY
*, ULONG
, WS_ERROR
*);
1423 HRESULT WINAPI
WsSetOutputToBuffer(WS_XML_WRITER
*, WS_XML_BUFFER
*, const WS_XML_WRITER_PROPERTY
*,
1425 HRESULT WINAPI
WsSetReaderPosition(WS_XML_READER
*, const WS_XML_NODE_POSITION
*, WS_ERROR
*);
1426 HRESULT WINAPI
WsSetWriterPosition(WS_XML_WRITER
*, const WS_XML_NODE_POSITION
*, WS_ERROR
*);
1427 HRESULT WINAPI
WsSkipNode(WS_XML_READER
*, WS_ERROR
*);
1428 HRESULT WINAPI
WsWriteAttribute(WS_XML_WRITER
*, const WS_ATTRIBUTE_DESCRIPTION
*, WS_WRITE_OPTION
,
1429 const void*, ULONG
, WS_ERROR
*);
1430 HRESULT WINAPI
WsWriteBody(WS_MESSAGE
*, const WS_ELEMENT_DESCRIPTION
*, WS_WRITE_OPTION
, const void*,
1432 HRESULT WINAPI
WsWriteElement(WS_XML_WRITER
*, const WS_ELEMENT_DESCRIPTION
*, WS_WRITE_OPTION
,
1433 const void*, ULONG
, WS_ERROR
*);
1434 HRESULT WINAPI
WsWriteEndAttribute(WS_XML_WRITER
*, WS_ERROR
*);
1435 HRESULT WINAPI
WsWriteEndCData(WS_XML_WRITER
*, WS_ERROR
*);
1436 HRESULT WINAPI
WsWriteEndElement(WS_XML_WRITER
*, WS_ERROR
*);
1437 HRESULT WINAPI
WsWriteEndStartElement(WS_XML_WRITER
*, WS_ERROR
*);
1438 HRESULT WINAPI
WsWriteEnvelopeEnd(WS_MESSAGE
*, WS_ERROR
*);
1439 HRESULT WINAPI
WsWriteEnvelopeStart(WS_MESSAGE
*, WS_XML_WRITER
*, WS_MESSAGE_DONE_CALLBACK
, void*, WS_ERROR
*);
1440 HRESULT WINAPI
WsWriteMessageStart(WS_CHANNEL
*, WS_MESSAGE
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1441 HRESULT WINAPI
WsWriteMessageEnd(WS_CHANNEL
*, WS_MESSAGE
*, const WS_ASYNC_CONTEXT
*, WS_ERROR
*);
1442 HRESULT WINAPI
WsWriteNode(WS_XML_WRITER
*, const WS_XML_NODE
*, WS_ERROR
*);
1443 HRESULT WINAPI
WsWriteStartAttribute(WS_XML_WRITER
*, const WS_XML_STRING
*, const WS_XML_STRING
*,
1444 const WS_XML_STRING
*, BOOL
, WS_ERROR
*);
1445 HRESULT WINAPI
WsWriteStartCData(WS_XML_WRITER
*, WS_ERROR
*);
1446 HRESULT WINAPI
WsWriteStartElement(WS_XML_WRITER
*, const WS_XML_STRING
*, const WS_XML_STRING
*,
1447 const WS_XML_STRING
*, WS_ERROR
*);
1448 HRESULT WINAPI
WsWriteText(WS_XML_WRITER
*, const WS_XML_TEXT
*, WS_ERROR
*);
1449 HRESULT WINAPI
WsWriteType(WS_XML_WRITER
*, WS_TYPE_MAPPING
, WS_TYPE
, const void*, WS_WRITE_OPTION
,
1450 const void*, ULONG
, WS_ERROR
*);
1451 HRESULT WINAPI
WsWriteValue(WS_XML_WRITER
*, WS_VALUE_TYPE
, const void*, ULONG
, WS_ERROR
*);
1452 HRESULT WINAPI
WsWriteXmlBuffer(WS_XML_WRITER
*, WS_XML_BUFFER
*, WS_ERROR
*);
1453 HRESULT WINAPI
WsWriteXmlBufferToBytes(WS_XML_WRITER
*, WS_XML_BUFFER
*, const WS_XML_WRITER_ENCODING
*,
1454 const WS_XML_WRITER_PROPERTY
*, ULONG
, WS_HEAP
*, void**,
1456 HRESULT WINAPI
WsWriteXmlnsAttribute(WS_XML_WRITER
*, const WS_XML_STRING
*, const WS_XML_STRING
*,
1458 HRESULT WINAPI
WsXmlStringEquals(const WS_XML_STRING
*, const WS_XML_STRING
*, WS_ERROR
*);
1460 #define WS_S_ASYNC 0x003d0000
1461 #define WS_S_END 0x003d0001
1462 #define WS_E_INVALID_FORMAT 0x803d0000
1463 #define WS_E_OBJECT_FAULTED 0x803d0001
1464 #define WS_E_NUMERIC_OVERFLOW 0x803d0002
1465 #define WS_E_INVALID_OPERATION 0x803d0003
1466 #define WS_E_OPERATION_ABORTED 0x803d0004
1467 #define WS_E_ENDPOINT_ACCESS_DENIED 0x803d0005
1468 #define WS_E_OPERATION_TIMED_OUT 0x803d0006
1469 #define WS_E_OPERATION_ABANDONED 0x803d0007
1470 #define WS_E_QUOTA_EXCEEDED 0x803d0008
1471 #define WS_E_NO_TRANSLATION_AVAILABLE 0x803d0009
1472 #define WS_E_SECURITY_VERIFICATION_FAILURE 0x803d000a
1473 #define WS_E_ADDRESS_IN_USE 0x803d000b
1474 #define WS_E_ADDRESS_NOT_AVAILABLE 0x803d000c
1475 #define WS_E_ENDPOINT_NOT_FOUND 0x803d000d
1476 #define WS_E_ENDPOINT_NOT_AVAILABLE 0x803d000e
1477 #define WS_E_ENDPOINT_FAILURE 0x803d000f
1478 #define WS_E_ENDPOINT_UNREACHABLE 0x803d0010
1479 #define WS_E_ENDPOINT_ACTION_NOT_SUPPORTED 0x803d0011
1480 #define WS_E_ENDPOINT_TOO_BUSY 0x803d0012
1481 #define WS_E_ENDPOINT_FAULT_RECEIVED 0x803d0013
1482 #define WS_E_ENDPOINT_DISCONNECTED 0x803d0014
1483 #define WS_E_PROXY_FAILURE 0x803d0015
1484 #define WS_E_PROXY_ACCESS_DENIED 0x803d0016
1485 #define WS_E_NOT_SUPPORTED 0x803d0017
1486 #define WS_E_PROXY_REQUIRES_BASIC_AUTH 0x803d0018
1487 #define WS_E_PROXY_REQUIRES_DIGEST_AUTH 0x803d0019
1488 #define WS_E_PROXY_REQUIRES_NTLM_AUTH 0x803d001a
1489 #define WS_E_PROXY_REQUIRES_NEGOTIATE_AUTH 0x803d001b
1490 #define WS_E_SERVER_REQUIRES_BASIC_AUTH 0x803d001c
1491 #define WS_E_SERVER_REQUIRES_DIGEST_AUTH 0x803d001d
1492 #define WS_E_SERVER_REQUIRES_NTLM_AUTH 0x803d001e
1493 #define WS_E_SERVER_REQUIRES_NEGOTIATE_AUTH 0x803d001f
1494 #define WS_E_INVALID_ENDPOINT_URL 0x803d0020
1495 #define WS_E_OTHER 0x803d0021
1496 #define WS_E_SECURITY_TOKEN_EXPIRED 0x803d0022
1497 #define WS_E_SECURITY_SYSTEM_FAILURE 0x803d0023
1501 #endif /* __cplusplus */
1503 #endif /* __WINE_WEBSERVICES_H */