Download presentation
Presentation is loading. Please wait.
1
Integration with XML Web Services
FTP XML EDI Notes Neon HTTP TCP/IP BizTalk PeopleSoft SAP Internal App X PO X PO MQSeries SMTP FAX Telephony CRM Client Marketplace Supplier Internet Extranet Intranet
2
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
3
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
4
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=“ "> <shipTo>Manuel Costa</shipTo> <billTo>Bill Gates</billTo> <comment>Overnight delivery</comment> <items> <productId> </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);
5
Demo Web Service
6
XML Web Services: “Anytime, Anywhere, on any Device”
SOAP Web App SOAP HTTP HTML .NET Contacts .NET Inbox SOAP .NET Calendar Gateway Custom/ WAP
7
.NET Compact Framework .NET Framework for Embedded Devices
8
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
9
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
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
11
More Information …
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.