Method Invocation Details for <%= @scaffold_service %>#<%= @scaffold_method.public_name %>
<%= form_tag :action => @scaffold_action_name + '_submit' %>
<%= 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 %>
<% i = 0 %>
Method Parameters:
<% @scaffold_method.expects.each do |type| %>
<%= method_parameter_input_fields(@scaffold_method, type, "method_params[#{i}]") %>
<% i += 1 %>
<% end %>
<% end %>
<%= submit_tag "Invoke" %>
<%= link_to "Back", :action => @scaffold_action_name %>