Re: SOAP and VB6
- From: "Jan Hyde (VB MVP)" <StellaDrinker@xxxxxxxxxxxxxxxxxxx>
- Date: Wed, 01 Aug 2007 13:01:30 +0100
"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
.
- Prev by Date: Re: Wait to printer in vb6
- Next by Date: Re: ActiveX create problem in Vista
- Previous by thread: Re: Wait to printer in vb6
- Next by thread: Screen Flicker
- Index(es):
Relevant Pages
|