XMLRPC raw_post getting run through Hash#from_xml


#1

Im trying to create an api, and Im having trouble getting
ActionController to not run the raw post data through Hash#from_xml
(request.parse_formatted_request_parameters) for the XMLRPC post data.

I essentially want it to run through
XMLRPC::XMLParser::REXMLStreamParser.new.parseMethodCall(request.raw_post).

However, I can’t figure out a clever, clean way to get
request.request_parameters to not run since it can run as early as the
dispatcher, which will essentially trigger Hash#from_xml on that call
before it even gets into the scope of the controller.

Anyone experience a problem like this before?

Granted I can just let Hash#from_xml run and add a couple msec’s to
every call for no reason, but there should be a way around it.