Download presentation
Presentation is loading. Please wait.
Published byGarry Palmer Modified over 9 years ago
1
Nikola Dudar Program Manager Microsoft Corporation nikola.dudar@microsoft.com PC01
3
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
4
Your Application Code Network I/O Service Model Channel Layer XML Layer Errors Heap Async Context
6
Nikola Dudar Program Manager Windows Web Services API
7
Your Application Code Network I/O Service Model Channel Layer XML Layer Errors Heap Async Context
9
Nikola Dudar Program Manager Windows Web Services API
11
Nikola Dudar Program Manager Windows Web Services API
12
Your Application Code Network I/O Service Model Channel Layer XML Layer Errors Heap Async Context
14
struct PurchaseOrder { int id; }; 123
15
Nikola Dudar Program Manager Windows Web Services API
16
Your Application Code Network I/O Service Model Channel Layer XML Layer Errors Heap Async Context
23
© 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.
28
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
34
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);
40
WWSAPI
44
Please fill out your evaluation for this session at: This session will be available as a recording at: www.microsoftpdc.com
46
© 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.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.