Presentation is loading. Please wait.

Presentation is loading. Please wait.

 Nikola Dudar Program Manager Microsoft Corporation PC01.

Similar presentations


Presentation on theme: " Nikola Dudar Program Manager Microsoft Corporation PC01."— Presentation transcript:

1  Nikola Dudar Program Manager Microsoft Corporation nikola.dudar@microsoft.com PC01

2

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

5

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

8

9  Nikola Dudar Program Manager Windows Web Services API

10

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

13

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

17

18

19

20

21

22

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.

24

25

26

27

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

29

30

31

32

33

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);

35

36

37

38

39

40 WWSAPI

41

42

43

44 Please fill out your evaluation for this session at: This session will be available as a recording at: www.microsoftpdc.com

45

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.

47


Download ppt " Nikola Dudar Program Manager Microsoft Corporation PC01."

Similar presentations


Ads by Google