Commit Graph

411 Commits

Author SHA1 Message Date
Zebediah Figura 48b581befd webservices: Stub WsAbortChannel().
Powerpoint 2016 calls this while loading some themes.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-17 10:28:40 +01:00
Hans Leidekker 6d2f4471ed webservices: Fix handling of namespace attributes in WsWriteNode.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-17 14:32:09 +02:00
Andrey Gusev 131397e784 webservices: Fix misplaced parenthesis.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-11 19:49:29 +02:00
Hans Leidekker c80c45127e webservices: Get rid of insert_string_cb.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-03 19:37:37 +02:00
Hans Leidekker 3076f5e3fb webservices: Always create a copy of strings to insert in the dictionary.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-03 19:37:34 +02:00
Hans Leidekker 0567952c70 webservices: Fix return value in read_type_text.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-03 19:37:32 +02:00
Hans Leidekker de139491f6 webservices: Set event handles to NULL on error.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-03 19:37:30 +02:00
Hans Leidekker a808821d72 webservices: Simplify get_field_size.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-03 19:37:26 +02:00
Hans Leidekker ca13227ebc webservices: Implement WS_REPEATING_ELEMENT_CHOICE_FIELD_MAPPING in the reader.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-21 12:12:39 +02:00
Hans Leidekker 04ae90993a webservices: Support more text types in is_empty_text_node.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-21 12:12:34 +02:00
Hans Leidekker 71121270ae webservices/tests: Add tests for asynchronous WsReceiveMessage.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-21 12:12:31 +02:00
Hans Leidekker 97ccfe2078 webservices: Add asynchronous support for WsReceiveMessage.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-21 12:12:26 +02:00
Hans Leidekker 049d8cfc7d webservices: Read the string table in all sized envelopes.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-21 12:12:21 +02:00
Hans Leidekker 9169053957 webservices: Use separate dictionaries for sending and receiving messages.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-21 12:12:18 +02:00
Hans Leidekker 98a3892412 webservices: Add traces.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-21 12:12:14 +02:00
Francois Gouget 73ef39fe63 webservices: Alloc_utf16_text() is unused, so remove it.
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-09-08 16:23:14 +02:00
Hans Leidekker 2946dc71aa webservices: Include a RelatesTo header in reply messages.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-06 17:31:01 +02:00
Hans Leidekker ab522ac59b webservices: Parse the MessageID header.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-06 17:31:01 +02:00
Hans Leidekker f9ae309767 webservices: Add support for multiple message descriptions in WsReceiveMessage.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-06 17:31:01 +02:00
Hans Leidekker e5704b4e1d webservices: Build a session dictionary for strings not present in the static dictionary.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-06 17:31:01 +02:00
Hans Leidekker 18a77c327e webservices: Also use the dictionary for writing UTF-8 text values.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-06 17:31:01 +02:00
Hans Leidekker 7b0a05c151 webservices: Add a mechanism to use the builtin static dictionary in the writer.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-06 17:31:01 +02:00
Hans Leidekker 7727e00178 webservices: Store the action header as WS_XML_STRING.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-06 17:31:01 +02:00
Hans Leidekker 1a28e34a91 webservices: Return HRESULT from insert_string.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-06 17:31:01 +02:00
Hans Leidekker 19f540dbcb webservices: Implement WsSendReplyMessage.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-06 17:31:01 +02:00
Hans Leidekker ffbddae542 webservices: Store headers in WsReadEnvelopeStart.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-06 17:31:00 +02:00
Hans Leidekker c51b41f905 webservices: Set cache control headers.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-25 13:58:49 +02:00
Hans Leidekker c94ccee16a webservices: Create a new HTTP request for each message.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-25 13:58:47 +02:00
Hans Leidekker 887af1b3bb webservices: Implement the Message Framing Protocol.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-20 16:27:05 +02:00
Hans Leidekker bb2344b711 webservices: Write Action and To headers unless the addressing version is WS_ADDRESSING_VERSION_TRANSPORT.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-20 16:27:05 +02:00
Hans Leidekker 0ea201cbf7 webservices: Set default channel envelope and addressing versions.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-20 16:27:05 +02:00
Hans Leidekker 82306e84f3 webservices: Add support for reading float values.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-20 16:27:05 +02:00
Sebastian Lackner f53b6bfde0 webservices: Remove dead code in read_attribute_value_bin.
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-07-12 19:51:53 +02:00
Hans Leidekker 35de20a8b3 webservices/tests: Add tests.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-12 19:51:53 +02:00
Hans Leidekker dbe2163d43 webservices: Add support for DATETIME records in the writer.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-12 19:51:53 +02:00
Hans Leidekker f40d88a0c7 webservices: Add support for UNIQUE_ID records in the writer.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-12 19:51:53 +02:00
Hans Leidekker b85e6800d0 webservices: Add support for GUID records in the writer.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-12 19:51:53 +02:00
Hans Leidekker 30abce8782 webservices: Add support for double records in the writer.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-12 19:51:53 +02:00
Hans Leidekker bfa4a6010b webservices: Add support for integer records in the writer.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-12 19:51:52 +02:00
Hans Leidekker a2eb6d6f7e webservices: Add support for BOOL records in the writer.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-12 19:12:44 +02:00
Hans Leidekker 11028500a7 webservices: Add support for byte records in the writer.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-12 19:08:30 +02:00
Hans Leidekker 7018ccd4bc webservices: Add support for 16-bit length text records in the writer.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-12 19:08:24 +02:00
Hans Leidekker f1f510d947 webservices: Handle all supported native text types in the reader type conversion.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-12 19:08:12 +02:00
Hans Leidekker 1ff81aa7f1 webservices/tests: Add tests.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-10 20:44:47 +02:00
Hans Leidekker 387061881c webservices: Store all text in native format in binary mode.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-10 20:44:47 +02:00
Hans Leidekker b9a464f76d webservices: Add support for setting the channel encoding.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-10 20:44:47 +02:00
Hans Leidekker ede77edb44 webservices: Add support for appending byte records in the reader.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-10 20:44:47 +02:00
Hans Leidekker c41e66fe01 webservices: Add support for union types in the reader.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-10 20:44:47 +02:00
Hans Leidekker c51ab4cd14 webservices: Add support for union types in the writer.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-10 20:44:47 +02:00
Hans Leidekker 95308f22d4 webservices: Store byte records as WS_XML_BASE64_TEXT.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-10 20:44:47 +02:00