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?