diff options
author | Leon Breedt <bitserf@gmail.com> | 2005-04-05 21:37:48 +0000 |
---|---|---|
committer | Leon Breedt <bitserf@gmail.com> | 2005-04-05 21:37:48 +0000 |
commit | 1155ea0aa3c25b4683c6343162cd49dbe0fec094 (patch) | |
tree | 3f51d6a8bb7d64cc71c8546055ca03c906cd3d7a /actionwebservice/README | |
parent | 81014da84c9ae4dacb70287ff6f509d7a40cc0ae (diff) | |
download | rails-1155ea0aa3c25b4683c6343162cd49dbe0fec094.tar.gz rails-1155ea0aa3c25b4683c6343162cd49dbe0fec094.tar.bz2 rails-1155ea0aa3c25b4683c6343162cd49dbe0fec094.zip |
initial go at making :layered dispatching generate WSDL for SOAP, and have
:layered process SOAP method calls correctly as well, may be unstable
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1097 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionwebservice/README')
-rw-r--r-- | actionwebservice/README | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/actionwebservice/README b/actionwebservice/README index d6bcea7534..8f4588cdf9 100644 --- a/actionwebservice/README +++ b/actionwebservice/README @@ -162,11 +162,10 @@ This mode is similar to _delegated_ mode, in that multiple web service objects can be attached to one controller, however, all protocol requests are sent to a single endpoint. -This mode is only usable by XML-RPC. In this mode, method names can contain -_prefixes_, which will indicate which web service object implements the API -identified by that prefix. +Use this mode when you want to share code between XML-RPC and SOAP clients, +for APIs where the XML-RPC method names have prefixes. An example of such +a method name would be <tt>blogger.newPost</tt>. -The _prefix_ can be any word, followed by a period. ==== Layered dispatching example @@ -192,8 +191,8 @@ The _prefix_ can be any word, followed by a period. end -For this example, a remote call for a method with a name like -<tt>mt.getCategories</tt> will be dispatched as the <tt>getCategories</tt> +For this example, an XML-RPC call for a method with a name like +<tt>mt.getCategories</tt> will be sent to the <tt>getCategories</tt> method on the <tt>:mt</tt> service. |