Re: SOAP and VB6

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



"BillE" <belgie@xxxxxxxxxxx>'s wild thoughts were released
on Mon, 30 Jul 2007 10:57:24 -0400 bearing the following
fruit:

Using SOAP with VB6, I can't figure out how to set a property value.
Also, can I create an instance of the web service class in VB6 like I can in
VB.NET?

No, but you can generate proxy classes - I seem to recall
downloading a free tool that did a good job of this a long
time ago.

J

Thanks
Bill

Function SoapTest()
Dim objSOAPClient As New SoapClient30
dim s as String
dim sVal as String

s = "parameter"
sVal = "value"

objSOAPClient.MSSoapInit http://test.test.com/ws/ws.asmx?wsdl

'this doesn't work:
objSOAPClient .PropertyValue = sVal

MsgBox objSOAPClient.CallFunction(s)

End Function


--
Jan Hyde

https://mvp.support.microsoft.com/profile/Jan.Hyde
.



Relevant Pages

  • SOAP and VB6
    ... Using SOAP with VB6, I can't figure out how to set a property value. ... Dim objSOAPClient As New SoapClient30 ... dim sVal as String ...
    (microsoft.public.vb.general.discussion)
  • Search pattern
    ... Dim strfile As String ... Dim bAddressFound As Boolean ... Dim strCurrentChar As String ...
    (comp.databases.ms-access)
  • Auto Write Name and Merge across
    ... Dim Sheetname01 As String ... Dim WeekName01 As String ...
    (microsoft.public.excel.misc)
  • Re: multiplatform (pocketPC & desktopPC) (Daniel !!)
    ... Friend Versione As String ... Public Sub GetMyConnectionPalmare() ... Dim errorMessages As String ... Private Function GetDS_Desktop(ByVal SQL As String) As DataSet ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: multiplatform (pocketPC & desktopPC) (Daniel !!)
    ... Friend Versione As String ... Public Sub GetMyConnectionPalmare() ... Dim errorMessages As String ... Private Function GetDS_Desktop(ByVal SQL As String) As DataSet ...
    (microsoft.public.dotnet.framework.compactframework)