search for: xmlrpccontrol

Displaying 2 results from an estimated 2 matches for "xmlrpccontrol".

2011 Sep 07
3
Method get of ActionController::TestCase ignores routes.rb?
Hi! I''m running into issue which seems to indicate that ActionController::TestCase.get() method ignores what I have in routes.rb. Happens in 3.0.10 and 3.1.0 too. I have the following RSpec2 test of my XmlRpcController#index action: it "should get nothing in response to GET request" do get :index response.response_code.should == 400 #bad_request end And the only line related to this route in routes.rb is: post ''rpc'', :to => "xml_rpc#index" ''rake routes&...
2010 Nov 02
0
webservice - get client ip address
Hi I have the following problem in my application I have in the controller: class XmlrpcController < ApplicationController web_service_dispatching_mode :layered wsdl_service_name ''weblogUpdates.ping'' web_service_scaffold :invoke web_service :weblogUpdates, WeblogUpdates.new end in the api definition file: ------- class WeblogUpdatesApi < ActionWebServi...