Title: Integration with XML Web Services
1Integration with XML Web Services
2XML Web Services Protocol Stack
Internet Protocols
Directory of services UDDI
Service discovery DISCO
Service descriptions WSDL
Service interactions SOAP
Universal type system XSD
Universal data format XML
Ubiquitous communication Internet
3Web Services
Application Concepts
Data
Schema
Services
Invocation
4Web Services with .NET
public class OrderProcessor public void
SubmitOrder(PurchaseOrder order) ... public
class PurchaseOrder public string ShipTo
public string BillTo public string Comment
public Item Items public DateTime
OrderDate
public class OrderProcessor WebMethod
public void SubmitOrder(PurchaseOrder order)
... XmlRoot("Order", Namespace"urnacme.b2b
-schema.v1") public class PurchaseOrder
XmlElement("shipTo") public string ShipTo
XmlElement("billTo") public string BillTo
XmlElement("comment") public string Comment
XmlElement("items") public Item Items
XmlAttribute("date") public DateTime
OrderDate
lt?xml version"1.0" encoding"utf-8"?gt ltsoapEnvel
opegt ltsoapBodygt ltSubmitOrdergt ltOrder
date20010703"gt ltshipTogtManuel
Costalt/shipTogt ltbillTogtBill
Gateslt/billTogt ltcommentgtOvernight
deliverylt/commentgt ltitemsgt
ltproductIdgt17748933lt/productIdgt
ltdescriptiongtDom Perignonlt/descriptiongt
lt/itemsgt lt/Ordergt lt/SubmitOrdergt
lt/soapBodygt lt/soapEnvelopegt
Order order new Order() order.ShipTo Manuel
Costa" order.BillTo Bill Gates" order.OrderDa
te DateTime.Today OrderProcessor.SubmitOrder(
order)
5Demo
6XML Web Services Anytime, Anywhere, on any
Device
SOAP
Web App
SOAP
HTTP HTML
SOAP
Gateway
Custom/ WAP
7.NET Compact Framework
- .NET Framework for Embedded Devices
8Standardizing .NET
- CLI and C standardized by ECMA
- Submission with Intel and Hewlett-Packard
- On December 13, 2001, the ECMA General Assembly
ratified the C and common language
infrastructure (CLI) specifications into
international standards. - Some companies are implementing the ECMA specs,
e.g. Ximian and Project Mono (.NET on Linux) - Microsoft will provide a shared-source
implementation on FreeBSD and Windows - http//msdn.microsoft.com/net/ecma/
9How to try the .NET platform?
- .NET Framework SDK (essential)
- CLR, command line compilers, debuggers, class
libraries, documentation, - Free Download
- Size 100 MB
- Tool Developers Guide
- Specs IL, Metadata, Debugging, Security, etc
- Source code CLisp, Simple C, debugger, profiler,
- Visual Studio .NET (optional)
- IDE (Integrated Development Environment)
- Size 1.5 GB
10.NET in Summary
- The Microsoft software development platform for
the next decade - Based on standards, across languages, across
devices - Based on the ideia of ubiquitous XML Web Services
11More Information
- http//msdn.microsoft.com/net
12(No Transcript)