2005-02-18 16:22:52 -05:00
|
|
|
= 0.4.0 Tasks
|
|
|
|
- add ActiveRecord-like logging that includes timing information
|
|
|
|
- rename project to 'actionwebservice', Action Web Service
|
|
|
|
|
2005-02-18 05:35:25 -05:00
|
|
|
= Post-0.4.0 Tasks
|
|
|
|
- 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:
|
|
|
|
|
2005-02-18 18:55:29 -05:00
|
|
|
class BloggingServices < ActionWebService::LayeredService
|
2005-02-18 05:35:25 -05:00
|
|
|
def initialize(request)
|
|
|
|
@request = controller.request
|
|
|
|
end
|
|
|
|
|
2005-02-18 16:22:52 -05:00
|
|
|
web_service :mt {MTService.new(@request)}
|
|
|
|
web_service :blogger {BloggerService.new(@request)}
|
|
|
|
web_service :metaWeblog {MetaWeblogService.new(@request)}
|
2005-02-18 05:35:25 -05:00
|
|
|
end
|
|
|
|
|
|
|
|
class ApiController < ApplicationController
|
2005-02-18 16:22:52 -05:00
|
|
|
web_service_dispatching_mode :delegated
|
|
|
|
web_service :xmlrpc { BloggingServices.new(@request) }
|
2005-02-18 05:35:25 -05:00
|
|
|
end
|
|
|
|
|
2005-02-18 18:55:29 -05:00
|
|
|
- supported namespaced custom types in WSDL in a way that interoperates
|
|
|
|
with .NET (.NET croaks on '::' currently)
|
|
|
|
|
|
|
|
- simplification: collapse Router::ActionController, Router::Wsdl
|
|
|
|
and API::ActionController into Container::ActionController.
|
|
|
|
the seperation has gained us nothing.
|
|
|
|
|
2005-02-18 05:35:25 -05:00
|
|
|
= 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
|
2005-02-18 18:55:29 -05:00
|
|
|
ActionWebService::Struct altogether and provide a block that would yield the
|
2005-02-18 05:35:25 -05:00
|
|
|
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
|