diff options
author | Leon Breedt <bitserf@gmail.com> | 2005-04-05 22:29:01 +0000 |
---|---|---|
committer | Leon Breedt <bitserf@gmail.com> | 2005-04-05 22:29:01 +0000 |
commit | 642713358400c186a41856c5464a232a20d0ebd1 (patch) | |
tree | 67aff084cff8755a60b1cf975fcae2dfbed8db17 /actionwebservice/lib/action_web_service/templates | |
parent | 1155ea0aa3c25b4683c6343162cd49dbe0fec094 (diff) | |
download | rails-642713358400c186a41856c5464a232a20d0ebd1.tar.gz rails-642713358400c186a41856c5464a232a20d0ebd1.tar.bz2 rails-642713358400c186a41856c5464a232a20d0ebd1.zip |
support SOAP invocation of layered services in scaffolding too, fix bug when
method takes no parameters
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1098 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionwebservice/lib/action_web_service/templates')
-rw-r--r-- | actionwebservice/lib/action_web_service/templates/scaffolds/parameters.rhtml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/actionwebservice/lib/action_web_service/templates/scaffolds/parameters.rhtml b/actionwebservice/lib/action_web_service/templates/scaffolds/parameters.rhtml index f06b0986b4..e7b5f47f03 100644 --- a/actionwebservice/lib/action_web_service/templates/scaffolds/parameters.rhtml +++ b/actionwebservice/lib/action_web_service/templates/scaffolds/parameters.rhtml @@ -9,6 +9,8 @@ <%= select_tag 'protocol', options_for_select([['SOAP', 'soap'], ['XML-RPC', 'xmlrpc']], @params['protocol']) %> </p> +<% if @scaffold_method.expects %> + <strong>Method Parameters:</strong><br /> <% @scaffold_method.expects.each do |type| %> <p> @@ -17,6 +19,8 @@ </p> <% end %> +<% end %> + <%= submit_tag "Invoke" %> <p> |