<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>Recent Posts in 'Help with XML' | Pragmatic Forums</title>
    <link>http://fora.pragprog.com/forums/66/topics/599</link>
    <language>en-us</language>
    <ttl>60</ttl>
    <description></description>
    <item>
      <title>Help with XML posted by Sam Ruby @ Mon, 21 Jul 2008 13:01:11 -0000</title>
      <description>&lt;p&gt;Having myself been caught up in the Web Services and &lt;span class="caps"&gt;SOAP&lt;/span&gt; craze a few years back, I understand the appeal of having your requests &amp;#8220;generated&amp;#8221; for you.  But I&amp;#8217;ve since reformed, and co-authored a book on &lt;span class="caps"&gt;REST&lt;/span&gt; and strongly suggest to everybody who will listen that they resist that urge.&lt;/p&gt;


	&lt;p&gt;Generating &lt;span class="caps"&gt;XML&lt;/span&gt; is easy using &lt;a href="http://builder.rubyforge.org/"&gt;builder&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;There are no separate schemas to worry about, and you have full control over the element names.&lt;/p&gt;</description>
      <pubDate>Mon, 21 Jul 2008 13:01:11 -0000</pubDate>
      <guid isPermaLink="false">fora.pragprog.com:66:599:3726</guid>
      <author>Sam Ruby</author>
      <link>http://fora.pragprog.com/forums/66/topics/599</link>
    </item>
    <item>
      <title>Help with XML posted by Mikhail Shokhirev @ Sat, 19 Jul 2008 16:23:30 -0000</title>
      <description>&lt;p&gt;Stephen, can you give an example of the &lt;span class="caps"&gt;XML&lt;/span&gt; document to be generated and sent?&lt;/p&gt;</description>
      <pubDate>Sat, 19 Jul 2008 16:23:30 -0000</pubDate>
      <guid isPermaLink="false">fora.pragprog.com:66:599:3704</guid>
      <author>Mikhail Shokhirev</author>
      <link>http://fora.pragprog.com/forums/66/topics/599</link>
    </item>
    <item>
      <title>Help with XML posted by Stephen Beck @ Thu, 26 Jun 2008 16:52:41 -0000</title>
      <description>&lt;p&gt;I bought the book hoping to see more on &lt;span class="caps"&gt;REST&lt;/span&gt;, hope it makes it to the final copy.&lt;/p&gt;


	&lt;p&gt;I need to create &lt;span class="caps"&gt;XML&lt;/span&gt; in Rails and &lt;span class="caps"&gt;POST&lt;/span&gt; to a remote service. I have researched on&lt;br /&gt;the Web and see all sorts of good info, but nothing covering this scenario. I found&lt;br /&gt;a blog on comsuming via &lt;span class="caps"&gt;REXML&lt;/span&gt; and Xpath, which is ok I guess for parsing response,&lt;br /&gt;but I want to generate the request first, obviously :-).&lt;/p&gt;


	&lt;p&gt;ActiveResource does it if you are staying inside Ruby, but I&amp;#8217;m not. I need to send&lt;br /&gt;a RESTful &lt;span class="caps"&gt;XML&lt;/span&gt; doc via &lt;span class="caps"&gt;HTTP POST&lt;/span&gt; to a remote point. How do I define the &lt;span class="caps"&gt;XML&lt;/span&gt;,&lt;br /&gt;populate it and &lt;span class="caps"&gt;POST&lt;/span&gt;? I created a db with &lt;span class="caps"&gt;XML&lt;/span&gt; elements close to what the remote&lt;br /&gt;point is expecting as a prototype, but RoR dinks with the element names and the&lt;br /&gt;&lt;span class="caps"&gt;XML&lt;/span&gt; schema is not exactly the same.&lt;/p&gt;


	&lt;p&gt;Thanks,&lt;br /&gt;Steve&lt;/p&gt;</description>
      <pubDate>Thu, 26 Jun 2008 16:52:41 -0000</pubDate>
      <guid isPermaLink="false">fora.pragprog.com:66:599:3366</guid>
      <author>Stephen Beck</author>
      <link>http://fora.pragprog.com/forums/66/topics/599</link>
    </item>
  </channel>
</rss>
