Frederick Cheung wrote:
> On 5 May 2008, at 12:44, joel wrote:
> 
>> However, I'm getting this error from Rails :
>>
>> uninitialized constant SandboxController::XMLRPC
>>
>> Being a newbie to rails and webservices, I can't figure out how to
>> solve this.
>>
> Sounds like you're just missing 
> http://ruby-doc.org/stdlib/libdoc/xmlrpc/rdoc/classes/XMLRPC/Client.html
> 
> Just require that library and you should be ok.
> 
> Fred



Its working when u give the statement

 require 'xmlrpc/client'

before the  server call to the xmlrpc in the controller.

I got this the latitude and longtitude values of the address in the 
xmlrpc
but how to do with in the html pages, and how to get the values for the 
address from db.

thanks

-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to