Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem accessing Google
Message
 
 
To
28/04/2003 06:26:58
General information
Forum:
Visual FoxPro
Category:
Web Services
Miscellaneous
Thread ID:
00782149
Message ID:
00782203
Views:
11
>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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform