Visual Basic.NET
  Home arrow Visual Basic.NET arrow Calling a Web Service using VB6 with SOAP ...
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

Calling a Web Service using VB6 with SOAP 3.0
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 48
    2006-04-12

    Table of Contents:
  • Calling a Web Service using VB6 with SOAP 3.0
  • The web services used in the tutorial
  • Example 2: Calling a ColdFusion web service
  • Example 3: SOAP client calling the Enc/Denc web service

  • 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!

    Calling a Web Service using VB6 with SOAP 3.0
    (Page 1 of 4 )

    This article shows you how to create a client that calls a web service from Visual Basic 6 using SOAP 3.0. If you are still using VB 6.0 or C++ and don't plan to move into VB.NET, you will find this method very useful.

    Introduction

    In an earlier article the method of calling a web service from a client created using Microsoft Visual Studio 2003 IDE was described. The IDE offers an excellent method to get a reference to the necessary proxy by way of the WSDL utility. This is carried out by adding a web reference to the client application.

    This article shows how you may create a client that calls the web service from Visual Basic 6 using Soap 3.0. By providing Soap 3.0,  Microsoft provides VB programmers with the ability to tap web services. This is most useful to those who are still using VB 6.0 or C++ and are not contemplating a move into VB.NET.

    This tutorial assumes that web services have been created using any of the programming languages and that a wsdl web reference is available. In particular it creates clients for the web services created using the ColdFusion service with just one method, and another web service using VB.NET with two methods. Examples of early binding and late binding are also shown for the web service created with ColdFusion.

    SOAP basics

    SOAP, which stands for Simple Object Access Protocol, is a vendor- and platform-agnostic protocol which uses XML and HTTP (SOAP Specification 1.0) to access resources (servers, services and objects) through firewalls in a distributed environment. Later SOAP specifications do not mandate the use of HTTP,  and other protocols such as SMTP and FTP can also be used.  Please review SOAP and other related protocols at the W3C website and numerous other links at that site.

    More Visual Basic.NET Articles
    More By Jayaram Krishnaswamy


       · Web services in one form or another is here to stay. A number of easy to understand...
       · The article is good to begin with. Is SOAP a generic solution for communicating...
       · What kind of difficulty did you experience. Lots of time it is to do with the data...
       · It is possible to call a web service method using VB6 with SOAP 3.0.It is ok if...
       · Could you be little more specific? I am not sure what exactly you are trying to...
       · Hi, I am facing problem to "Calling Web Services in VB6"If any one already...
       · Could be more specific as to what kind of a problem?
       · code that can call web service
       · Your answer is very brief and I cannot fathom the exact problem you are having.The...
       · Does the client server need the MS SOAP Toolkit installing before you can use SOAP...
       · I have followed exaactly the same from the tutorial but it prompt an error. The...
       · Well, now i roughly know what caused this to happen. It only happen when i am using...
       · Hi,is it possible to pass some credential information like user name and...
       · Hi Jay,Im getting the follwoing error when trying to use VB 6.0 to access a...
       · If you receive this error message try the suggestion below:Connector:Connection...
     

    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 6 hosted by Hostway