Visual Basic.NET
  Home arrow Visual Basic.NET arrow Page 2 - 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 
Moblin 
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 - Description of the ColdFusion Web Service


    (Page 2 of 4 )

    The complete description of the web service coded using ColdFusion was described in the earlier tutorial. Here is a brief description of the service containing some essential information.

    The following ColdFusion function was converted into a web service in the previous tutorial.

    <cffunction name="WelcomeMsg"  returntype="string">
        <cfargument name="name" type="string" required="yes">
    <cfreturn "<h3><font color='blue'>Welcome to my Web Service Site</font></h3> " & arguments. name &"! " & "What would you like to do?">            
      </cffunction>
    <cfoutput>
    #WelcomeMsg("Jay")#
    </cfoutput>

    This function requires a string and it processes the string by concatenating ! What would you like to do? to it. The function has a method, WelcomeMsg(), which eventually become the web service's method. In order to convert this function a ColdFusion component was constructed, which has the file name justFunction.cfc.  This is the component that becomes discovered by the wsdl.

    Step 1: Create a ASP.NET Application

    From File -->New-->Project, open the various projects that can be created in MS VB.NET 2003 IDE. Choose to create an ASP.NET Web Application which is called ColdFusionNetClient. This adds a WebForm1. Delete this and add a new web form WebClient.aspx as shown in Fig.1.

     

    Fig.1

    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

    - Movement and Player Statistics in a VB.NET T...
    - Creating and Drawing a Game Map in VB.NET
    - 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...




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