grid_rest is a gem that makes your rails application interact with other backends through a REST interface. It is build in a situation where one rails application was talking to 2 java backends. The main development focus is JSON communication, but XML should be just as easy
Gemfile gem 'grid_rest', '~> 0.0.6'
install gem install grid_rest