Nikola Dudar Program Manager Microsoft Corporation PC01
ClientWeb Service Endpoint A A B B C C A A B B C C A A B B C C A A B B C C Service Proxy WSDL XSD Service Host Code Generator Code Generator
Your Application Code Network I/O Service Model Channel Layer XML Layer Errors Heap Async Context
Nikola Dudar Program Manager Windows Web Services API
Your Application Code Network I/O Service Model Channel Layer XML Layer Errors Heap Async Context
Nikola Dudar Program Manager Windows Web Services API
Nikola Dudar Program Manager Windows Web Services API
Your Application Code Network I/O Service Model Channel Layer XML Layer Errors Heap Async Context
struct PurchaseOrder { int id; }; 123
Nikola Dudar Program Manager Windows Web Services API
Your Application Code Network I/O Service Model Channel Layer XML Layer Errors Heap Async Context
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
WS_HEAP* heap; WsCreateHeap(INFINITE, 0, &heap, error); for (...) { Data* data; WsAlloc(heap, sizeof(Data), &data, error); WsAlloc(heap, sizeof(Data), &data, error); WsResetHeap(heap); } WsFreeHeap(heap); Frees all allocations
ULONG timeout = 1000; // 1 second WS_PROPERTY properties[1]; properties[0].id = WS_CHANNEL_PROPERTY_SEND_TIMEOUT; properties[0].value = &timeout; properties[0].size = sizeof(timeout); WsCreateChannel(WS_CHANNEL_TYPE_DUPLEX_SESSION, WS_CHANNEL_BINDING_TCP, &properties, 1, &securityDescription, &channel, error); WsSetChannelProperty(channel, WS_CHANNEL_PROPERTY_SEND_TIMEOUT, &timeout, sizeof(timeout), error);
WWSAPI
Please fill out your evaluation for this session at: This session will be available as a recording at:
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.