LindseyV 0 Newbie Poster

Hi there. I am trying to use soap in my access database and am following 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

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.