Method Invocation Details for <%= @scaffold_service %>#<%= @scaffold_method.public_name %>
<% form_tag(:action => @scaffold_action_name + '_submit') do -%>
<%= hidden_field_tag "service", @scaffold_service.name %>
<%= hidden_field_tag "method", @scaffold_method.public_name %>
<%= select_tag 'protocol', options_for_select([['SOAP', 'soap'], ['XML-RPC', 'xmlrpc']], params['protocol']) %>
<% if @scaffold_method.expects %>
Method Parameters:
<% @scaffold_method.expects.each_with_index do |type, i| %>
<%= method_parameter_input_fields(@scaffold_method, type, "method_params", i) %>
<% end %>
<% end %>
<%= submit_tag "Invoke" %>
<% end -%>
<%= link_to "Back", :action => @scaffold_action_name %>