diff options
author | Leon Breedt <bitserf@gmail.com> | 2005-02-18 21:22:52 +0000 |
---|---|---|
committer | Leon Breedt <bitserf@gmail.com> | 2005-02-18 21:22:52 +0000 |
commit | fdecb6843ba8c5b0f718225f343017e11fa7f711 (patch) | |
tree | b8bd2050955bbc528ee23f3d42a18ee31d5f9833 /actionservice/examples/googlesearch/delegated | |
parent | 5dcbe933dfd34bb799ee370792b6066f6d6ceaac (diff) | |
download | rails-fdecb6843ba8c5b0f718225f343017e11fa7f711.tar.gz rails-fdecb6843ba8c5b0f718225f343017e11fa7f711.tar.bz2 rails-fdecb6843ba8c5b0f718225f343017e11fa7f711.zip |
rename service* to web_service*.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@668 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionservice/examples/googlesearch/delegated')
-rw-r--r-- | actionservice/examples/googlesearch/delegated/google_search_service.rb | 4 | ||||
-rw-r--r-- | actionservice/examples/googlesearch/delegated/search_controller.rb | 4 |
2 files changed, 3 insertions, 5 deletions
diff --git a/actionservice/examples/googlesearch/delegated/google_search_service.rb b/actionservice/examples/googlesearch/delegated/google_search_service.rb index 84faf220ae..da7f8f4529 100644 --- a/actionservice/examples/googlesearch/delegated/google_search_service.rb +++ b/actionservice/examples/googlesearch/delegated/google_search_service.rb @@ -1,5 +1,3 @@ -require 'action_service' - class DirectoryCategory < ActionService::Struct member :fullViewableName, :string member :specialEncoding, :string @@ -52,7 +50,7 @@ class GoogleSearchAPI < ActionService::API::Base end class GoogleSearchService < ActionService::Base - service_api GoogleSearchAPI + web_service_api GoogleSearchAPI def doGetCachedPage(key, url) "<html><body>i am a cached page</body></html>" diff --git a/actionservice/examples/googlesearch/delegated/search_controller.rb b/actionservice/examples/googlesearch/delegated/search_controller.rb index 58c8321ef2..6525921b5a 100644 --- a/actionservice/examples/googlesearch/delegated/search_controller.rb +++ b/actionservice/examples/googlesearch/delegated/search_controller.rb @@ -2,6 +2,6 @@ require 'google_search_service' class SearchController < ApplicationController wsdl_service_name 'GoogleSearch' - service_dispatching_mode :delegated - service :beta3, GoogleSearchService.new + web_service_dispatching_mode :delegated + web_service :beta3, GoogleSearchService.new end |