G
Ganesh Pawar
Hello All,
am new to RoR,I want to convert one of my PHP application to RoR.
I want to sent request search_ByQuery method of radiotime webservice (
http://wiki.radiotime.com/doku.php?id=dev:doc:webservice:guide:start
)
can anyone help me for the same?
search_ByQuery
The code for it is
require "soap/wsdlDriver"
wsdl = "http://services.radiotime.com/RadioTime.asmx?WSDL"
driver = SOAP::WSDLDriverFactory.new(wsdl).create_rpc_driver
param = {"request"=>{"Query"=>"sport"}}---This is the line which is
causing the problem currently
lists = driver.search_ByQuery( param )
lists.each { |list| puts list.listName }
In PHP its workin properly.
am new to RoR,I want to convert one of my PHP application to RoR.
I want to sent request search_ByQuery method of radiotime webservice (
http://wiki.radiotime.com/doku.php?id=dev:doc:webservice:guide:start
)
can anyone help me for the same?
search_ByQuery
The code for it is
require "soap/wsdlDriver"
wsdl = "http://services.radiotime.com/RadioTime.asmx?WSDL"
driver = SOAP::WSDLDriverFactory.new(wsdl).create_rpc_driver
param = {"request"=>{"Query"=>"sport"}}---This is the line which is
causing the problem currently
lists = driver.search_ByQuery( param )
lists.each { |list| puts list.listName }
In PHP its workin properly.