Introduction to Web Services Srinath Vasireddy Support Professional Developer Support Microsoft Corporation.

Slides:



Advertisements
Similar presentations
Intesar G Ali IT DepartmentPalestinian Land Authority Web services Prepared by: Intesar Ali IT Department PLA August 2010.
Advertisements

An Introduction to Web Services Sriram Krishnan, Ph.D.
Presentation 7 part 2: SOAP & WSDL.
Web Service Ahmed Gamal Ahmed Nile University Bioinformatics Group
Introduction to WSDL presented by Xiang Fu. Source WSDL 1.1 specification WSDL 1.1 specification – WSDL 1.2 working draft WSDL.
1 Understanding Web Services Presented By: Woodas Lai.
Web Services Darshan R. Kapadia Gregor von Laszewski 1http://grid.rit.edu.
Web Services Nasrullah. Motivation about web service There are number of programms over the internet that need to communicate with other programms over.
Building and Using Web Services with ASP.NET Rob Howard Program Manager.NET Framework Team Microsoft Corp.
1 Introduction to XML. XML eXtensible implies that users define tag content Markup implies it is a coded document Language implies it is a metalanguage.
XML Web Services in Visual Studio ®.NET NameTitleCompany.
Presentation 7 part 2: SOAP & WSDL. Ingeniørhøjskolen i Århus Slide 2 Outline Building blocks in Web Services SOA SOAP WSDL (UDDI)
Introduction to Web Services
6/11/2015Page 1 Web Services-based Distributed System B. Ramamurthy.
Introduction to ASP.NET, Second Edition2 Chapter Objectives.
Web Services Andrea Miller Ryan Armstrong Alex. Web services are an emerging technology that offer a solution for providing a common collaborative architecture.
Web Services By Ethan Justin Yuli. Web Services in Action Information through Integration (Google Example)Google Example What do Web.
Microsoft ASP.NET Security Venkat Chilakala Support Professional Microsoft Corporation.
XML Web Services ASP.NET. Overview of Web Services (Page 1) Web Service – Part or all of a Web application that is publicly exposed so that other applications.
Chapter 12 Extending Web Applications. ASP.NET 2.0, Third Edition2.
Web Services CS Web Services Internet-available services using XML messaging, for computer-computer interaction Not tied to any OS or language Self-describing:
INTRODUCTION TO WEB SERVICES CS 795. What is a Web Service ? Web service is a means by which computers talk to each other over the web using HTTP and.
1 Web Services Visual C# 2008 Step by Step Chapter 30.
1 Java Server Programming zLecture 1 focuses on: yIntroduction to web services y Web Services using Axis y The bigger Picture: Introduction to J2EE y Java.
Web service testing Group D5. What are Web Services? XML is the basis for Web services Web services are application components Web services communicate.
CIS 451: Web Services Dr. Ralph D. Westfall March, 2009.
Intro to C# Dr. John P. Abraham UTPA. Background required Thorough C++ programming – If you made an A in 1370/1170 you will do fine with some effort.
Web Services & WCF ~ Ankit. Web services A web service is a collection of protocols and standards used for exchanging data between applications or systems.
Distributed Communication via ASP.Net Web Services and.Net Remoting By Richard King.
Web Service Bright + Ong. Meaning A collection of protocols and standards used for exchanging data between applications or systems Written in various.
ITIS 1210 Introduction to Web-Based Information Systems Chapter 25 How.NET and Web Services Work How.NET and Web Services Work.
Web Services Description Language (WSDL) Jason Glenn CDA 5937 Process Coordination in Service and Computational Grids September 30, 2002.
Web Services Week 7 Aims: A detailed look at the underlying mechanisms for communication between web services Objectives: SOAP, WSDL, UDDI.
Dodick Zulaimi Sudirman Lecture 14 Introduction to Web Service Pengantar Teknologi Internet Introduction to Internet Technology.
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.
Home Networking and Internet Connection Sharing in Microsoft Windows XP Curtis Koenig Support Engineer Professional Platform Support Microsoft Corporation.
Web Services Standards. Introduction A web service is a type of component that is available on the web and can be incorporated in applications or used.
Web Services. ASP.NET Web Services  Goals of ASP.NET Web services:  To enable cross-platform, cross- business computing  Great for “service” based.
Dr. Azeddine Chikh IS444: Modern tools for applications development.
Using Encryption with Microsoft SQL Server 2000 Kevin McDonnell Technical Lead SQL Server Support Microsoft Corporation.
Introduction to Web Services Instructor: Dr. M. Anwar Hossain.
WebService. Outline Overview of Web Services SOAP (messaging) WSDL (service description) UDDI (registry)
1 Web Services Web and Database Management System.
XML and Web Services (II/2546)
Intro to dot Net Dr. John Abraham UTPA CSCI 3327.
1 Engineering Web Based Legacy Systems By Kanchana Eramudugoda Distributed Computing – CS843.
Kemal Baykal Rasim Ismayilov
ASP.NET Web Services.  A unit of managed code installed under IIS that can be remotely invoked using HTTP.
Week Six : Writing Web Services Aims: Creating and Consuming student’s first Web Services Learning Outcomes: Familiarity with VS.NET for creating and consuming.
Module 9: Using XML Web Services in a C# Application.
Chapter 7: Creating and Consuming XML Web Services Understanding XML Web Services Creating XML Web Services Deploying and Discovering XML Web Services.
C# 1 Web services CSC 298. C# 2 Web services  A technology to make libraries available across the internet.  In Visual Studio,  can create a web service.
Introduction to Web Services. Agenda Motivation History Web service model Web service components A walkthrough examples.
Web services In this presentation… –what is a web service? –web service benefits –web service standards –web service definitions –web service actions.
Intro to Web Services Dr. John P. Abraham UTPA. What are Web Services? Applications execute across multiple computers on a network.  The machine on which.
.NET Mobile Application Development XML Web Services.
SOAP, Web Service, WSDL Week 14 Web site:
6.2 XML Web Services Vinod Unny Enterprise InfoTech Microsoft Regional Director, North India.
Java Web Services Orca Knowledge Center – Web Service key concepts.
Jim Fawcett CSE681 – SW Modeling & Analysis Spring 2005
Agenda Introduction Security flow for a request Authentication
Introduction to Web Services
INTRODUCTION TO WEB SERVICES CS 795. What is a Web Service ? Web service is a means by which computers talk to each other over the web using HTTP and.
Implementing a service-oriented architecture using SOAP
Web services, WSDL, SOAP and UDDI
WEB SERVICES DAVIDE ZERBINO.
Distributed System using Web Services
Distributed System using Web Services
Presentation transcript:

Introduction to Web Services Srinath Vasireddy Support Professional Developer Support Microsoft Corporation

2 Agenda  What is a Web service?  Technologies used  XML, SOAP, WSDL, DISCO, and UDDI  Walkthrough creating a Web service  Walkthrough creating a Web service client  References  Q&A

3 What is a Web Service?  A programmable application component that is accessible via standard Internet protocols  Web page with functions  Available for a variety of clients  Examples: stock quotes, traffic conditions, calculators, news, weather, et cetera

4 Technologies Used  Standard way to represent data XML (and XML schemas) XML (and XML schemas)  Common, extensible message format SOAP SOAP  Common, extensible contract language Web Services Description Language (WSDL) Web Services Description Language (WSDL)  Way to discover site services Disco Disco  Way to discover service providers Universal Description, Discovery, and Integration (UDDI) Universal Description, Discovery, and Integration (UDDI)

5 XML  Extensible Markup Language  Language for describing documents with structured data  Industry standard  XML Schemas – XSD XML based XML based Language for describing data types Language for describing data types  For more information, read:

6 SOAP  A simple, XML-based protocol for exchanging structured and type information on the Web  Industry standard  Lightweight and XML-based protocol  Can support different protocols and formats: HTTP, SMTP, and MIME  SOAP message  For more information, read:

7 WSDL  It is an XML document describing Web services Define data types (XSD) Define data types (XSD) Define messages in terms of types Define messages in terms of types Define bindings to transport protocol, message format Define bindings to transport protocol, message format SOAP 1.1, HTTP Get/Post, MIME SOAP 1.1, HTTP Get/Post, MIME Define services as collections of ports Define services as collections of ports  WSDL.exe  For more information read:

8 DISCO  Document Discovery  A client finds a particular Web services by discovery  Document discovering services at a particular URL  Document is in XML format  Document has.disco and.vsdisco extensions  Disco.exe

9 UDDI  Universal Description, Discovery, and Integration  Enables businesses to publish and discover information about who provides what services  Specification for distributed Web service registries: white pages, yellow pages, and green pages  Builds on HTTP, XML, and SOAP  For more information, read:

10 Web Services Platform  ASP.NET  ATL Server .NET remoting  Microsoft ® SOAP Toolkit

11 ASP.NET Web Service  Leveraging existing ASP developers  Easy to build, deploy, and administer as a Web application  File extension is.asmx  End point is represented by URL

12 Creating a Web Service (1)  Open Microsoft Visual Studio ®.NET  Select the language  Select the project type: ASP.NET Web Service

13 Creating a Web Service (2) .asmx and.asmx.cs  Web.config  Global.asax  WebService1.vsdisco

14 Creating a Web Service (3)  Inside Service1.asmx WebService Language="c#" Codebehind="Service1.asmx.cs" Class="WebService1.Service1" %>

15 Creating a Web Service (4) Inside Service1.asmx.cs  Add WebService attribute’s Namespace property [WebMethod] public string HelloWorld() { return "Hello World"; } [WebService(Namespace=" public class Service1 : System.Web.Services.WebService  Uncomment the following code:

16 Creating a Web Service (5)  Compile the Web service

17 Creating a Web Service (6)  Run the Web service

18 Creating a Web Service Client (1)  Create a Microsoft Visual C#™ console application

19 Creating a Web Service Client (2)  Add Web reference (1)

20 Creating a Web Service Client (3)  Add Web reference (2)

21 Creating a Web Service Client (4)  Proxy file is created: Reference.cs

22 Creating a Web Service Client (5)  Client code using System; namespace ConsoleApplication1 { class Class1 { [STAThread] static void Main(string[] args) { localhost.Service1 wsproxy = new localhost.Service1(); Console.WriteLine(wsproxy.HelloWorld()); }

23 Creating a Web Service Client (6)  Run the Web service client

24 Summary  What is a Web service?  Technologies used  XML, SOAP, WSDL, DISCO, and UDDI  Walkthrough of creating a Web service  Walkthrough of creating a Web service client Start building Web services today!

25 References  Programming the Web with XML Web services Visual Studio.NET Help ms-help://MS.VSCC/MS.MSDNVS/vsent7/html/vxconProgrammableWebServices.htm  XML and SOAP Serialization Visual Studio.NET Help ms-help://MS.VSCC/MS.MSDNVS/cpguide/html/cpconserialization.htm  Web Services Community Go to On left frame, drill down to On left frame, drill down to.NET Development > Framework > dotnet.framework.aspnet.webservices.NET Development > Framework > dotnet.framework.aspnet.webservices

Thank you for joining us for today’s Microsoft Support WebCast. For information about all upcoming Support WebCasts and access to the archived content (streaming media files, PowerPoint slides, and transcripts), please visit: We sincerely appreciate your feedback. Please send any comments or suggestions regarding the Support WebCasts to and include “Support WebCasts” in the subject line.