Hi All, I am creating one webservice in ror.I have one function called sum(int1,int2) and it''s working fine to show output.Now i wanna save the value of int1 and int2 into database through my webservices. But i am getting error badconnect.I configured database.yml file too.Please tell me suggestion i wanna use ActionwebService and Active Record together. Can i do this.If yes,then how? Looking for your suggestion gyes. Help me. Thanks Varun Goel -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Frederick Cheung
2008-Apr-10 12:29 UTC
Re: problem with ActiveRecord and ActionWebService?
On 10 Apr 2008, at 13:19, Varun Goel wrote:> > Hi All, > I am creating one webservice in ror.I have one function called > sum(int1,int2) and it''s working fine to show output.Now i wanna save > the > value of int1 and int2 into database through my webservices. > But i am getting error badconnect.I configured database.yml file > too.Please tell me suggestion i wanna use ActionwebService and Active > Record together.Does sound like a problem, but i think you''ll need to tell us a little more in order to pinpoint where the problem is. Fred> > Can i do this.If yes,then how? > Looking for your suggestion gyes. > Help me. > Thanks > Varun Goel > -- > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Frederick Cheung wrote:> On 10 Apr 2008, at 13:19, Varun Goel wrote: > >> >> Hi All, >> I am creating one webservice in ror.I have one function called >> sum(int1,int2) and it''s working fine to show output.Now i wanna save >> the >> value of int1 and int2 into database through my webservices. >> But i am getting error badconnect.I configured database.yml file >> too.Please tell me suggestion i wanna use ActionwebService and Active >> Record together. > > Does sound like a problem, but i think you''ll need to tell us a little > more in order to pinpoint where the problem is. > > FredHi Fred, Thanks for ur reply.Actually i have my webservices that i am using with my application both in ror.Now what ever parameter i will pass with webservice function that should save into database.i configure databse.yml and everything but still showing problem.Tell me the reason. Thanks Varun -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Frederick Cheung
2008-Apr-10 13:49 UTC
Re: problem with ActiveRecord and ActionWebService?
On 10 Apr 2008, at 14:19, Varun Goel wrote:> > Frederick Cheung wrote: >> On 10 Apr 2008, at 13:19, Varun Goel wrote: >> >>> >>> Hi All, >>> I am creating one webservice in ror.I have one function called >>> sum(int1,int2) and it''s working fine to show output.Now i wanna save >>> the >>> value of int1 and int2 into database through my webservices. >>> But i am getting error badconnect.I configured database.yml file >>> too.Please tell me suggestion i wanna use ActionwebService and >>> Active >>> Record together. >> >> Does sound like a problem, but i think you''ll need to tell us a >> little >> more in order to pinpoint where the problem is. >> >> Fred > > Hi Fred, > Thanks for ur reply.Actually i have my webservices that i am > using with my application both in ror.Now what ever parameter i will > pass with webservice function that should save into database.i > configure > databse.yml and everything but still showing problem.Tell me the > reason. > Thanks > VarunI don''t have the faintest clue, because I haven''t seen a single line of code, I don''t know how you are attempting to use the webservice, exactly what error is returned, who is raising the error (ie is the the app providing the web service that can''t connect to the db or is it the app making the webservice call that cannot connect to the app providing the web service). Or to summarise, no one here is psychic and we can''t guess what you''re actually doing. Fred --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---