Displaying 2 results from an estimated 2 matches for "dogooglesearch".
2005 Dec 21
1
ActionWebService and WSDL
The suggested approach for developing a web service using
ActionWebService appears to be start by defining the API you want and
then you can generate WSDL. I want to start from WSDL. I''ve tried
wsdl2ruby but the Ruby code it generates does not appear to play well
with Rails. Is there a way I can get what I want? I''m new at this so if
the answer is a forehead slapper,
2006 Jun 27
0
Calling SOAP based Web Services over SSL
...def googleSearch
soap_client =
SOAP::WSDLDriverFactory.new("http://api.google.com/GoogleSearch.wsdl")
driver = soap_client.create_rpc_driver
driver.generate_explicit_type = true
query=params[:query]
key = "this is the place for my key"
@retVal = driver.doGoogleSearch(key, query, 0, 10, false,"", false,
"", "", "")
rescue Exception => exc
logger.error("Error occurred in googleSearch:" + exc.message)
end
*******************************************************************
Ok, so I then tried to use...