Edgar Gonzalez
2006-Feb-06 15:56 UTC
[Rails] How to pass an additional parameter from the url to a xmlrpc service?
guys, I have a RoR App with a xmlrpc service, which attende a several clients recently I need to change the xmlrpc service in order to provide an additional parameter from the clients, but I don?t want to force a change in the clients''s xmlrpc code, so is possible to pass this additional parameter in the url? every client append his own new parameter to the url to access the xmlrpc service, something like: http://myapp/xmlrpc_controller/api/new_parameter is possible to pass a parameter from the url (via routes) to the xmlrpc service ? Thx -- Edgar Gonz?lez Gonz?lez E-mail: edgargonzalez@gmail.com -- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060206/372c6ea9/attachment.html
Tom Mornini
2006-Feb-06 17:07 UTC
[Rails] How to pass an additional parameter from the url to a xmlrpc service?
I''d create a new version of the interface and specification, keep the old interface running, and if your clients wnat the new functionality, they should migrate to the new service with attendant changes to their code. Your solution might work once, but how long will you keep ''extending'' your interface in the same way? -- -- Tom Mornini On Feb 6, 2006, at 7:56 AM, Edgar Gonzalez wrote:> guys, > > I have a RoR App with a xmlrpc service, which attende a several > clients > > recently I need to change the xmlrpc service in order to provide an > additional parameter from the clients, but I don?t want to force a > change in the clients''s xmlrpc code, so is possible to pass this > additional parameter in the url? every client append his own new > parameter to the url to access the xmlrpc service, something like: > > http://myapp/xmlrpc_controller/api/new_parameter > > is possible to pass a parameter from the url (via routes) to the > xmlrpc service ? > > Thx > > > -- > Edgar Gonz?lez Gonz?lez > E-mail: edgargonzalez@gmail.com > -- > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060206/a0f9ab11/attachment.html
Maybe Matching Threads
- validates_unlike plugin
- Specs don''t find modules when using the secure_actions or ssl_requirement plugin
- Problem with GetText 1.6.0 - undefined method ''N_''
- FeedValidator :: validating feeds RSS or ATOM
- How to spec routes for a resource nested in multiples resources?