1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionwebservice/TODO
Leon Breedt 418d487020 refactoring:
* move dispatching out of the Container into Dispatcher, it makes more sense
    for Container to only contain the list of web services defined
    in it.

  * collapse Wsdl and ActionController "routers" into
    an ActionController-specific module, no advantage
    to having them seperate as they were quite tightly
    coupled. rename to Dispatcher, to avoi
    confusion with Routing.

  * add a "_thing" suffix to concept-specific filenames. this is so that
    we don't end up with many soap.rb files, for example.

  * remove "virtual invocation" support. adds complexity, and it doesn't
    seem to add any value.


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@679 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 08:29:42 +00:00

44 lines
1.8 KiB
Text

= 0.4.0 Tasks
- add ActiveRecord-like logging that includes timing information
= Post-0.4.0 Tasks
- support namespaced custom types in WSDL in a way that interoperates
with .NET (.NET croaks on '::' currently). perhaps a transform
that maps Ruby::Class to Ruby.Class and back.
- relax type-checking for XML-RPC, and perform casts between base types if there
are mismatches (i.e. String received when Integer expected, or vice-versa)
- support XML-RPC's "handler." method namespacing. perhaps something like:
class BloggingServices < ActionWebService::LayeredService
def initialize(request)
@request = controller.request
end
web_service :mt {MTService.new(@request)}
web_service :blogger {BloggerService.new(@request)}
web_service :metaWeblog {MetaWeblogService.new(@request)}
end
class ApiController < ApplicationController
web_service_dispatching_mode :delegated
web_service :xmlrpc { BloggingServices.new(@request) }
end
- verify that cookie support works, and add cookie-authenticated
service examples. test with .NET.
= Low priority tasks
- add better type mapping tests for XML-RPC
- add tests for ActiveRecord support (with mock objects?)
= Refactoring
- Find an alternative way to map interesting types for SOAP (like ActiveRecord
model classes) that doesn't require creation of a sanitized copy object with data
copied from the real one. Ideally this would let us get rid of
ActionWebService::Struct altogether and provide a block that would yield the
attributes and values. "Filters" ? Not sure how to integrate with SOAP though.
- Don't have clean way to go from SOAP Class object to the xsd:NAME type
string -- NaHi possibly looking at remedying this situation