10 – 12 APRIL 2005 Riyadh, Saudi Arabia. Visual Studio 2005 : New Features for the Web Services Developer Malek Kemmou CEO Arrabeta Consulting Microsoft.

Slides:



Advertisements
Similar presentations
Best Practices in Web Service Style, Data Binding and Validation (for use in Data-Centric Applications) David Meredith, Asif Akram, Rob Allan CCLRC Daresbury.
Advertisements

Service Description: WSDL COMP6017 Topics on Web Services Dr Nicholas Gibbins –
Intesar G Ali IT DepartmentPalestinian Land Authority Web services Prepared by: Intesar Ali IT Department PLA August 2010.
31242/32549 Advanced Internet Programming Advanced Java Programming
Web Service Ahmed Gamal Ahmed Nile University Bioinformatics Group
Web Services Seminar: Service Description Languages
Web Services Darshan R. Kapadia Gregor von Laszewski 1http://grid.rit.edu.
Realisation of SOA using Web Services Adomas Svirskas Vilnius University December 2005.
SOAP Quang Vinh Pham Simon De Baets Université Libre de Bruxelles1.
Building and Using Web Services with ASP.NET Rob Howard Program Manager.NET Framework Team Microsoft Corp.
Snejina Lazarova Senior QA Engineer, Team Lead CRMTeam Dimo Mitev Senior QA Engineer, Team Lead SystemIntegrationTeam Telerik QA Academy SOAP-based Web.
Zoiner Tejada Hershey Technologies. About Zoiner Tejada.
G O B E Y O N D C O N V E N T I O N WORF: Developing DB2 UDB based Web Services on a Websphere Application Server Kris Van Thillo, ABIS Training & Consulting.
1 An Introduction to Web Services. 2 Outline What is a Web service Background Standards –XML & XML Namespaces, XML Schema,WSDL, SOAP Tools & APIs –DOM/SAX,JAX-RPC/JAX-M.
Apache Axis: A Set of Java Tools for SOAP Web Services.
Web Services (ASMX 2.0 and WSE 3.0) Mike Taulty Developer & Platform Group Microsoft Ltd
Jon Flanders INT303. About Me  Jon Flanders –  Independent consultant/trainer  BizTalk MVP.
Web Services Michael Smith Alex Feldman. What is a Web Service? A Web service is a message-oriented software system designed to support inter-operable.
Rob Williams Program Manager Microsoft Corporation.
Getting Started with WCF Windows Communication Foundation 4.0 Development Chapter 1.
XML Web Services in Visual Studio.NET Peter Ty Developer Evangelist.NET and Developer Group.
SSC2: Web Services. Web Services Web Services offer interoperability using the web Web Services provide information on the operations they can perform.
T Network Application Frameworks and XML Web Services and WSDL Sasu Tarkoma Based on slides by Pekka Nikander.
Grid Computing, B. Wilkinson, 20043b.1 Web Services Part II.
Module 14: WCF Send Adapters. Overview Lesson 1: Introduction to WCF Send Adapters Lesson 2: Consuming a Web Service Lesson 3: Consuming Services from.
Microsoft Visual Studio 2010 Muhammad Zubair MS (FAST-NU) Experience: 5+ Years Contact:- Cell#:
James Holladay, Mario Sweeney, Vu Tran. Web Services Presentation Web Services Theory James Holladay Tools – Visual Studio Vu Tran Tools – Net Beans Mario.
Microsoft Visual Studio 2010 Muhammad Zubair MS (FAST-NU) Experience: 5+ Years Contact:- Cell#:
11 Web Services. 22 Objectives You will be able to Say what a web service is. Write and deploy a simple web service. Test a simple web service. Write.
Copyright © 2004 by The Web Services Interoperability Organization (WS-I). All Rights Reserved 1 Interoperability: Ensuring the Success of Web Services.
Dynamics AX TAP Knowledge Transfer Wave 2. Application Integration Framework (AIF) Overview Dean WiermanSøren Vagn Andersen Lead Program ManagerProgram.
Visual Studio 2008 and.NET 3.5 provide seamless support for all of the protocols and techniques popular in Web 2.0-style applications. Visual Studio.
WEB390 Ouch! Common XML Web services headaches (and possible solutions) Christian Weyer Microsoft MSDN Regional Director
XML Web Services Architecture Siddharth Ruchandani CS 6362 – SW Architecture & Design Summer /11/05.
Alcatel-Lucent CDC Workshop, Coaching & Knowledge Transfer Architecture.
Web 310 XML Schema : What You Need to Know and Why Yasser Shohoud Program Manager XML Messaging Microsoft Corporation.
Microsoft Dynamics NAV 2009 Building Web Services.
Web Services. ASP.NET Web Services  Goals of ASP.NET Web services:  To enable cross-platform, cross- business computing  Great for “service” based.
Shannon Hastings Multiscale Computing Laboratory Department of Biomedical Informatics.
1 Geospatial and Business Intelligence Jean-Sébastien Turcotte Executive VP San Francisco - April 2007 Streamlining web mapping applications.
Developing Web Services Using ASP.NET and WSE That Interoperate with the Windows Communications Foundation ("Indigo") Mark Fussell COM432 Lead Program.
.NET Enterprise Services COM+ 1.5 麥超俊 Bobby Mak 架構技術推廣經理開發工具暨平台推廣處台灣微軟股份有限公司.
By: PHANIDEEP NARRA. OVERVIEW Definition Motivation.NET and J2EE Architectures Interoperability Problems Interoperability Technologies Conclusion and.
Microsoft Dynamics NAV 2009 and Architecture Overview Name Title Microsoft Corporation.
Copyright 2007 SpringSource. Copying, publishing or distributing without express written permission is prohibited. Introduction to Spring Remoting Simplifying.
SCA Bindings Simon Holdsworth Piotr Przybylski. Agenda n SCA Bindings Overview l Bindings TC Charter n Bindings l Web Services Binding l JMS Binding l.
WEB402 Cross-Platform Interoperability Yasser Shohoud Program Manager XML Messaging Team Microsoft Corporation.
INT-9: Implementing ESB Processes with OpenEdge ® and Sonic ™ David Cleary Principal Software Engineer.
Web Services Error Handling and Debugging. Agenda Simple SOAP faults Advanced SOAP faults SOAP headers and faults Error handling From a Service Perspective.
Kemal Baykal Rasim Ismayilov
ASP.NET Web Services.  A unit of managed code installed under IIS that can be remotely invoked using HTTP.
EBIZ302 Jupiter Business Process Automation and Web Services David Fong Program Manager.
DEV332 Programming for the Middle Tier in Visual Basic.NET Billy Hollis Author / Consultant.
.NET Mobile Application Development XML Web Services.
Web Service Definition Language. Web Services: WSDL2 Web Service Definition Language ( WSDL ) What is a web service? [ F. Leymann 2003 ] A piece of code.
Christian Weyer thinktecture.
Introduction to.NET FX 3.0 (+ sneak preview of.NET FX 3.5) Martin Parry Developer & Platform Group Microsoft Ltd
1 G52IWS: Web Services Description Language (WSDL) Chris Greenhalgh
Introduction to Web Services Srinath Vasireddy Support Professional Developer Support Microsoft Corporation.
BizTalk Damir Dobric Lead Architect. Agenda Microsoft BizTalk RFID Overview Architecture Application models Implementing Event Handlers Sensors.
Web Services On Devices: Rally Implementation
Sabri Kızanlık Ural Emekçi
T Network Application Frameworks and XML Web Services and WSDL Sasu Tarkoma Based on slides by Pekka Nikander.
ASP.NET Web Forms and Web Services
Building real-time web apps with WebSockets using IIS, ASP.NET and WCF
Inventory of Distributed Computing Concepts and Web services
The future of distributed systems architecture
API DOCUMENTATION Swetha Mohandas Microsoft Connect 2016
InterOp Technical Notes
Enterprise Web Services
Presentation transcript:

10 – 12 APRIL 2005 Riyadh, Saudi Arabia

Visual Studio 2005 : New Features for the Web Services Developer Malek Kemmou CEO Arrabeta Consulting Microsoft Regional Director for Middle East & Africa

Agenda Why do we use Web Services ? Better Interop Basic Profile 1.1 Nillable Types support Code Driven vs. Contract Driven Visual Studio 2005 new features Interfaces Serialization Event Based Asynchronous Calls Team System Wsdl import Team System EndPoint Design

Why do we use Web Services Today ? Interoperability: Standard based, strong multi-vendor support Loose coupling: Share schema, not class Self describing, discovery Self containing (no state) ? Service Orientation

Service Service Client RPC vs. Message Approach Both source and destination must understand the object Obj Transport Serialize Deserialize Client Create Message Transport Interpret Message Source and destination may see message differently

Interoperability issues today All vendors support Web Services but: RPC vs Document, Encoded vs Literal Developer uses OOP, tools handle serialization Nillable types issues Array serialization takes different forms WSDL or SOAP interpretation differences Usually solved by crafting non ambiguous and interoperable WSDL

Basic Profile 1.1 Defined by WS-I (Web Services Interoperability organization) Backed by all vendors Defines a subset of HTTP, SOAP and WSDL that “guarantees” interoperability As long as both sides are conformant Basic Profile conformance = better interop

Basic Profile Conformance By Default, Web Services generated by VS2005 are conformant Conformance Claims through attributes Upgrading current Web Services VS2005 will issue warnings if the service is not conformant On the client, VS issues warnings if WSDL is not conformant

Demo Building BP conformant Web Services

Nillable Types Example: J2EE developer writes method public java.util.Date getServerDate(); Method exposed by a web service. Return type converts to : How do you consume it on a.Net Client ?

Nillable Value types Nillable value types through generics Nullable Generates “nillable=true” in Schema Valuable for consuming non.Net Web Services, or conforming to a schema crafted to satisfy specific business requirement

Demo Nillable types support

Two approaches to Contract Code Driven Develop functionality Decide on operations to expose Let the ASMX engine do the pluming for me Generate Schemas for my types Generate WSDL for my services Contract Driven Design Contract : Design/Write XSDs and WSDL Generate types and Interfaces Implement the Interfaces in classes

Two approaches to Contract Both approaches end up with Contract Both Qualify for creating Web Services Require different skills May have different interoperability and loose coupling implications

Two approaches to Contract Code Driven Fast development, Building on current Object Oriented Skills Loose coupling requires discipline May lead to Interoperability issues Difficult to have forward compatibility Contract Driven Total Control over Contract Better Loose Coupling Better Interoperability Need for specific skills

When to use each approach Code Driven Simple messages Basic types, careful with nillable types, arrays & DateTime Internal development no interop, test based validation of contract Single sided offering (Internet Web Service offerings) Require.Net Or special care for interoperability (difficult task) Contract Driven Two sides agree on contract Complex messages Interoperability is of great concern

Interfaces An interface is a class without implementation Defines method and property signatures Isolates exposed functionality from implementation Object Oriented approximation of Contract

Web Service Interfaces in VS2005 Attributes in the interface WebServiceBinding, WebMethod, SOAPDocumentMethod …etc Implementing Class inherits the attributes A Class can implement multiple interfaces Generated WSDL document reflects the interfaces Each interface goes into a separate Binding Better control over what goes into WSDL and how

Demo Using Web Service Interfaces

Custom Serialization In.Net Framework 1.x, undocumented IXMLSerializable Nick named by some : “ISupportDataSet”.Net Framework 2 offers IXMLSerizable Easy to use extensibility hook ReadXML, WriteXML XmlSchemaProviderAttribute and custom method for providing the schema

Custom Schema Design Schema Can go beyond building complex types from simple types Define minimum occurrence, maximum occurrence, nillable …etc Use Facets to add other constraints Use attribute XMLSchemaProvider to specify method that returns the schema Implement IXMLSerializable Eventually add schema validation to ReadXML or WriteXML

Demo Specifying Custom Schema

Proxy Generation Properties DataBinding Shared Types Same Schema leads to reuse of the same type Same namespace, name and equivalent schema Event based Asynchronous model

Proxy Generation Extensibility SchemaImporterExtensions New abstract base class that enables custom code generation when importing a schema Extensions inherit from the base class and implement schema matching and add custom code Schema matching options : Namespace, Element, Shape matching

Event Based Asynchronous calls MethodNameAsync to make the call Handle the MethodNameCompleted Event (callback)

Demo Event Based Asynchronous Web Service Call

Application Connection Designer Designing application interactions Applications interact through EndPoints Import an existing WSDL document Imported as a Web Service EndPoint Contract Driven Development Eventually modify some properties Generate implementation skeleton

Application Connection Designer Directly specify most of the contract Operations Messages specified through types Can still design schemas and generate types using VS2005 and.Net Framework tools Can use the XMLSchemaProvider to specify schema for the contract Web service definition information Namespace, name Binding Information Location, name, namespace

Demo Application Connection Designer

Summary Visual Studio 2005 builds on and enhances current Web Services tools Better Code driven development BP conformance More control over what gets generated and how Design the service through the Application Connection Designer Better Contract Driven development Interface support

Q&A

© 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.