LindseyV 0 Newbie Poster

<code>
Hi there. I am trying to use soap in my access database and am following http://www.aspfree.com/c/a/VB.NET/Calling-a-Web-Service-using-VB6-with-SOAP-30/2/ to help me learn it. I followed the tutorial exactly and when I run my access forum, I get object required on

Option Compare Database


Private Sub Command1_Click()
Dim client As Object
Set client = CreateObject("MSSOAP.SoapClient30")
oclient.MSSoapInit = "http://ZXXXXXXXXXXXX/XXXXXX.cfm"
Print wsdl; ""

strg = (oclient.WelcomeMsg(Text1.text))
MsgBox (strg)

If Err.Number = -2147024809 Then
MsgBox "Invalid Web Service Request. Please check the Web Service URL"
End If

End Sub
</code>

Anyone have any suggestions why this is happening? Do you know of any other examples I could use?