Forum: Ruby on Rails XMLRPC raw_post getting run through Hash#from_xml

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
525128e48ca2b4c7fb6176ea166fccfd?d=identicon&s=25 Eric G. (gotskill10)
on 2009-05-09 05:44
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.
This topic is locked and can not be replied to.