Help with XML
Stephen Beck
1 post
|
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 ActiveResource does it if you are staying inside Ruby, but I’m not. I need to send Thanks, |
Mikhail V. S...
17 posts
|
Stephen, can you give an example of the XML document to be generated and sent? |
Sam Ruby
196 posts
|
Having myself been caught up in the Web Services and SOAP craze a few years back, I understand the appeal of having your requests “generated” for you. But I’ve since reformed, and co-authored a book on REST and strongly suggest to everybody who will listen that they resist that urge. Generating XML is easy using builder There are no separate schemas to worry about, and you have full control over the element names. |
3 posts, 3 voices
