1 incorporating xml with mobile devices and asp.net casey chesnut brains-n-brawn.com 4/4/2005...
TRANSCRIPT
![Page 1: 1 Incorporating XML with Mobile Devices and ASP.NET casey chesnut brains-N-brawn.com 4/4/2005 Student Ambassadors](https://reader036.vdocument.in/reader036/viewer/2022081518/551b60e6550346d31b8b583c/html5/thumbnails/1.jpg)
1
Incorporating XML with Mobile Devices and ASP.NET
casey chesnutbrains-N-brawn.com4/4/2005
Student Ambassadors
![Page 2: 1 Incorporating XML with Mobile Devices and ASP.NET casey chesnut brains-N-brawn.com 4/4/2005 Student Ambassadors](https://reader036.vdocument.in/reader036/viewer/2022081518/551b60e6550346d31b8b583c/html5/thumbnails/2.jpg)
2
Sample Code
http://www.brains-N-brawn.com/artifacts/saXmlCfAsp.zip
![Page 3: 1 Incorporating XML with Mobile Devices and ASP.NET casey chesnut brains-N-brawn.com 4/4/2005 Student Ambassadors](https://reader036.vdocument.in/reader036/viewer/2022081518/551b60e6550346d31b8b583c/html5/thumbnails/3.jpg)
3
Outline
BasicsReal World Web ServicesAdvancedFuture
![Page 4: 1 Incorporating XML with Mobile Devices and ASP.NET casey chesnut brains-N-brawn.com 4/4/2005 Student Ambassadors](https://reader036.vdocument.in/reader036/viewer/2022081518/551b60e6550346d31b8b583c/html5/thumbnails/4.jpg)
4
XML Web Services
ASP.NETNOT Remoting
ASMX Web ServicesNOT Web Forms
![Page 5: 1 Incorporating XML with Mobile Devices and ASP.NET casey chesnut brains-N-brawn.com 4/4/2005 Student Ambassadors](https://reader036.vdocument.in/reader036/viewer/2022081518/551b60e6550346d31b8b583c/html5/thumbnails/5.jpg)
5
Core Standards
XML - document modelXSD - data types and structureSOAP - communicationWSDL - descriptionUDDI – discovery…
![Page 6: 1 Incorporating XML with Mobile Devices and ASP.NET casey chesnut brains-N-brawn.com 4/4/2005 Student Ambassadors](https://reader036.vdocument.in/reader036/viewer/2022081518/551b60e6550346d31b8b583c/html5/thumbnails/6.jpg)
6
ASP.NET Web Service
DemoCodeAutogenerated test pageAutogenerated WSDL
![Page 7: 1 Incorporating XML with Mobile Devices and ASP.NET casey chesnut brains-N-brawn.com 4/4/2005 Student Ambassadors](https://reader036.vdocument.in/reader036/viewer/2022081518/551b60e6550346d31b8b583c/html5/thumbnails/7.jpg)
7
Mobile Devices
.NET FrameworkNotebooksTablet PCs
.NET Compact Framework (CF)Pocket PCPocket PC Phone EditionSmartphones
.NET EmbeddedSPOT Watches
![Page 8: 1 Incorporating XML with Mobile Devices and ASP.NET casey chesnut brains-N-brawn.com 4/4/2005 Student Ambassadors](https://reader036.vdocument.in/reader036/viewer/2022081518/551b60e6550346d31b8b583c/html5/thumbnails/8.jpg)
8
Compact Framework Client
Demo
![Page 9: 1 Incorporating XML with Mobile Devices and ASP.NET casey chesnut brains-N-brawn.com 4/4/2005 Student Ambassadors](https://reader036.vdocument.in/reader036/viewer/2022081518/551b60e6550346d31b8b583c/html5/thumbnails/9.jpg)
9
Compact Framework Client
![Page 10: 1 Incorporating XML with Mobile Devices and ASP.NET casey chesnut brains-N-brawn.com 4/4/2005 Student Ambassadors](https://reader036.vdocument.in/reader036/viewer/2022081518/551b60e6550346d31b8b583c/html5/thumbnails/10.jpg)
10
Gotchas
Check for connectivityhttp://localhost URLs will not work
Use Machine Name or IP Address insteadInstall Loopback Adapter
When developing without internet connection
![Page 11: 1 Incorporating XML with Mobile Devices and ASP.NET casey chesnut brains-N-brawn.com 4/4/2005 Student Ambassadors](https://reader036.vdocument.in/reader036/viewer/2022081518/551b60e6550346d31b8b583c/html5/thumbnails/11.jpg)
11
User Experience
Cache dataDisplay the hourglassUse asynchronous calls
![Page 12: 1 Incorporating XML with Mobile Devices and ASP.NET casey chesnut brains-N-brawn.com 4/4/2005 Student Ambassadors](https://reader036.vdocument.in/reader036/viewer/2022081518/551b60e6550346d31b8b583c/html5/thumbnails/12.jpg)
12
Soap Document
<soap:Envelope ...> <soap:Header> <SecurityToken>1234</SecurityToken> </soap:Header> <soap:Body> <StockQuoteRequest ...> <symbols> <Symbol>FABRIKAM</Symbol> <Symbol>CONTOSO</Symbol> </symbols> </StockQuoteRequest> </soap:Body></soap:Envelope>
![Page 13: 1 Incorporating XML with Mobile Devices and ASP.NET casey chesnut brains-N-brawn.com 4/4/2005 Student Ambassadors](https://reader036.vdocument.in/reader036/viewer/2022081518/551b60e6550346d31b8b583c/html5/thumbnails/13.jpg)
13
Serialization Attributes
Used to shape object serialization[XmlRoot()][XmlElement()][XmlAttribute()][XmlText()]
![Page 14: 1 Incorporating XML with Mobile Devices and ASP.NET casey chesnut brains-N-brawn.com 4/4/2005 Student Ambassadors](https://reader036.vdocument.in/reader036/viewer/2022081518/551b60e6550346d31b8b583c/html5/thumbnails/14.jpg)
14
Soap Headers
Work with SoapHeaders as objectshttp://msdn.microsoft.com/library/default.asp
?url=/library/en-us/cpref/html/frlrfsystemwebservicesprotocolssoapheaderclasstopic.asp
![Page 15: 1 Incorporating XML with Mobile Devices and ASP.NET casey chesnut brains-N-brawn.com 4/4/2005 Student Ambassadors](https://reader036.vdocument.in/reader036/viewer/2022081518/551b60e6550346d31b8b583c/html5/thumbnails/15.jpg)
15
Soap Extensions
Work with the request / response Xml
![Page 16: 1 Incorporating XML with Mobile Devices and ASP.NET casey chesnut brains-N-brawn.com 4/4/2005 Student Ambassadors](https://reader036.vdocument.in/reader036/viewer/2022081518/551b60e6550346d31b8b583c/html5/thumbnails/16.jpg)
16
Soap Extension
![Page 17: 1 Incorporating XML with Mobile Devices and ASP.NET casey chesnut brains-N-brawn.com 4/4/2005 Student Ambassadors](https://reader036.vdocument.in/reader036/viewer/2022081518/551b60e6550346d31b8b583c/html5/thumbnails/17.jpg)
17
Real World Web Services
Google APIMapPoint Web ServiceTerraServerMicrosoft.comAmazoneBay / PayPalFedEx
![Page 18: 1 Incorporating XML with Mobile Devices and ASP.NET casey chesnut brains-N-brawn.com 4/4/2005 Student Ambassadors](https://reader036.vdocument.in/reader036/viewer/2022081518/551b60e6550346d31b8b583c/html5/thumbnails/18.jpg)
18
MapPoint
Demo
![Page 19: 1 Incorporating XML with Mobile Devices and ASP.NET casey chesnut brains-N-brawn.com 4/4/2005 Student Ambassadors](https://reader036.vdocument.in/reader036/viewer/2022081518/551b60e6550346d31b8b583c/html5/thumbnails/19.jpg)
19
Advanced Web Services
WSEWS-*Hosting Web Services
![Page 20: 1 Incorporating XML with Mobile Devices and ASP.NET casey chesnut brains-N-brawn.com 4/4/2005 Student Ambassadors](https://reader036.vdocument.in/reader036/viewer/2022081518/551b60e6550346d31b8b583c/html5/thumbnails/20.jpg)
20
WSE
Web Service EnhancementsWS-AddressingWS-SecurityWS-SecureConversationWS-Attachments
WSE for CFhttp://www.OpenNETCF.orghttp://www.brains-N-brawn.com/cfWSE2/
![Page 21: 1 Incorporating XML with Mobile Devices and ASP.NET casey chesnut brains-N-brawn.com 4/4/2005 Student Ambassadors](https://reader036.vdocument.in/reader036/viewer/2022081518/551b60e6550346d31b8b583c/html5/thumbnails/21.jpg)
21
WSE for CF
Sample WS-Security requests
![Page 22: 1 Incorporating XML with Mobile Devices and ASP.NET casey chesnut brains-N-brawn.com 4/4/2005 Student Ambassadors](https://reader036.vdocument.in/reader036/viewer/2022081518/551b60e6550346d31b8b583c/html5/thumbnails/22.jpg)
22
Hosting Web Services
Monash University Mobile Web Serverhttp://msdn.microsoft.com/library/
default.asp?url=/library/en-us/dnnetcomp/html/netcfma.asp
![Page 23: 1 Incorporating XML with Mobile Devices and ASP.NET casey chesnut brains-N-brawn.com 4/4/2005 Student Ambassadors](https://reader036.vdocument.in/reader036/viewer/2022081518/551b60e6550346d31b8b583c/html5/thumbnails/23.jpg)
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 …
![Page 24: 1 Incorporating XML with Mobile Devices and ASP.NET casey chesnut brains-N-brawn.com 4/4/2005 Student Ambassadors](https://reader036.vdocument.in/reader036/viewer/2022081518/551b60e6550346d31b8b583c/html5/thumbnails/24.jpg)
24
Future
Compact Framework v2Visual Studio 2005
IndigoASMX Replacement
Devices ProfileWS-DiscoveryUPnP 2.0 devices