Wrox Programmer Forums
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old January 26th, 2004, 01:29 PM
Registered User
Join Date: Jan 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Web service URL

I am writing a VB6 program to connect to a web service written in C#.NET. The program is using SOAP toolkit 2.

I connect to the web service successfully and calling methods is also OK.

The problem is that this web service requires some parameters to be passed to it in the URL, and I don't know how it can be done in VB.

When writing the client in C#, the client does the following:

WSProxy.MyWS srv = new WSProxy.MyWS();

srv.Url = "http://localhost/MyFolder/MyWS/Main.asmx?prm1=AAAA&prm2=BBBB";


Here is what my VB code looks like now:
Dim objSoap As New MSSOAPLib.SoapClient
Call objSoap.mssoapinit("http://localhost/MyFolder/MyWS/Main.asmx?WSDL")

How do I pass the URL in VB6?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Web Service Consuming another web service CraigWhitfield EJB 0 January 10th, 2008 08:38 AM
Error to Add Web Reference from a Web service jdjbarrios ASP.NET 2.0 Professional 0 July 18th, 2006 02:58 PM
How to send Web Service request & response to url? gyandeosingh .NET Web Services 1 January 30th, 2006 04:21 AM
Service Oriented Web Service aldwinenriquez .NET Web Services 2 September 15th, 2005 03:25 AM
How to obtain a Web Form’s URL BrianWren VB.NET 2002/2003 Basics 5 June 27th, 2005 09:59 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.