Introduction to Web Services. Examples Using a Web Service Creating a new Web Service.

Slides:



Advertisements
Similar presentations
Creating Accessible PDF Documents Dick Hemenway CMAC Accessibility Committee.
Advertisements

1 After completing this lesson, you will be able to: Search for information on the Web. Create a favorites list. Use and modify your History folder.
Microsoft Expression Web-Illustrated Unit J: Creating Forms.
Introduction to Visual Basic.NET Uploaded By: M.Sheraz anjum.
Creating and Editing a Web Page Using Inline Styles
11 Getting Started with ASP.NET Beginning ASP.NET 4.0 in C# 2010 Chapters 5 and 6.
1 CSCI N305 C Language Programming Welcome to CSCI N305! Compiling Your First Program Using Microsoft Visual Studio 2008.
Introduction to Web Services Yossi Amir Itzik Kasovitch.
Web Development in Microsoft Visual Studio Slide 2 Lecture Overview Introduce Visual Studio 2013 Create a first ASP.NET application.
PowerPoint 2002 Linking Video in Presentation and Delivering Presentation on the Road.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Creating First Class Web Pages Log into your account.
Introduction to Visual Basic. What is Visual Basic? An environment for developing Windows applications Components –A GUI (Graphical User Interface - gooey)
This example is a step by step walkthrough for installing the SRH Front Desk Printer in Windows 8.
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
Microsoft Visual Basic 2005 CHAPTER 12 Cell Phone Applications and Web Services.
Tutorial: Introduction to ASP.NET Internet Technologies and Web Application 4 th February 2010.
McGraw-Hill/Irwin © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Dynamic Action with Macromedia Dreamweaver MX Barry Sosinsky Valda Hilley.
PowerPoint Basics “Just what are we trying to do with this software anyway?”
Scoring Program Updates & XML upload to the NSRCA web site July 2013.
Microsoft Visual Basic 2005 CHAPTER 9 Using Arrays and File Handling.
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
Using Arrays and File Handling
IT 211 Project Integration and Deployment Lab #11.
IE 411/511: Visual Programming for Industrial Applications
ASP.NET Web Application and Development Digital Media Department Unit Credit Value : 4 Essential Learning time : 120 hours Digital.
E-Commerce: Introduction to Web Development 1 Dr. Lawrence West, Management Dept., University of Central Florida Topics What is a Web.
Tutorial 121 Creating a New Web Forms Page You will find that creating Web Forms is similar to creating traditional Windows applications in Visual Basic.
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.
A First Look At Microsoft Visual Basic Lesson 1. What is Microsoft Visual Basic? Microsoft Visual Basic is a software development tool, which means it.
CSCI 6962: Server-side Design and Programming Introduction to Active Server Pages.
Internet Technologies and Web Application Web Services With ASP.NET Tutorial: Introduction to.
Putting Applets into Web Pages.  Two things are involved in the process of putting applets onto web pages ◦ The.class files of the applet ◦ The html.
Fourth R Inc.1 WELCOME TO MICROSOFT OFFICE FRONTPAGE 2003 INTRODUCTORY COURSE.
Introduction to the Visual Studio.NET IDE (LAB 1 )
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 7 Using Menus, Common Dialogs, Procedures, Functions, and Arrays.
© Chinese University, CSE Dept. Distributed Systems / Simple Example Open Microsoft Visual Studio 2005:
Chapter 1 Creating a Dreamweaver Web Page and Local Site
Using Microsoft Visual Studio 2005 Original by Suma Rao Revised by John G. McMahon ( 9/6/2008 )
Using Microsoft Visual Studio C++ Express 2005 Name: Dr Ju Wang Ashwin Belle Course Resource:
Visual Basic.NET BASICS Lesson 1 A First Look at Microsoft Visual Basic.NET.
XML Web Service. Overview of XML Web Service ASP.NET XML Web services enable you to remotely access the properties and methods of classes across a network.
Chapter 2 – Introduction to the Visual Studio .NET IDE
Microsoft Visual Basic 2005 BASICS Lesson 1 A First Look at Microsoft Visual Basic.
1 Getting Started with C++. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Visual Studio 2008.
Module 9: Using XML Web Services in a C# Application.
 2002 Prentice Hall. All rights reserved. 1 Chapter 2 – Introduction to the Visual Studio.NET IDE Outline 2.1Introduction 2.2Visual Studio.NET Integrated.
1 After completing this lesson, you will be able to: Get around the Internet with your browser. Connect to the Internet. Print Web pages. Save Web pages.
Copyright (c) 2003 by Prentice Hall Provided By: Qasim Al-ajmi Chapter 2 Introduction to Visual Basic Programming Visual Basic.NET.
Web Development in Microsoft Visual Studio 2013 / 2015.
1 Getting Started with C++ Part 1 Windows. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Microsoft.
11 Getting Started with ASP.NET Beginning ASP.NET in C# and VB Chapters 1 and 2.
1 /17 Installing and Configuring TaxWise © 2006, Universal Tax Systems, Inc. All Rights Reserved. Installing and Configuring TaxWise Objectives –In this.
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
Microsoft OneNote What is Onenote? O OneNote is a note-taking and information gathering management program that allows ideas and information in.
 2002 Prentice Hall. All rights reserved. 1 Introduction to the Visual Studio.NET IDE Outline Introduction Visual Studio.NET Integrated Development Environment.
XP New Perspectives on Creating Web Pages With Word Tutorial 1 1 Creating Web Pages With Word Tutorial 1.
Creating ActiveX Controls at runtime If you need to create an ActiveX Control at runtime without a resource template entry, follow the programming steps.
An Introduction to Programming with C++1 An Introduction to Control Structures Tutorial 1.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 12 Creating Console Applications, Understanding XML, and Creating Web Services.
ASP.NET Forms.
ASP.NET Web Controls.
Creating Web Pages and Graphics
Visual programming Chapter 1: Introduction
Introduction to Ms-Access Submitted By- Navjot Kaur Mahi
Web Development in Microsoft Visual Studio 2013
Software Components Gladys Nzita-Mak.
1. Open Visual Studio 2008.
File Upload.
Chapter 9 Programming with Web Forms
Presentation transcript:

Introduction to Web Services

Examples Using a Web Service Creating a new Web Service

Step by Step – using a web service 1.Inside Visual Studio.NET Choose File > New > Project. 2.Choose Visual C# Projects (or Visual Basic Projects if you prefer this language). 3. Choose ASP.NET Web Application as your template

Step by Step – using a web service Inside the Location text box enter the name of your project after the prefix : Press OK. This makes The Internet Information Services installed on your computer create a new directory on the default path: C:\Inetpub\wwwroot\FirstExample

Step by Step – using a web service You can open IIS by typing compmgmt.msc \s in the run command and then choosing Services And Application > Internet Information Services. Inside this node you can choose Web Sites node and then Default Web Site to see all the web sites on your computer.

Step by Step – using a web service

In the new project you opened in VS.NET Move to the Solution Explorer. Right Click on the References folder and Choose Add Web References. This Opens the Add Web Reference Dialog Box.

Step by Step – using a web service Type the Web Service URL and Press Go. It takes a couple of seconds to find the Web services and finally all it ’ s methods appear in the list box. The Web Reference name is shown in the Dialog Box. Press Add Reference to complete the process.

Step by Step – using a web service

Add a new Web Form.

Step by Step – using a web service Add the following Controls to the Web Form

Step by Step – using a web service Double Click on the button and insert this code to it ’ s OnClick event handler.

Step by Step – using a web service 1.Set the Web Form as the Start Page. 2.Build and Run the Program. 3.Try to use the Web Application.

Step By Step – Creating a Web Service In this Step I will create a new Web Service and write a Simple Program that uses it. The program will perform various operations on an array. The client program will be a simple dialog box that activates those opeartions.

Step By Step – Creating a Web Service Create a new Visual C# project with the name RemoteArray. The following screen appears.

Step By Step – Creating a Web Service To see the code Press on the following hyperlink.

Step By Step – Creating a Web Service Right Click on the References folder and choose add Reference. Insert the System.Windows.Forms.dll option in to this folder.

Step By Step – Creating a Web Service

Insert the following code to the.asmx file you ’ ve created.

Step By Step – Creating a Web Service

Press Ctrl +F5 to Run the Web service.

Step By Step – Using Remote Array Add a new project to RemoteArray Solution

Step By Step – Using Remote Array Choose Windows Application from the templates. Add a web reference for the Remote Array Web Service. Remember that it ’ s inside an asmx file.

Step By Step – Using Remote Array

Add the following elements to the Form

Step By Step – Using Remote Array Create a private RemoteArray object and a private int array object to the Form. Insert this code after the Initialize component part.

Step By Step – Using Remote Array Insert the following code to controls handler

Step By Step – Using Remote Array Set the Windows Application project as the Startup

Step By Step – Using Remote Array Compile and run the application. This is an example that an XML Web application can be used over Windows and not only with ASP.NET