XML Web Services in Visual Studio ®.NET NameTitleCompany.

Slides:



Advertisements
Similar presentations
XML Web Services Monash University Semester 1, March 2006.
Advertisements

1 Incorporating XML with Mobile Devices and ASP.NET casey chesnut brains-N-brawn.com 4/4/2005 Student Ambassadors.
SOAP.
1 Understanding Web Services Presented By: Woodas Lai.
Building and Using Web Services with ASP.NET Rob Howard Program Manager.NET Framework Team Microsoft Corp.
Zoiner Tejada Hershey Technologies. About Zoiner Tejada.
Liang, Introduction to Java Programming, Seventh Edition, (c) 2009 Pearson Education, Inc. All rights reserved Chapter 42 Web Services.
Introduction to ASP.NET, Second Edition2 Chapter Objectives.
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.
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.
Best Practices for Building Web Services with Visual Studio ®.NET Sanguan Thammarojsakul Microsoft MVP -.NET Department of Computer Science, Faculty of.
Prashanth Kumar Muthoju
What are Xml Web Services? 1.A Web Service simply an application that exposes a Web- accessible API. 2.Web services are a new, standard platform for building.
Leveraging Application Blocks in Your Application Development Ihsan Anabtawi Technology Specialist Microsoft ® Corporation.
ASP.NET: Designing and Developing a Line-of-Business Web Application Ammar Abuthuraya Developer & Platform Lead Microsoft ® Corporation.
Nikola Dudar Program Manager Microsoft Corporation Session Code: DTL 311.
XML Web Services in Visual Studio.NET Peter Ty Developer Evangelist.NET and Developer Group.
A Scalable Application Architecture for composing News Portals on the Internet Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta Famagusta.
CIS 451: Web Services Dr. Ralph D. Westfall March, 2009.
Session 11: Security with ASP.NET
Introduction to .NET Rui Ye.
Visual Studio ®.NET Data with XML Carlotta Eaton ( Associate Professor of IST New River Community College Slides by Microsoft Modified.
CIS 375—Web App Dev II Microsoft’s.NET. 2 Introduction to.NET Steve Ballmer (January 2000): Steve Ballmer "Delivering an Internet-based platform of Next.
Microsoft ®.NET and Microsoft ® Office 2003 Suthep Sangvirotjanaphat [MVP]
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 Securing a Microsoft ASP.NET Web Application.
Web Services Week 7 Aims: A detailed look at the underlying mechanisms for communication between web services Objectives: SOAP, WSDL, UDDI.
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.
.Net and Web Services Security CS795. Web Services A web application Does not have a user interface (as a traditional web application); instead, it exposes.
1.NET Web Forms Web Services © 2002 by Jerry Post.
Current Trends in Network- Based Application Developments Bill Chu Department of Software and Information Systems UNC Charlotte.
Web Services BOF This is a proposed new working group coming out of the Grid Computing Environments Research Group, as an outgrowth of their investigations.
Web Services. ASP.NET Web Services  Goals of ASP.NET Web services:  To enable cross-platform, cross- business computing  Great for “service” based.
The.NET Runtime and IIS Presented by Chris Dickey – cdickey.net consulting
Dr. Azeddine Chikh IS444: Modern tools for applications development.
Developing Web Services Using ASP.NET and WSE That Interoperate with the Windows Communications Foundation ("Indigo") Mark Fussell COM432 Lead Program.
Create Windows ® Applications with.NET Carlotta Eaton ( Associate Professor of IST New River Community College Slides by Microsoft.
Module 11: Securing a Microsoft ASP.NET Web Application.
Intro to dot Net Dr. John Abraham UTPA CSCI 3327.
Web Services Error Handling and Debugging. Agenda Simple SOAP faults Advanced SOAP faults SOAP headers and faults Error handling From a Service Perspective.
ASP.NET (Active Server Page) SNU OOPSLA Lab. October 2005.
ASP.NET Web Services.  A unit of managed code installed under IIS that can be remotely invoked using HTTP.
An Overview of Microsoft.NET Todd M. Gagorik Technical Architect Microsoft Corporation.
Week Six : Writing Web Services Aims: Creating and Consuming student’s first Web Services Learning Outcomes: Familiarity with VS.NET for creating and consuming.
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.
1 G52IWS: Web Services Chris Greenhalgh. 2 Contents The World Wide Web Web Services example scenario Motivations Basic Operational Model Supporting standards.
Web Services from 10,000 feet Part I Tom Perkins NTPCUG CertSIG XML Web Services.
Developing SQL Server 2000 Reporting Services Applications Brian Welcker Group Program Manager SQL Server Reporting Services Microsoft Corporation.
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.
Introduction to.NET Building.NET Applications Mike Taulty Developer & Platform Group Microsoft Ltd
Building Custom Controls with ASP.NET and the Microsoft ®.NET Framework Rames Gantanant Microsoft Regional Director, Thailand
DAT 354: Building SQL Server Reporting Services Applications Brian Welcker Group Program Manager SQL Server Reporting Services Microsoft Corporation.
Feeling RESTful? Well, first we’ll define a Web Service –A web page meant to be consumed by a computer via an autonomous program as opposed to a web browser.
Introduction to Web Services Srinath Vasireddy Support Professional Developer Support Microsoft Corporation.
6.2 XML Web Services Vinod Unny Enterprise InfoTech Microsoft Regional Director, North India.
Jim Fawcett CSE681 – SW Modeling & Analysis Spring 2005
ASP.NET Web Forms and Web Services
Smart Client Deployment With Microsoft® Windows® Forms
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.
WEB API.
The future of distributed systems architecture
ASP.NET Module Subtitle.
Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta
Microsoft .NET Presentation
Chapter 42 Web Services.
Web Services Enhancements 2.0
A Little Bit of Active Server Pages (ASP)
Presentation transcript:

XML Web Services in Visual Studio ®.NET NameTitleCompany

Agenda Web Service Infrastructure Web Service Infrastructure Web Services in Visual Studio.NET Web Services in Visual Studio.NET Hardcore Web Services Hardcore Web Services

Session Prerequisites Familiarity with Client/Server or Web Development Familiarity with Client/Server or Web Development Level 200

Agenda Web Service Infrastructure Web Service Infrastructure Web Services in Visual Studio.NET Web Services in Visual Studio.NET Hardcore Web Services Hardcore Web Services

Web Service (ASMX in ASP.NET) Web Service (ASMX in ASP.NET)  Invoke Web Service methods Web Service Infrastructure What makes a Web Service? ASMX

ASMX Web Service (ASMX in ASP+) – –Invoke Web Service methods Web Service Description Language (WSDL) – –Describe Web Services – –Describes dependencies (e.g., DataSets / XSD) Web Service Infrastructure What makes a Web Service? XSD WSDL

Web Service (ASMX in ASP+) – –Invoke Web Service methods Web Service Description Language (WSDL) – –Describe Web Services – –Describes dependencies (e.g., DataSets / XSD) Discovery Documents (DISCO) – –Publish Web Services Web Service Infrastructure What makes a Web Service? ASMX XSD WSDL WSDL DISCO

Web Service (ASMX in ASP+) – –Invoke Web Service methods Web Service Description Language (WSDL) – –Describe Web Services – –Describes dependencies (e.g., DataSets / XSD) Discovery Documents (DISCO) – –Publish Web Services UDDI Web Service Infrastructure What makes a Web Service? ASMX XSD WSDL WSDL DISCO DISCO UDDI

Web Service Infrastructure Protocols Basic: HTTP Get and HTTP Post Basic: HTTP Get and HTTP Post  Primitives (integers, strings, etc)  Arrays of primitives Default: Simple Object Access Protocol (SOAP) Default: Simple Object Access Protocol (SOAP)  Structures  Enumerations  Classes  XML DataSets  Arrays of anything

Agenda Web Service Infrastructure Web Service Infrastructure Web Services in Visual Studio.NET Web Services in Visual Studio.NET Hardcore Web Services Hardcore Web Services

Web Services in Visual Studio.NET Tools On the Server Side On the Server Side  Generates WSDL  Generates.vsdisco  Generates HTML text page  Supports breakpoints, tracing, etc. On the Client Side On the Client Side  Generates proxy class with sync and async calls  Supports “Step-Into” across web service call

Return Data from a Web Service Demonstration #1

Agenda Web Service Infrastructure Web Service Infrastructure Web Services in Visual Studio.NET Web Services in Visual Studio.NET Hardcore Web Services Hardcore Web Services

Hard Core Web Services ASP.NET Intrinsics Request Request  Server Variables (Host Address, Host Name)  Cookies  Security (Client Certificate, Authentication, Encryption) User User  Identity  Role Session and Application Session and Application  State Response Response  Cookies Cache Cache

Hard Core Web Services Security Basic, Digest, Passport, Kerberos, and Windows authentication Basic, Digest, Passport, Kerberos, and Windows authentication “Roll your own” authentication “Roll your own” authentication HTTPS / SSL encryption HTTPS / SSL encryption Supports many business models Supports many business models  Secure ecommerce transactions  Pay per use  Subscription

Hard Core Web Services Asynchronous Calls Synchronous Programming Model Synchronous Programming Model  Foo(Param1, Param2) As String Asynchronous Programming Model Asynchronous Programming Model  BeginFoo(Param1, Param2, Callback)  Callback(AsyncResult)  EndFoo(AsyncResult) As String

Hard Core Web Services SOAP Headers - Server Make a Class That Inherits SoapHeader Make a Class That Inherits SoapHeader Add Custom Properties Add Custom Properties Associate This With Your Web Service Associate This With Your Web Service Public Class MyHeader : Inherits SoapHeader Public Username As String Public Username As String Public Password As String Public Password As String End Class

Hard Core Web Services SOAP Headers - Client Create Instance of the Header Class Create Instance of the Header Class Populate With Values Populate With Values Attach To Web Service Object Attach To Web Service Object Call Method Call Method WebServ ws = new WebServ(); MyHeader a = new MyHeader(); a.Username = "admin"; a.Password = "password"; ws.MyHeader = a; ws.DoSomething();

Hard Core Web Services SoapExtension Used for More Advanced Functionality Used for More Advanced Functionality Intercept Calls to a Web Service Intercept Calls to a Web Service Pre and Post Processing Pre and Post Processing

Hardcore Web Services Demonstration #2

Session Summary Web Services Are The Building Blocks For The Next Generation Of The Internet Web Services Are The Building Blocks For The Next Generation Of The Internet Gives Client Access to any kind of Data Gives Client Access to any kind of Data Make Business-to-Business Easy Make Business-to-Business Easy Visual Studio.NET Provides Great Tools Visual Studio.NET Provides Great Tools

For More Information… MSDN Web site at MSDN Web site at  msdn.microsoft.com Microsoft ® Official Curricula (MOC) Microsoft ® Official Curricula (MOC)  MOC 2063  Building ASP.NET Applications  MOC 2145  Programming the Microsoft.NET Framework with Visual Basic ®.NET  MOC 2349  Programming the Microsoft.NET Framework with C#

MSDN Essential Resources for Developers Training & Events MSDN Training, Tech-Ed, PDC, Developer Days, MSDN/Onsite Events Subscription Services Online Information Membership Programs Print Publications Library, Professional, Universal Delivered via CD-ROM, DVD, Web MSDN Online, MSDN Flash MSDN User Groups MSDN Magazine MSDN News

Questions And Answers