Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Incorporating XML with Mobile Devices and ASP.NET casey chesnut brains-N-brawn.com 4/4/2005 Student Ambassadors.

Similar presentations


Presentation on theme: "1 Incorporating XML with Mobile Devices and ASP.NET casey chesnut brains-N-brawn.com 4/4/2005 Student Ambassadors."— Presentation transcript:

1 1 Incorporating XML with Mobile Devices and ASP.NET casey chesnut brains-N-brawn.com 4/4/2005 Student Ambassadors

2 2 Sample Code http://www.brains-N- brawn.com/artifacts/saXmlCfAsp.zip

3 3 Outline Basics Real World Web Services Advanced Future

4 4 XML Web Services ASP.NET NOT Remoting ASMX Web Services NOT Web Forms

5 5 Core Standards XML - document model XSD - data types and structure SOAP - communication WSDL - description UDDI – discovery …

6 6 ASP.NET Web Service Demo Code Autogenerated test page Autogenerated WSDL

7 7 Mobile Devices.NET Framework Notebooks Tablet PCs.NET Compact Framework (CF) Pocket PC Pocket PC Phone Edition Smartphones.NET Embedded SPOT Watches

8 8 Compact Framework Client Demo

9 9 Compact Framework Client

10 10 Gotchas Check for connectivity http://localhost URLs will not work Use Machine Name or IP Address instead Install Loopback Adapter When developing without internet connection

11 11 User Experience Cache data Display the hourglass Use asynchronous calls

12 12 Soap Document 1234 FABRIKAM CONTOSO

13 13 Serialization Attributes Used to shape object serialization [XmlRoot()] [XmlElement()] [XmlAttribute()] [XmlText()]

14 14 Soap Headers Work with SoapHeaders as objects http://msdn.microsoft.com/library/default.asp ?url=/library/en- us/cpref/html/frlrfsystemwebservicesprotoco lssoapheaderclasstopic.asp http://msdn.microsoft.com/library/default.asp ?url=/library/en- us/cpref/html/frlrfsystemwebservicesprotoco lssoapheaderclasstopic.asp

15 15 Soap Extensions Work with the request / response Xml

16 16 Soap Extension

17 17 Real World Web Services Google API MapPoint Web Service TerraServer Microsoft.com Amazon eBay / PayPal FedEx

18 18 MapPoint Demo

19 19 Advanced Web Services WSE WS-* Hosting Web Services

20 20 WSE Web Service Enhancements WS-Addressing WS-Security WS-SecureConversation WS-Attachments WSE for CF http://www.OpenNETCF.org http://www.brains-N-brawn.com/cfWSE2/

21 21 WSE for CF Sample WS-Security requests

22 22 Hosting Web Services Monash University Mobile Web Server http://msdn.microsoft.com/library/default.asp ?url=/library/en- us/dnnetcomp/html/netcfma.asp

23 23 WS-* WS-ReliableMessaging http://www.brains-N-brawn.com/cfReliable/ WS-Eventing http://www.brains-N-brawn.com/cfEvent/ WS-AtomicTransaction, WS-Coordination, WS-BusinessActivity WS-Federation, WS-Privacy, WS- Authorization BPEL4WS …

24 24 Future Compact Framework v2 Visual Studio 2005 Indigo ASMX Replacement Devices Profile WS-Discovery UPnP 2.0 devices

25 25 Questions casey@brains-N-brawn.com


Download ppt "1 Incorporating XML with Mobile Devices and ASP.NET casey chesnut brains-N-brawn.com 4/4/2005 Student Ambassadors."

Similar presentations


Ads by Google