Commit 3b7fd4ff authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

webservices: Add traces.

parent 26008a7b
......@@ -395,6 +395,11 @@ static HRESULT create_channel( WS_CHANNEL_TYPE type, WS_CHANNEL_BINDING binding,
for (i = 0; i < count; i++)
{
TRACE( "property id %u value ptr %p size %u\n", properties[i].id, properties[i].value,
properties[i].valueSize );
if (properties[i].valueSize == sizeof(ULONG) && properties[i].value)
TRACE( " value %08x\n", *(ULONG *)properties[i].value );
switch (properties[i].id)
{
case WS_CHANNEL_PROPERTY_ENCODING:
......@@ -623,6 +628,8 @@ static HRESULT open_channel( struct channel *channel, const WS_ENDPOINT_ADDRESS
return E_NOTIMPL;
}
TRACE( "endpoint %s\n", debugstr_wn(endpoint->url.chars, endpoint->url.length) );
if (!(channel->addr.url.chars = heap_alloc( endpoint->url.length * sizeof(WCHAR) ))) return E_OUTOFMEMORY;
memcpy( channel->addr.url.chars, endpoint->url.chars, endpoint->url.length * sizeof(WCHAR) );
channel->addr.url.length = endpoint->url.length;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment