Commit Graph

71 Commits

Author SHA1 Message Date
Owen Rudge 74fe8303fb wsdapi/tests: Add test for Hello message Any body element.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-19 12:51:21 +02:00
Owen Rudge 86515b390e wsdapi: Create Body and Hello elements in Hello message.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-19 12:51:21 +02:00
Owen Rudge 1a7df56e56 wsdapi: Register default namespaces when creating publisher.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-19 12:51:21 +02:00
Owen Rudge 3cd8986e93 wsdapi: Ensure text node parent is NULL before calling WSDXMLAddChild.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-19 12:51:21 +02:00
Owen Rudge 21fe96a820 wsdapi: Add support for custom elements in SOAP header.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-10 11:14:49 +02:00
Owen Rudge ad97d5c182 wsdapi: Return HRESULT from add_child_element and create_soap_header_xml_elements.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-10 11:14:47 +02:00
Owen Rudge 9c7d128020 wsdapi/tests: Add test for Hello message Any header element.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-03 18:22:36 +02:00
Michael Stefaniuc aae4f1142f wsdapi: Remove redundant NULL checks before heap_free().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-02 12:28:12 +02:00
Michael Stefaniuc c15bbce2e5 wsdapi/tests: Remove redundant NULL checks before heap_free().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-02 12:28:12 +02:00
Owen Rudge dead047bdb wsdapi: Add SequenceId to SOAP header, add test.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-28 19:37:27 +02:00
Owen Rudge 5df08c9de4 wsdapi: Add InstanceId and MessageNumber to SOAP header.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-28 19:37:27 +02:00
Owen Rudge 14466ec6c2 wsdapi/tests: Add tests for EndpointReference, AppSequence, MetadataVersion in Hello message.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-28 19:37:27 +02:00
Owen Rudge feee5ad96d wsdapi: Add support for writing XML attributes.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-28 19:37:26 +02:00
Owen Rudge 402fce1579 wsdapi: Store discovered namespaces and write xmlns attributes for them.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-20 11:39:28 +01:00
Owen Rudge 45371b53f3 wsdapi: Implement generation of SOAP header.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-20 11:39:22 +01:00
Owen Rudge 151025809d wsdapi: Implement writing of XML elements.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-20 11:39:18 +01:00
Owen Rudge a2c733c057 wsdapi: Implement generation of XML from WSDXML structures.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-20 11:39:14 +01:00
Owen Rudge 42d6d92d0d wsdapi: Populate SOAP header structure.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-20 11:39:10 +01:00
Owen Rudge 09612dd54d wsdapi: Add support for sending messages via UDP multicast.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-20 11:39:03 +01:00
Owen Rudge 81e4dbcdac wsdapi: Add stub implementation of IWSDiscoveryPublisher_PublishEx.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-20 11:38:50 +01:00
Owen Rudge 597130d829 wsdapi: Add wsdapi_internal.h for shared internal function and macro definitions.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-20 11:38:25 +01:00
Owen Rudge 233d8244ae wsdapi/tests: Add test for Publish.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-22 14:16:33 +01:00
André Hentschel 748c7b8593 wsdapi/tests: Don't test function directly when reporting WSAGetLastError().
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-02 13:25:20 +01:00
André Hentschel 6762fe8551 wsdapi: Fix WSDXMLGetValueFromAny spec file entry.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-02 11:10:11 +01:00
Hans Leidekker 1f78cb8f4f wsdapi/tests: Register an exception with the firewall to avoid a dialog.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-13 15:52:27 +01:00
Nikolay Sivov b491635f0a wsdapi/tests: Use constants for test strings when possible.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-27 07:54:35 +02:00
Nikolay Sivov 3cb938fd4f wsdapi: Fix use-after-free when checking for unique prefix (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-27 07:54:33 +02:00
Francois Gouget 47c90af8d4 wsdapi: Remove WINAPI on static functions where not needed.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-06 18:49:38 +02:00
Owen Rudge 28c040c9b0 wsdapi/tests: Add tests for WSDXMLGetValueFromAny.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-03 19:34:25 +02:00
Owen Rudge 760190b524 wsdapi: Implement WSDXMLGetValueFromAny.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-03 19:34:25 +02:00
Owen Rudge db94c52719 wsdapi: Implement IWSDUdpAddress_Get/SetSockAddr.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-03 19:34:25 +02:00
Owen Rudge b724f0b2e3 wsdapi: Implement IWSDUdpAddress_Get/SetMessageType.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-03 19:34:24 +02:00
Owen Rudge 52ad4d0e66 wsdapi: Implement IWSDUdpAddress_Get/SetPort.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-03 19:34:24 +02:00
Owen Rudge d140cd504a wsdapi: Implement IWSDUdpAddress_GetTransportAddress[Ex].
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-03 19:34:24 +02:00
Owen Rudge 860deac1c7 wsdapi/tests: Add additional SetTransportAddress tests with port numbers.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-28 20:39:44 +02:00
Owen Rudge 4f1dca9db0 wsdapi: Implement IWSDUdpAddress_SetTransportAddress.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-28 19:27:43 +02:00
Owen Rudge 4373eb30a4 wsdapi: Implement Get/SetRetransmitParams.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-28 19:27:42 +02:00
Owen Rudge 7b3024a255 wsdapi: Implement Get/SetRemoteAddress.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-28 19:27:40 +02:00
Owen Rudge 9ce9d73414 wsdapi: Implement Get/SetLocalAddress.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-28 19:27:37 +02:00
Owen Rudge 098ffa244d wsdapi/tests: Add tests for Get/SetRetransmitParams.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-26 09:32:08 +02:00
Owen Rudge b0fc3197c5 wsdapi/tests: Add tests for Get/SetRemoteAddress.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-26 09:32:04 +02:00
Owen Rudge f21d3836a2 wsdapi/tests: Add tests for Get/SetLocalAddress.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-26 09:32:01 +02:00
Owen Rudge d0abe77273 wsdapi/tests: Add tests for CreateUdpMessageParameters.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-26 09:31:57 +02:00
Owen Rudge 240c703896 wsdapi: Add stub implementation of IWSDUdpMessageParameters and WSDCreateUdpMessageParameters.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-26 09:31:45 +02:00
Marcus Meissner f4e2a10973 wsdapi: Fixed memory leak in error path (Coverity).
Signed-off-by: Marcus Meissner <marcus@jet.franken.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-20 10:39:23 +02:00
Francois Gouget d65f7c79d8 wsdapi: Add a trailing '\n' to a TRACE() message.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-05 13:11:49 +02:00
Owen Rudge 5b57a6a52f wsdapi/tests: Add tests for Get/SetSockaddr.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-05 11:28:51 +02:00
Owen Rudge 5296883121 wsdapi/tests: Add tests for Get/SetMessageType.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-05 11:28:38 +02:00
Owen Rudge d0291c2726 wsdapi/tests: Add tests for Get/SetPort.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-05 11:28:32 +02:00
Owen Rudge a4ee1b2675 wsdapi/tests: Add tests for Get/SetTransportAddress.
Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-05 11:28:21 +02:00