search for: activewebservice

Displaying 7 results from an estimated 7 matches for "activewebservice".

2006 Jan 12
1
activewebservice::struct
...onWebService::API::Base api_method :list_galleries, :expects=>[{:login=>:string}], :returns => [[Gallery]] end But the ActiveRecord object exposes a lot more than I really want to return via the web service. So I''m told I should dervice something from ActiveWebService::Struct, which I did: class awsGallery < ActionWebService::Struct member :id, :int end I can''t for the life of me get this to work. I''ve called it awsGallery.rb and stuck it in app/models. I''ve changed the web service accordingly: class WxApiApi < ActionWebS...
2008 Apr 19
1
Problem with Active Web Service on InstantRails
Hi, I''m trying to install and use activewebservice on Rails 2.0.2(using instantrails) the gem install activewebservice finished succesfully. walked through the steps listed at: http://www.texperts.com/2007/12/21/using-action-web-service-with-rails-20/ when I try to start mongrel I get the following trace ** Starting Mongrel listening at 0.0.0.0:3...
2006 Mar 01
2
Rails and Service Oriented Architecture (SOA)
I''ve been asked to look into Service Oriented Architecture (SOA) before we embark on a major re-development (in Ruby on Rails). Can anyone point me to any resources about SOA in combination with Rails ? Concrete examples of how SOA was applied to a particular problem would be very welcome. My investigations so far lead me to believe that SOA is really about gluing together
2005 Dec 31
1
Web Services -- authentication?
I''ll be implementing a WS backend to an application which requires user authentication to login. Can this same authentication method (based on the salted hash login generator) be used to authenticate web service access? Or, should some other authentication method be used? i.e. each user must retrieve an authentication token manually before setting something up to use web services.
2006 Mar 17
2
SOA on rails...
We are in the process of evaluating new development frameworks for our future development platform. We currently use php and are evaluating Java, Ruby, Mono and .NET. We really like Ruby but unfortunately, we are having a hard time implementing our layered Service Oriented Architecture using Ruby due to the view being tightly bound to the ActiveRecord objects. Although we love all the great
2006 Jan 05
3
ActiveRecord model classes not allowed in :expects
Hi, I have a strange problem while using WebService API which expects an ActiveRecord derivate. This is the code of the API ... ------ class HarvesterApi < ActionWebService::API::Base api_method :send_measurand, :expects => [{:measurand => Measurand}, {:eaiSystemName => :string}] end ------ ... and this of my Model ------ class Measurand < ActiveRecord::Base
2006 Apr 17
5
XML-RPC Webservice API
Hi, After following the excellent tutorials in the Agile Web Development with Rails book, I was able to get my webservice working pretty much perfectly :) I can access it via SOAP and XML-RPC and look at service.wsdl to find the API. What I can''t do however is get the API for the XML-RPC call. It fails with : Internal protocol error: NilClass is not a valid input stream. It must