I bought the book hoping to see more on REST, hope it makes it to the final copy.
I need to create XML in Rails and POST to a remote service. I have researched on the Web and see all sorts of good info, but nothing covering this scenario. I found a blog on comsuming via REXML and Xpath, which is ok I guess for parsing response, but I want to generate the request first, obviously :-).
ActiveResource does it if you are staying inside Ruby, but I’m not. I need to send a RESTful XML doc via HTTP POST to a remote point. How do I define the XML, populate it and POST? I created a db with XML elements close to what the remote point is expecting as a prototype, but RoR dinks with the element names and the XML schema is not exactly the same.