class MessageBrokerController < ActionController::Base def process(request, response) response.headers['Content-Type'] = 'text/xml' session = request.session Seamless::Dispatcher.instance.incoming(session,request,response) Seamless::Dispatcher.instance.serialize(session,response.body) session.close response end end