Soap,Visual Basic 6.0, howto
Hi,
I'm new here, and would be great if someone could help a little bit.
I'm trying to find a simple example how to make simple search for towns
giving just the town name. I'm looking for example in VB 6.0 using for
example Soap 3.0.
I manage to wrote some code but I'm getting the error:
specification.DataSourceName cannot be null.
My code looks like this:
-----------------------------------------------------------------
Dim soapclient As New SoapClient30
Dim retList As IXMLDOMNodeList
Dim Results As Variant
' 1st method
soapclient.MSSoapInit2
"http://staging.mappoint.net/standard-30/mappoint.wsdl", "", "FindService",
"FindServiceSoap", "http://s.mappoint.net/mappoint-30/"
' 2nd method
soapclient.MSSoapInit
"http://staging.mappoint.net/standard-30/mappoint.wsdl", "FindService",
"FindServiceSoap"
soapclient.ConnectorProperty("AuthUser") = "*****"
soapclient.ConnectorProperty("AuthPassword") = "******"
soapclient.ConnectorProperty("WinHTTPAuthScheme") = 24
'----------
Set Results = soapclient.Find("Szczecin")
'----------
'Set retList = soapclient.Find("Szczecin")
-------------------------------------------------------------------
So how to set this DataSourceName , and is there any other way to do this if
so any example would be an advantage
thanks in advance
Bartek
date: Thu, 28 Feb 2008 05:25:02 -0800
author: Bartek