Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old January 26th, 2004, 12:29 PM
Registered User
 
Join Date: Jan 2004
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Web service URL

Hi
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";

srv.TestMethod();

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")
objSoap.TestMethod


How do I pass the URL in VB6?

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Web Service Consuming another web service CraigWhitfield EJB 0 January 10th, 2008 07: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 03: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



All times are GMT -4. The time now is 03:01 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.