Commit Graph

209 Commits

Author SHA1 Message Date
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