Presentation is loading. Please wait.

Presentation is loading. Please wait.

Web Services (ASMX 2.0 and WSE 3.0) Mike Taulty Developer & Platform Group Microsoft Ltd

Similar presentations


Presentation on theme: "Web Services (ASMX 2.0 and WSE 3.0) Mike Taulty Developer & Platform Group Microsoft Ltd"— Presentation transcript:

1 Web Services (ASMX 2.0 and WSE 3.0) Mike Taulty Developer & Platform Group Microsoft Ltd mtaulty@microsoft.com http://mtaulty.com

2 Distributing Code Code More Code message MessageContract

3 Messaging with Web Services More Code SOAP XML Protocol HTTP Code SOAP XML WSDLContract XSDTypes

4 Messaging with Web Services More Code Protocol HTTP Code Representation XML Packaging SOAP Description WSDL + XSD

5 ASP.NET Web Services Declarative model – driven by.NET attributes.NET class methods exposed as web services Key attributes WebMethod, WebService Developer writes a.ASMX text file for a service which points to the class providing implementation Xml Serialization XML->Parameters->Return Values->XML SOAP, WSDL automatically produced Tools for generating web service proxy classes

6 ASMX Version 2.0 Evolutionary enhancements to the existing V1.1 version Interface based development WS-I Basic Profile compliance SOAP 1.2 support XML Serialization improvements Generics Custom serialization

7 Connected Applications Messaging XML Transports SecureReliableTransacted Metadata Management Business Process … Beyond Simple Messaging… DevicesMobile P2PEAIB2BGrid

8 Connected Applications Messaging XML Transports SecureReliableTransacted Metadata Management Business Process … How does ASP.NET Stack Up? DevicesMobile P2PEAIB2BGrid ASP.NET

9 Web Services Enhancements Addition to VS.NET 2003 and.NET Framework V1.1 Provides new messaging functionality; Addressing, Security, Policy Plugs into ASMX HTTP web services Obtaining… Download V2.0 Sp 3 from MSDN Download V2.0 Sp 3 from MSDN Support is as for.NET Framework 1.1

10 WSE 3.0 Addition to Visual Studio 2005 and.NET Framework V2.0 Evolutionary enhancements to V2.0 ASMX programming model over TCP Simplified security and policy MTOM support for optimising transmission of binary data Wire interoperability with “Indigo” Preview version available (June) Preview version available (June)

11 Connected Applications Messaging XML Transports SecureReliableTransacted Metadata Management Business Process … How does WSE 3.0 Stack Up? DevicesMobile P2PEAIB2BGrid WSE 3.0

12 Building services with ASMX 2.0 and WSE 3.0

13 Summary What have we just seen? ASMX V2.0 Interface based development in ASMX 2.0 Custom and generics serialization WS-I Basic Profile Compliance WSE V3.0 Transmission of binary data with MTOM Hosting of ASMX services over TCP Securing web services with WS-Security

14 Resources Web Services Urls http://msdn.microsoft.com/webservices http://msdn.microsoft.com/webservices/unders tanding/default.aspx http://msdn.microsoft.com/webservices/unders tanding/default.aspx http://msdn.microsoft.com/Longhorn/understan ding/pillars/Indigo/default.aspx http://msdn.microsoft.com/Longhorn/understan ding/pillars/Indigo/default.aspx http://www.microsoft.com/uk/msdn/events/nu ggets.aspx http://www.microsoft.com/uk/msdn/events/nu ggets.aspx

15 © 2004 Microsoft Limited. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

16 A managed API for building and running service- oriented applications Extends the.NET Framework 2.0 Ships in the “Longhorn timeframe” – 2006, preview available today preview available today preview available today Runs on Windows XP, Windows Server 2003 and Windows “Longhorn” “Indigo”

17 WS-*ProtocolsInterop with other platforms Attribute-BasedProgrammingMessage-OrientedProgramming Extensibility Location transparency Unifying today’s many stacks…

18 Whilst interoperating… Transports HTTP XML XML, XSD, XPath Messaging SOAP, WS-Addressing, WS-Eventing Security WS-Security WS-Trust WS-Federation Reliability WS-Reliable Messaging Transactions WS-Transactions WS-Coordination Metadata WSDL, WS-Policy, WS-Discovery

19 [ServiceContract(SecureChannel, SecurityMode =“Windows")] [Reliability(Guarantees.ExactlyOnce | Guarantees.InOrder)] [ServiceContract] class HelloService { [ServiceOperation(TransactionFlowAllowed = true)] [ServiceOperation(TransactionFlowAllowed = true)] String Hello(String Greeting) String Hello(String Greeting) { return Greeting; return Greeting; }} 1 line security 1 line reliable messaging reliable messaging 1 line transactions Total lines 3 And being productive… Secure, Reliable, Transacted Application Development …Using Visual Studio 2005 and Indigo

20 Connected Applications Messaging XML Transports SecureReliableTransacted Metadata Management Business Process … How Does “Indigo” Stack Up? DevicesMobile P2PEAIB2BGrid “Indigo”


Download ppt "Web Services (ASMX 2.0 and WSE 3.0) Mike Taulty Developer & Platform Group Microsoft Ltd"

Similar presentations


Ads by Google