Visual Basic.NET
  Home arrow Visual Basic.NET arrow Page 3 - Creating a VB.NET Client for a ColdFusion ...
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 
Actuate Whitepapers 
VeriSign Whitepapers 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
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

Creating a VB.NET Client for a ColdFusion Web Service
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 6
    2006-03-21

    Table of Contents:
  • Creating a VB.NET Client for a ColdFusion Web Service
  • Description of the ColdFusion Web Service
  • Creating a Web Reference
  • Creating the Client User Interface

  • 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

    Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here

    Creating a VB.NET Client for a ColdFusion Web Service - Creating a Web Reference


    (Page 3 of 4 )

    The client, in this case CFDotNetWebClient, does not access the web service directly. It uses a middleman, a proxy to access the service. Now, how do you create a proxy? How does a proxy access the service? Let us see how to create a proxy first.

    Microsoft Visual Studio .NET 2003 has a nice utility in its suite of utilities. This utility can be accessed by right clicking the References node in the solution explorer and choosing Add Web Reference. This brings up the wizard shown in Fig.3.

     

    Fig.2

    In Fig.3, by navigating to the ASMX file or the WSDL file, either by typing the URL directly into the drop-down or by clicking the drop-down by the side of URL: field, the Go button becomes active. In this case clicking on GO will search for the file, and if it exists it adds a proxy to the Web reference name: field, and provides a description in the area above it in the Web Services found at this URL: field. You may also browse the various places you may find this file in the indicated links on this utility's opening page, as seen in Fig.3.

     

    Fig.3

    Fig.4 shows the stage at which the Web reference has been located. Review all the items in this window. This figure shows that one service that is referenced by the WSDL is found on localhost (this is the local web server). The Service name is justFunction. Further this service has just one method, called WelcomeMsg(). Clicking on the button Add Reference will add this proxy to your project. If you want you may rename the localhost to some other name. It was renamed CFWsvcProxy as shown in Fig.5.

     

    Fig.4

    Fig.5 shows the Project in the solution explorer view with all the web references.

     

    Fig.5

    More Visual Basic.NET Articles
    More By Jayaram Krishnaswamy


       · Interoperability is an important issue for web services survival as an universal...
     

    VISUAL BASIC.NET ARTICLES

    - Working with Classes and Properties for Game...
    - Working with Loops, Arrays, and Collections ...
    - Learning Loops in VB.NET for Game Development
    - Learning VB.NET: Working with Variables, Con...
    - The Basics of VB.NET Through Text Game Devel...
    - Learning VB.NET Through Text Game Development
    - 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





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