>Hi all,
>
>I am trying to use the code below to access the google webservice
>
>LOCAL loWS as "Wsclient" OF "_Webservices.vcx"
>LOCAL lcKey
>
>loWS=NEWOBJECT("Wsclient","_Webservices.vcx")
>loWS.cWsname="Google"
>oGoogle=loWS.SetupClient("
http://api.google.com/GoogleSearch.wsdl","GoogleSearchService","GoogleSearchPort")
>
>loResult=oGoogle.doGoogleSearch('MyPassword','Sometexttosearch',0,1,.f.,'',.f.,'','','')
>
>
>everything works ok until it hits the doGoogleSearch line. There it searches for about 30 seconds and I get a Ole error 0x80004005 and that's it.
>If I try the .Net examples from Google everthing works ok.
>
>Any help please,
>
Hi Guillaume,
The first parameter in doGoogleSearch method is your Google Web APIs license key, not your password.
--sb--