My goal is to populate some fields in my table using a webservice that was created by other programmers in the company, and i have been told that i need SOAP to call it. I have tried using the SOAP toolkit and i keep getting "Access denied error", even after I supplied the user name and password....my code is as below:
Private Sub button1_Click()
Dim client As MSOSOAPLib30.So apClient30
Set client = New SoapClient30
Call client.MSSoapIn it(par_Wsdlfile :="http://wsdl.address")
client.Connecto rProperty("Auth User") = "user"
client.Connecto rProperty("Auth Password") = "pss"
client.Connecto rProperty("Requ estHTTPHeader") = 1
'call method
client.populate
End Sub
please tell me why i keep getting access denied error, and is there any other code or way to call a webservice into Access?..Thanks ..
Private Sub button1_Click()
Dim client As MSOSOAPLib30.So apClient30
Set client = New SoapClient30
Call client.MSSoapIn it(par_Wsdlfile :="http://wsdl.address")
client.Connecto rProperty("Auth User") = "user"
client.Connecto rProperty("Auth Password") = "pss"
client.Connecto rProperty("Requ estHTTPHeader") = 1
'call method
client.populate
End Sub
please tell me why i keep getting access denied error, and is there any other code or way to call a webservice into Access?..Thanks ..
Comment