Integration with XML Web Services FTP XML EDI Notes Neon HTTP TCP/IP BizTalk PeopleSoft SAP Internal App email X12-850 PO X12-997 PO MQSeries SMTP FAX Telephony CRM Client Marketplace Supplier Internet Extranet Intranet
XML 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
The .NET Framework provides a bi-directional mapping Web Services The .NET Framework provides a bi-directional mapping Application Concepts Web XML XSD WSDL SOAP Framework Objects Classes Methods Calls Data Schema Services Invocation
Web 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="urn:acme.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; <?xml version="1.0" encoding="utf-8"?> <soap:Envelope> <soap:Body> <SubmitOrder> <Order date=“20010703"> <shipTo>Manuel Costa</shipTo> <billTo>Bill Gates</billTo> <comment>Overnight delivery</comment> <items> <productId>17748933</productId> <description>Dom Perignon</description> </items> </Order> </SubmitOrder> </soap:Body> </soap:Envelope> Order order = new Order(); order.ShipTo = “Manuel Costa"; order.BillTo = “Bill Gates"; order.OrderDate = DateTime.Today; … OrderProcessor.SubmitOrder(order);
Demo Web Service
XML Web Services: “Anytime, Anywhere, on any Device” SOAP Web App SOAP HTTP HTML .NET Contacts .NET Inbox SOAP .NET Calendar Gateway Custom/ WAP
.NET Compact Framework .NET Framework for Embedded Devices
Standardizing .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/
How 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
.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
More Information … http://msdn.microsoft.com/net