Displaying 16 results from an estimated 16 matches similar to: "Calling a SOAP service from within a Rails controller"
2006 Jun 19
2
is there a ''Markaby_scaffold'' available?
I discovered Markaby recently, and am loving it! I''m generating scaffolds,
then converting them to Markaby ''.mab'' files. It got me wondering... Has
anyone written a plugin to generate scaffolds in Markaby, yet?? That would
be truly awesome if there was on out there already.
--
Best Regards,
-Larry
"Work, work, work...there is no satisfactory
2006 Aug 04
3
Web service sessions
I want to use ruby on rails entirely as an xml-rpc web service server.
I.e. it will only be called by clients making xml-rpc requests. What I
want to to is be able to use something like the session[] functionality
for storing session information. However, storing information in the
session[] construct requires that the client be a web browser with
cookies enabled. Does anyone know of a
2006 May 15
3
where do I put this test?
I''m trying to use TDD on a Rails app. So far (6 hours into it) things
are going well.
My data model is starting to get a little more complex now. I now
have two related tables and I want to make sure my tests cover input
validation, record creation, and the proper creation of the foreign key.
Do I put this into a test unit for the parent table''s model?
Or do I test this
2006 Jan 31
0
webservice problem (cant make client)
hey, i have made a webservice
http://twodecode.pilot.localhost.be:3000/backend/wsdl
here i can see the wsdl file
i have a method string Authenticate(string twa, string login, string pass)
when i do /invoke i can test it, this all works
backend_api.rb
class BackendApi < ActionWebService::API::Base
api_method :authenticate,
:expects => [{:twa =>:string},{:login
2006 Jun 10
8
OT: Good virtual server host with debian?
Hey all,
I''m casually shopping around for a host that will give me a virtual
server running Debian. It would host some of my rails projects and
probably some svn.
Does anyone know of a good host? Anecdotes about satisfaction would be
nice.
Thanks,
Bryan
--
Posted via http://www.ruby-forum.com/.
2006 Jun 05
3
Best practices with Web Services
Hello--
I''m investigating the API facet of my site and wanted to ask a couple
questions:
1. The Agile book describes adding an API using the web_services
generator which adds stuff to app/api. In Rails 1.1, Jamis added some
wants.xml stuff to the controller code which also allows API generation.
Which is better to use now? Do they mutually exclude one another?
2. In some cases, I
2006 Apr 21
3
Documenting web services API''s
Sorry to have to post this again - it was probably under the wrong
subject and went unnoticed.
Is there a standard for providing user documentation for methods that
I expose through we services?
The default documentation (method names and return types) that
appears when the user visits http://localhost:3000/backend/invoke is
concise and correct, but a bit terse. How can I give my users a little
2005 May 17
7
Basecamp API
Seeing as how the new Basecamp API reflects a similar use of RoR that
I have been working on I''m curious as to what we can expect to be
extracted from there in 0.13?
Was the API written as an ActionWebService or just as a set of controllers?
Any generic AR xml parsing/output methods that we may see in 0.13?
Any reason you decided to do everything with HTTP Get instead of
utilizing
2006 May 14
12
Is there a place for java in Ruby on Rails apps?
Hi all,
I''m asking this question from the standpoint of a developer with almost 10
years experience with Microsoft technologies, mostly doing server side
component and database work. So, I''m not very familiar with the java
world. Can anyon tell me how/if java development can complement Ruby on
Rails development? I''m not interested in how java can duplicate Rails
2006 Jul 07
5
link_to: link is missing id
I''m using a legacy table, where the unique id is not ''id''
I have a Model class like the following:
class Article < ActiveRecord::Base
set_primary_key "ARTICLE_ID"
end
however, using a link_to like the following (modified scaffolding),
the link has no id value:
<% for article in @articles %>
<tr>
<% for column in
2006 Feb 28
0
Dallas Ruby Brigade meets March 7th
The Dallas Ruby Brigade begins!
Following in the proud tradition of Seattle.rb, NYC.rb and many
others, Dallas has joined the crowd with its own local Ruby Brigade.
We''ll be meeting Tuesday, March 7th in Addison. The plan is as follows:
* Meet between 6:45 and 7:00 in the lobby downstairs. Because of the
way security works, you''ll want to be timely in your arrival. At
2005 Dec 30
4
soap4r 1.5.5 seems to break actionWebService tests
Hi,
I just upgraded to soap4r 1.5.5, and now all my Rails Functional tests
for the action_web_services fail as follows, any ideas what I did wrong?
Thanks
TypeError: can''t modify frozen object
/usr/local/lib/ruby/1.8/xsd/qname.rb:78:in `name=''
/usr/local/lib/ruby/1.8/soap/rpc/element.rb:118:in `set_param''
2006 Feb 20
3
Trouble connecting to a Rails SOAP web service with a simple Ruby client
Hi,
The code for my Rails webservice is below. It working just fine
through the Rails web service scaffold invoke
http://localhost:3000/ProductBackend/invoke
I''m trying to write a plain ruby command line client to access the webservice.
require ''soap/rpc/driver''
proxy = SOAP::RPC::Driver.new("http://localhost:3000/product_backend",
2008 Apr 21
1
where is activerecord-oracle-adapter ?
''gem search oracle'' turned up no activerecord-oracle-adapter, why isn''t it
available?
--~--~---------~--~----~------------~-------~--~----~
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
2008 Apr 29
1
Webistrano recipes association (was: [Capistrano] Webistrano 1.3 released)
I see at some point recipes were changed from project-associated to
stage-associated, is there some explanation or examples of that use-case?
Could I request we have both? In my current cap scripts, we don''t have any
stage-specific recipes, but maybe I''m just not understanding this
completely.
On Tue, Apr 29, 2008 at 1:04 PM, Jonathan Weiss
2006 Mar 09
22
How to scale mysql servers for a rails application?
I''m a developer working on an application that will potentially be
used by around 500,000 users on a daily basis. Plus some internal apps
communicating to it via ActionWebServices with a potentially high
demand.
Our Operations team is helping us define the necessary system
architecture, and I have one remaining question:
What is the best way to scale the database? I have no expertise in