Visual Basic.NET
  Home arrow Visual Basic.NET arrow Encoding/Decoding Web Service: Service Con...
Iron Speed
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Dedicated Servers 
Download TestComplete 
Windows Web Hosting
 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
VISUAL BASIC.NET

Encoding/Decoding Web Service: Service Consumer
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 5
    2006-01-17

    Table of Contents:
  • Encoding/Decoding Web Service: Service Consumer
  • Generating a proxy
  • Service Consumer Creation 1-2-3
  • Two: Creating the user interface
  • Three: Testing the Client

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
     
    ADVERTISEMENT

    Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!

    Encoding/Decoding Web Service: Service Consumer
    (Page 1 of 5 )

    This article, the second of two parts, configures a client which consumes the web service project that was created in part one. The consuming client can be another web application, or even a console application.

    Introduction

    This tutorial takes you step by step through creating a proxy client that can interrogate the web service, and retrieve results sent to you by the web service. The proxy client (the one that uses or consumes the web service), meaning you, will send a text string to be encoded (decoded) to the web service created in part one. The web service will then take your string and turn it into its encoded (decoded) form, and send it back to the proxy. The proxy will communicate to you the information received from the web service. This web service and  consuming client application's interaction may be schematically shown as in this figure.

    The detailed sequence of events are as described below:

    1. The client executes a process in the code written for the proxy.

    2. The proxy receives the call and packages a request to be sent to the web service, including the parameters needed by the code as specified by the consumer, if any.

    3. The function call is then routed to the web service, usually at a different location, but it could be any place to which the client has some connectivity. In the figure it is shown as taking place across the Internet.

    4. The web service uses the parameters it receives and executes the process defined by the web service.

    5. The web service sends the result of the process to the proxy. The proxy parses the XML sent by the web service and presents the value to the consuming client.

    More Visual Basic.NET Articles
    More By Jayaram Krishnaswamy


       · First of all, I suggest you read the following article before you read the present...
     

    VISUAL BASIC.NET ARTICLES

    - Types of Operators in Visual Basic
    - Operators
    - Understanding Custom Events using Visual Bas...
    - Polymorphism using Abstract Classes in Visua...
    - Shadowing using Shadows in Visual Basic.NET ...
    - Overloading and Overriding in Visual Basic.N...
    - More on Controlling Windows Fax Services Usi...
    - Programmatically Controlling Windows Fax Ser...
    - Focusing on Forms and Menus in Visual Basic
    - Manipulating Forms with the Windows Forms Li...
    - Basics of the Windows Forms Library
    - Forms, Controls, and Other Useful Objects
    - Implementing OOP to Develop Database Oriente...
    - Using Themes and Skins for Personalization w...
    - A Deeper Look at Personalization using Visua...




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway