Commit Graph

466 Commits

Author SHA1 Message Date
Hans Leidekker 24d39bc3c4 webservices: Add initial support for binary XML in the writer.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-23 16:28:21 +02:00
Hans Leidekker da030566e7 webservices: Implement WsSkipNode.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-23 16:28:18 +02:00
Owen Rudge acf6b4eeec webservices: Write empty prefix if "prefix" is NULL and "ns" is empty.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-19 09:58:03 +02:00
Hans Leidekker 87522d67cf webservices: Implement WS_XML_WRITER_PROPERTY_BUFFERS.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-15 11:12:18 +02:00
Hans Leidekker 3f20b66a54 webservices: Use a WS_BYTES structure to store XML buffer data.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-15 11:12:16 +02:00
Hans Leidekker eaf2cd11ae webservices: Fix duplicating attributes.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-15 11:12:14 +02:00
Hans Leidekker a1c9801dc6 webservices: Treat empty prefixes as NULL.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-15 11:12:12 +02:00
Hans Leidekker bae46fb214 webservices: Properly handle readers positioned at BOF or EOF in WsCopyNode.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-15 11:12:10 +02:00
Hans Leidekker b37f7e81d2 webservices: Move the reader to the next node in WsCopyNode.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-15 11:12:06 +02:00
Hans Leidekker 9f52fec0d8 webservices: Implement WsReadAttribute.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-10 09:15:27 -05:00
Hans Leidekker f541c82612 webservices: Don't trace output parameters in WsReadQualifiedName.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-10 09:15:20 -05:00
Hans Leidekker 350cf6654e webservices: Allow listeners to be cancelled.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-10 09:15:11 -05:00
Nikolay Sivov aaf4e75a62 webservices/tests: Enable WsInitializeMessage() tests (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-08 07:00:59 -05:00
Hans Leidekker ba014d9998 webservices: Implement WsWriteCharsUtf8.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-28 15:01:39 +02:00
Hans Leidekker 1e187771da webservices: Implement WsWriteChars.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-28 15:01:39 +02:00
Hans Leidekker 86738d095d webservices: Implement WsWriteBytes.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-28 15:01:39 +02:00
Hans Leidekker e61291479f webservices: Implement WsReadQualifiedName.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-28 15:01:39 +02:00
Hans Leidekker 992da70339 webservices: Implement WsWriteQualifiedName.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-28 15:01:38 +02:00
Hans Leidekker 40b5dc9541 webservices: Support appending text with multiple WsWriteText calls.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-28 15:01:38 +02:00
Hans Leidekker c305b21be3 webservices/tests: Add tests.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-25 12:18:18 +02:00
Hans Leidekker 804e9b6068 webservices: Implement WsWriteMessageEnd.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-25 12:18:15 +02:00
Hans Leidekker 6d4f83162a webservices: Implement WsWriteMessageStart.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-25 12:18:06 +02:00
Hans Leidekker 84dcb316b9 webservices: Implement WsReadMessageEnd.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-25 12:18:00 +02:00
Hans Leidekker ccdd9cb1ce webservices: Implement WsReadMessageStart.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-25 12:17:53 +02:00
Hans Leidekker e725d9e3c7 webservices/tests: Add tests.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-21 14:21:05 +02:00
Hans Leidekker 31b0d5fab8 webservices: Read message headers in read_envelope_start.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-21 14:21:03 +02:00
Hans Leidekker 0ab53b3f91 webservices: Add support for incoming UDP connections.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-21 14:21:01 +02:00
Hans Leidekker 17a3dd17ce webservices: Add support for incoming TCP connections.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-21 14:20:59 +02:00
Hans Leidekker e64d8f1b0b webservices: Add support for outgoing UDP connections.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-21 14:20:55 +02:00
Hans Leidekker a6318e25c8 webservices: Add support for outgoing TCP connections.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-21 13:59:01 +02:00
Hans Leidekker a3999d77ef webservices: Implement WsResetListener.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-20 11:25:00 +02:00
Hans Leidekker 9cacff8e07 webservices: Implement WsCreateChannelForListener.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-20 11:25:00 +02:00
Hans Leidekker 823aa24f85 webservices: Implement WsOpenListener and WsCloseListener.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-20 11:25:00 +02:00
Hans Leidekker 79be5ad469 webservices: Reuse the message read buffer.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-20 11:25:00 +02:00
Hans Leidekker 71cc41b932 webservices/tests: Add listener tests.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-05 16:40:23 +02:00
Hans Leidekker 92fdb3ffb5 webservices: Implement WsGetListenerProperty and WsSetListenerProperty.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-05 16:40:19 +02:00
Hans Leidekker 83a2c56fc0 webservices: Implement WsCreateListener and WsFreeListener.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-05 16:40:15 +02:00
Hans Leidekker 3c78421499 webservices: Implement WsResetServiceProxy.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-05 16:40:08 +02:00
Hans Leidekker e1e36be4b8 webservices: Keep track of service proxy state.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-05 16:40:04 +02:00
Hans Leidekker 29d4c50391 webservices: Implement WsResetChannel.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-05 16:40:02 +02:00
Hans Leidekker 6f3afc1a1c webservices: Implement WsResetMessage.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-29 17:17:14 +02:00
Hans Leidekker 4f1c7dc195 webservices: Don't allocate an XML buffer until it is needed.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-29 17:17:14 +02:00
Hans Leidekker 9716776326 webservices: Implement WS_CHANNEL_PROPERTY_CHANNEL_TYPE.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-29 17:17:14 +02:00
Hans Leidekker 7c94cf90ae webservices: Move heap support to a separate file.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-29 17:17:14 +02:00
Hans Leidekker 55e60aab5c webservices: Move error support to a separate file.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-29 17:17:13 +02:00
Hans Leidekker bdbab7b63a webservices: Use a table in get_header_name.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-29 17:17:13 +02:00
Hans Leidekker 5a88f52f3f webservices: No longer prefer native.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-29 17:17:13 +02:00
Sebastian Lackner 348fcb18af webservices: Fix uninitialized variable in WsWriteArray.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-09 10:18:02 +01:00
Sebastian Lackner b665b05166 webservices: Return the correct HRESULT on error.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-09 10:18:00 +01:00
Sebastian Lackner 0a3dbf0eb0 webservices: Don't set is_addressed when an error occurred.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-09 10:17:59 +01:00
Sebastian Lackner 3c6c6a3cae webservices: Unlock critical section before returning.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-09 10:17:57 +01:00
Hans Leidekker 36c5252265 webservices: Protect readers with a critical section.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-08 15:30:50 +01:00
Hans Leidekker dea8708079 webservices: Protect heaps with a critical section.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-08 15:30:49 +01:00
Hans Leidekker f261a830c4 webservices: Protect errors with a critical section.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-08 15:30:47 +01:00
Hans Leidekker bf589507cd webservices: Protect writers with a critical section.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-08 15:30:45 +01:00
Hans Leidekker fc30e2054c webservices: Protect proxies with a critical section.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-08 15:30:43 +01:00
Hans Leidekker 4cd4f7c4ca webservices: Protect channels with a critical section.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-08 15:30:41 +01:00
Hans Leidekker 2422fe8457 webservices: Protect messages with a critical section.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-08 15:30:39 +01:00
Hans Leidekker c6a392b984 webservices: Implement WS_HEAP_PROPERTY_REQUESTED_SIZE and WS_HEAP_PROPERTY_ACTUAL_SIZE.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-08 15:30:37 +01:00
Hans Leidekker 46315d8d27 webservices: Enforce the heap limit.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-22 16:44:49 +01:00
Francois Gouget 304bd8e203 webservices: Add __WINE_ALLOC_SIZE attributes to heap_xxx() functions.
And standardize their formatting and type names.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-22 12:01:50 +01:00
Hans Leidekker e231ee53b4 webservices/tests: Add an empty response message test.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-15 16:16:33 +01:00
Hans Leidekker 2c1ce1a025 webservices/tests: Add more tests for WsReadEnvelopeStart.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-15 16:16:31 +01:00
Hans Leidekker a0ea3bd741 webservices/tests: Add helpers to set various description structures.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-15 16:16:29 +01:00
Hans Leidekker aaab5410a1 webservices: Fix use of month as array index.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-15 16:16:27 +01:00
Hans Leidekker 35c09b52d9 webservices: Set and restore the full floating point control word.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-27 16:31:44 +01:00
Austin English 59112f2194 webservices: Allocate enough memory for WS_XML_TEXT_TYPE_DOUBLE on Valgrind.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-23 13:30:41 +01:00
Hans Leidekker 3b050d615d webservices/tests: Add a helper to print the contents of the output buffer.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-23 13:30:39 +01:00
Hans Leidekker e4288daa62 webservices: Add support for serializing array parameters in WsCall.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-17 10:22:49 -06:00
Hans Leidekker 0a23523313 webservices: Add support for repeating element field mappings in WsWriteType.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-17 10:22:46 -06:00
Hans Leidekker 43e213e24c webservices: Fix calculation of the end of a UTF-8 sequence.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-17 10:22:43 -06:00
Hans Leidekker 28f66b2a34 webservices/tests: Fix argument order in WsCreateMessage calls (Clang).
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-17 10:22:40 -06:00
Hans Leidekker f90f1f88a9 webservices/tests: Mark some test results as broken.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-17 10:22:37 -06:00
Hans Leidekker d91f985e22 webservices: Implement WsCall.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-25 13:40:05 +02:00
Hans Leidekker 5eb0971be8 webservices: Explicitly pass the offset to read_type_struct_field.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-25 13:40:03 +02:00
Hans Leidekker 02ee6bda54 webservices: Add a stub implementation of WS_TYPE_ATTRIBUTE_FIELD_MAPPING in the reader.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-25 13:40:01 +02:00
Hans Leidekker cbc5193e0e webservices: Implement WsReadChars.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-25 13:39:58 +02:00
Hans Leidekker ec30db2e01 webservices: Implement WsReadCharsUtf8.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-25 13:39:51 +02:00
Hans Leidekker 4951f5468c webservices: Implement WsReadBytes.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-25 13:39:38 +02:00
Hans Leidekker 459b7caeb2 webservices: Implement WS_STRUCT_IGNORE_TRAILING_ELEMENT_CONTENT.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-12 16:57:41 +02:00
Hans Leidekker 829b225546 webservices: Fix node insertion in the reader when the current node is an end element.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-12 16:57:36 +02:00
Hans Leidekker ad57c7c72a webservices: Determine field size from write options and type size.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-12 16:57:32 +02:00
Hans Leidekker b26b265561 webservices: WS_FIELD_OPTIONAL takes precedence over WS_FIELD_NILLABLE.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-12 16:57:28 +02:00
Hans Leidekker b2fe675791 webservices: Handle nil elements in the reader.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-12 16:57:22 +02:00
Hans Leidekker 9599479ed3 webservices/tests: Add more text type tests.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-12 16:57:19 +02:00
Hans Leidekker 6cd80610c8 webservices: Strip trailing zeros from time fraction.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-12 16:57:16 +02:00
Akihiro Sagawa b98293e405 webservices: Add support for decoding supplementary characters' references.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-10 21:11:24 +02:00
Akihiro Sagawa dd4c126e95 webservices: Add support for decoding decimal numeric character references.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-10 21:11:23 +02:00
Akihiro Sagawa 064edd2d8b webservices: Avoid decoding a nul character reference.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-10 21:11:21 +02:00
Marcus Meissner 9767b5ebcf webservices: Add error checking (Coverity).
Signed-off-by: Marcus Meissner <marcus@jet.franken.de>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-10 21:10:12 +02:00
Hans Leidekker c8a90e5de9 webservices: Add support for writing WS_BYTES values.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-04 14:51:52 +02:00
Hans Leidekker 8ce55bc98f webservices: Add support for reading WS_BYTES values.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-04 14:51:51 +02:00
Hans Leidekker 503d152bfb webservices: Add support for writing WS_DATETIME values.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-04 14:51:51 +02:00
Michael Stefaniuc 06072b447e webservices/tests: Use IsEqualGUID() to compare GUIDs.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-29 22:40:49 +09:00
Sebastian Lackner cece771b58 webservices: Correctly grow buffer size in receive_message.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-29 17:47:34 +09:00
Sebastian Lackner 9ef108ad6a webservices: Do not return uninitialized hr from write_headers_transport.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-29 17:47:32 +09:00
Hans Leidekker dc014df696 webservices: Implement WsReceiveMessage.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-28 23:17:46 +09:00
Hans Leidekker e9a2505276 webservices/tests: Add tests for WsSendMessage.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-28 23:17:46 +09:00
Hans Leidekker 1032b68568 webservices: Implement WsSendMessage.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-28 23:17:45 +09:00
Hans Leidekker efcf63cc71 webservices: Don't write an empty header element for messages that have an action.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-28 23:17:45 +09:00
Hans Leidekker c7b606ea9c webservices: Add support for WS_MESSAGE_PROPERTY_BODY_READER/WRITER in WsGetMessageProperty.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-28 23:17:45 +09:00
Hans Leidekker c8a1b56c47 webservices: Use public channel functions in the service proxy implementation.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-28 23:17:45 +09:00
Hans Leidekker e4fd90596d webservices: Fix corner cases in write option handling.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-28 23:17:45 +09:00
Hans Leidekker 517638695e webservices: Escape XML special characters where needed.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-28 23:17:45 +09:00
Hans Leidekker 2bc231e020 webservices/tests: Add another repeating element test.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-14 00:02:07 +09:00
Hans Leidekker 66899dd6db webservices: Add support for optional and nillable fields in the reader.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-14 00:02:07 +09:00
Hans Leidekker 9c6c813daa webservices: Implement WsWriteArray.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-14 00:02:06 +09:00
Huw Davies f65b5e354b webservices/tests: Initialise dictionary to NULL.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-07 00:34:24 +09:00
Sebastian Lackner 4358f7c39e webservices: Fix invalid memory access in remove_header.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-01 21:21:31 +09:00
Sebastian Lackner 0238d47031 webservices: Fix handling of duplicate headers in WsRemoveCustomHeader.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-01 21:21:31 +09:00
Sebastian Lackner 5f51b603fc webservices: Fix handling of duplicate headers in WsAddCustomHeader.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-01 21:21:30 +09:00
Hans Leidekker 23a64ca074 webservices: Implement WsReadBody.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-31 22:23:37 +09:00
Hans Leidekker 6b583f9350 webservices: Implement WsReadEnvelopeEnd.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-31 22:23:33 +09:00
Hans Leidekker a8c343552b webservices: Implement WsReadEnvelopeStart.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-31 22:23:29 +09:00
Hans Leidekker b9d751d542 webservices: Ignore unimplemented struct options in the reader.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-31 22:23:24 +09:00
Hans Leidekker 6f048bbf0d webservices: Add a stub implementation of WsAbortServiceProxy.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-31 22:23:22 +09:00
Hans Leidekker 1acc1b9ee4 webservices: Implement WsRemoveCustomHeader.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-31 22:23:18 +09:00
Hans Leidekker 147cd6b35b webservices: Implement WsAddCustomHeader.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-31 22:23:13 +09:00
Hans Leidekker f3d6591155 webservices: Store standard headers in an XML buffer.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-31 22:23:05 +09:00
Hans Leidekker 1687e1bfb8 webservices/tests: Add a test for WsWriteText.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-26 10:39:36 +09:00
Hans Leidekker 81d978902d webservices: Add support for optional and nillable fields in the writer.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-26 10:39:34 +09:00
Hans Leidekker e87c64f69c webservices: Allow structures to be passed by value in WsWriteType.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-26 10:39:33 +09:00
Hans Leidekker 06fb21c58a webservices: Ignore unimplemented struct options in the writer.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-26 10:39:31 +09:00
Hans Leidekker 864559db02 webservices: Add support for writing WS_STRING and WS_XML_STRING values.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-26 10:39:29 +09:00
Hans Leidekker 3950998778 webservices: Fix the condition to determine when to skip writing a namespace attribute.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-26 10:39:27 +09:00
Hans Leidekker 633828f832 webservices: Flush the writer first in WsWriteXmlBuffer.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-26 10:39:25 +09:00
Hans Leidekker 95dd6a8738 webservices: Implement WsRemoveMappedHeader.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-18 00:09:38 +09:00
Hans Leidekker ecd1fa8f0f webservices: Implement WsAddMappedHeader.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-18 00:09:38 +09:00
Hans Leidekker 41da198a6e webservices: Validate the handle in channel functions.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-18 00:09:38 +09:00
Hans Leidekker c06f2d4f5b webservices: Add support for writing GUID values.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-18 00:09:38 +09:00
Hans Leidekker 0f227b2244 webservices: Implement WS_ADDRESSING_VERSION_TRANSPORT.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-16 22:38:55 +09:00
Hans Leidekker ac42d70121 webservices: Add missing channel properties.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-16 22:38:53 +09:00
Hans Leidekker b2829c4b66 webservices: Implement WsRemoveHeader.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-16 22:38:50 +09:00
Hans Leidekker b89f7d9443 webservices: Support WS_STRING values in WsSetHeader.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-16 22:38:46 +09:00
Hans Leidekker 202bc2a77f webservices: Write the envelope in WsInitializeMessage.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-16 22:38:44 +09:00
Hans Leidekker 31d8d19890 webservices/tests: Add tests for WsSetHeader.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-10 22:24:40 +09:00
Hans Leidekker be24b74a5f webservices: Also write user supplied headers in WsWriteEnvelopeStart.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-10 22:24:36 +09:00
Hans Leidekker dff16756e9 webservices: Implement WsSetHeader.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-10 22:24:33 +09:00
Hans Leidekker 9c5b9399fc webservices/tests: Add some tests for WsSetWriterPosition.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-10 22:24:23 +09:00
Francois Gouget 5bc60d2342 webservices: A spelling fix for an ERR() message.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-08 18:41:53 +09:00
Hans Leidekker d3cc9d1ca6 webservices: Use a long double variable in format_double.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-14 17:52:34 +09:00
Nikolay Sivov 3d94c1ac4d webservices/tests: Fix WsReadValue type argument values (Clang).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-14 17:40:10 +09:00
Nikolay Sivov 5eff8517b2 webservices/tests: Fix WsCreateMessage() arguments (Clang).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-14 17:40:10 +09:00
Hans Leidekker 8cb6698762 webservices: Implement WsWriteBody.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-08 22:35:01 +09:00
Hans Leidekker 485c9722d9 webservices: Implement WsWriteEnvelopeEnd.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-08 22:35:01 +09:00
Hans Leidekker b72c6e6061 webservices: Implement WsWriteEnvelopeStart.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-08 22:35:01 +09:00
Hans Leidekker e36a185fd8 webservices: Implement WsAddressMessage.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-08 22:35:01 +09:00
Hans Leidekker d91a7d2e4b webservices: Implement WsInitializeMessage.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-08 22:35:00 +09:00
Hans Leidekker dc8033d371 webservices: Implement WsCreateMessageForChannel.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-08 22:35:00 +09:00
Hans Leidekker da5c332c92 webservices: Return the number of bytes written from WsWriteXmlBufferToBytes.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-08 22:35:00 +09:00
Hans Leidekker 04c52f1467 webservices: Allow integer values to be passed by pointer in WsWriteType.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-08 22:35:00 +09:00
Hans Leidekker d921526312 webservices: Inherit the prefix only if parent and child namespaces match.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-08 22:35:00 +09:00
Hans Leidekker df4046a370 webservices: Add support for writing double values.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-08 22:35:00 +09:00
Hans Leidekker b1930ee4b8 webservices: Support more text value types in the writer.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-04 23:07:50 +09:00
Hans Leidekker 46821e27ab webservices: Implement WsCopyNode.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-04 23:07:48 +09:00
Hans Leidekker e74502b837 webservices: Insert start/end element nodes at the same time in the reader.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-04 23:07:43 +09:00
Hans Leidekker 45824850a6 webservices: Add support for UTF-16 text values in the writer.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-04 23:07:41 +09:00
Hans Leidekker b17b7b430c webservices: Implement WsWriteNode.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-04 23:07:38 +09:00
Hans Leidekker f449b1324f webservices: Decode XML entities.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-04 23:07:33 +09:00
Hans Leidekker f01a209e2b webservices: Implement WsSetReaderPosition.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-04 23:07:31 +09:00
Hans Leidekker 5ad0066068 webservices: Implement WsGetReaderPosition.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-04 23:07:24 +09:00
Hans Leidekker 13faf34b07 webservices/tests: Add tests for WsWriteXmlBuffer.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-04 23:07:18 +09:00
Hans Leidekker 511c21d309 webservices: Implement WsSetWriterPosition.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-22 00:58:58 +09:00
Hans Leidekker 600e2e53c8 webservices: Implement WsGetWriterPosition.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-22 00:58:58 +09:00
Hans Leidekker 768197795d webservices: Implement WsMoveWriter.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-22 00:58:58 +09:00
Hans Leidekker 13ef81e4c0 webservices: Validate parent nodes in the writer.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-22 00:58:58 +09:00
Hans Leidekker b0077f06f0 webservices: Accept zero write option in WsWriteType.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-22 00:58:57 +09:00
Hans Leidekker 9a51526bd3 webservices: Insert a text node in WsWriteText.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-22 00:58:57 +09:00
Hans Leidekker d8c8b9a9bd webservices: Insert an end element for self-closing tags in the writer.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-22 00:58:57 +09:00
Hans Leidekker c97da062ff webservices/tests: Add message tests.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-15 17:11:54 +09:00
Hans Leidekker 6d87b2489d webservices: Implement WsGetMessageProperty and WsSetMessageProperty.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-15 17:11:54 +09:00
Hans Leidekker 33cebe51e1 webservices: Implement WsCreateMessage and WsFreeMessage.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-15 17:11:53 +09:00
Hans Leidekker dbbcd290fd webservices: Add support for reading GUID values.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-15 17:11:53 +09:00
Hans Leidekker acf64c4e68 webservices: Avoid writing redundant namespace attributes.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-15 17:11:53 +09:00
Nikolay Sivov 5310f9690f webservices: Added WsResetError().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-14 17:09:54 +09:00
Hans Leidekker 20686f47af webservices: Add support for encoded UTF-8 characters in WsDecodeUrl.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-01 22:14:25 +09:00
Hans Leidekker 57e69a6b48 webservices: Implement WsEncodeUrl.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-26 22:14:52 +09:00
Hans Leidekker 24bdad63e4 webservices: Implement WsDecodeUrl.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-26 22:14:52 +09:00
Hans Leidekker 177d8d781f webservices: Implement WsReadValue.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-18 21:18:34 +09:00
Hans Leidekker ec0cae49d2 webservices: Implement WsReadElement.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-18 21:18:34 +09:00
Hans Leidekker 524fa65734 webservices: Add support for reading double values.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-18 21:18:33 +09:00
Hans Leidekker ce91365b10 webservices/tests: Add tests.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-17 18:17:06 +09:00
Hans Leidekker dfc47061bd webservices: Add support for reading arrays of pointers.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-17 18:17:04 +09:00
Hans Leidekker 297dd85ca5 webservices: Reset the reader position if the next node doesn't match the type to read.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-17 18:17:02 +09:00
Hans Leidekker 7fb361d763 webservices: Validate parent nodes.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-17 18:16:59 +09:00
Hans Leidekker f4b3363790 webservices: Flush the writer in WsWriteText.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-17 18:16:57 +09:00
Nikolay Sivov 8b5a9051bf webservices: Actually use channel type in WsCreateServiceProxyFromTemplate() (Clang).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-16 21:16:11 +09:00
Hans Leidekker 49799912c5 webservices: Implement WsFileTimeToDateTime.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-01 11:56:06 +09:00
Hans Leidekker 2bcff80cda webservices: Implement WsDateTimeToFileTime.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-01 11:56:01 +09:00
Hans Leidekker 3268ceb573 webservices: Add support for reading date values.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-01 11:55:55 +09:00
Hans Leidekker 7ff383e5e2 webservices: Add a stub implementation of WsCall.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-01 11:55:51 +09:00
Hans Leidekker cdd2f163ca webservices/tests: Add service proxy tests.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-22 21:04:36 +09:00
Hans Leidekker bd56d1a0f1 webservices: Implement WsOpenServiceProxy and WsCloseServiceProxy.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-22 21:04:36 +09:00
Hans Leidekker be767562ae webservices: Implement WsOpenChannel and WsCloseChannel.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-22 21:04:36 +09:00
Hans Leidekker a04361f9bd webservices: Implement WsCreateServiceProxyFromTemplate.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-22 21:04:36 +09:00
Hans Leidekker 7c60c0169d webservices: Implement WsGetServiceProxyProperty.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-22 21:04:36 +09:00
Hans Leidekker b353271afa webservices: Implement WsCreateServiceProxy and WsFreeServiceProxy.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-22 21:04:36 +09:00
Hans Leidekker 767056dc3e webservices: Implement WsResetHeap.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-22 21:04:35 +09:00
Hans Leidekker 19fecc4f21 webservices: Add generic property handlers.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-22 21:04:35 +09:00
Nikolay Sivov 1ccc521697 webservices: Fix unsupported options detection (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-14 01:17:24 +09:00