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  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
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: 4 stars4 stars4 stars4 stars4 stars / 8
    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


    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

    - User-defined Functions using Visual Basic Ap...
    - Understanding Object Binding in VBA
    - Mastering the Message Box
    - Testing a Windows Forms Application
    - Using Visual Basic.NET Features to Code a Wi...
    - Correcting Code in a Windows Forms Applicati...
    - Write Readable Code and Comments for Windows...
    - How to Code and Test a Windows Forms Applica...
    - Adding Features to a Windows Forms Applicati...
    - How to Design a Windows Forms Application
    - LINQ to XML Programming Using Visual Basic.N...
    - Understanding Delegates using Visual Basic.N...
    - Create a Sudoku Puzzle Generator using VB.NET
    - Entity Creation and Messaging in a VB.NET Te...
    - Movement and Player Statistics in a VB.NET T...





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 1 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek