<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Paul Codding&#039;s Weblog &#187; RoR</title>
	<atom:link href="http://www.paulcodding.com/blog/category/ror/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.paulcodding.com/blog</link>
	<description>My miscellaneous ramblings and how-to&#039;s</description>
	<lastBuildDate>Sat, 17 Jul 2010 02:59:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Upgrading a large RoR Project from 1.2.6 to 2.0.2</title>
		<link>http://www.paulcodding.com/blog/2008/01/21/upgrading-a-large-ror-project-from-126-to-202/</link>
		<comments>http://www.paulcodding.com/blog/2008/01/21/upgrading-a-large-ror-project-from-126-to-202/#comments</comments>
		<pubDate>Tue, 22 Jan 2008 04:23:12 +0000</pubDate>
		<dc:creator>Paul Codding</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[RoR]]></category>

		<guid isPermaLink="false">http://www.paulcodding.com/blog/2008/01/21/upgrading-a-large-ror-project-from-126-to-202/</guid>
		<description><![CDATA[This evening while upgrading a large Ruby on Rails application that I&#8217;ve been working on for the past year and a half, I ran into some issues upgrading to 2.0.2.  As you may know actionwebservice has been ousted from rails in favor of REST.  For those of us that depend on using SOAP for interoperability [...]]]></description>
			<content:encoded><![CDATA[<p>This evening while upgrading a large Ruby on Rails application that I&#8217;ve been working on for the past year and a half, I ran into some issues upgrading to 2.0.2.  As you may know actionwebservice has been ousted from rails in favor of REST.  For those of us that depend on using SOAP for interoperability with other applications, we need it to work.  After spending a great deal of time googling to remove the following error:</p>
<pre>`report_activate_error':
RubyGem version error: actionpack(2.0.2 not = 1.13.6) (Gem::LoadError)</pre>
<p><br/><br />
I found <a href="http://www.texperts.com/2007/12/21/using-action-web-service-with-rails-20/">this</a> <strong>very</strong> helpful article about getting actionwebservices to run under Rails 2.0.2.  I&#8217;ve yet to see the issues that some other users have seen when using actionwebservices with Rails 2.0.2, but we shall see in the coming days of using it.  One thing I had to do that I didn&#8217;t really like was to freeze the rails gems into the project.  I would rather not have them in my subversion repository.Another issue encountered was with installing gems that needed compilation on my OS X Leopard machine.  Luckily I found a great article detailing the use of the <code>ARCHFLAGS</code> environmental variable.  So to install my postgres gem all I had to do was this:</p>
<pre>$ sudo -s# export ARCHFLAGS="-arch i386"# gem install postgres</pre>
<p>After that, the gem was installed and I no longer received any compile time errors.  This stems from the universal binary support mechanism in OS X.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.paulcodding.com/blog/2008/01/21/upgrading-a-large-ror-project-from-126-to-202/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Utilizing Ruby on Rails Web Services with Java</title>
		<link>http://www.paulcodding.com/blog/2007/03/31/utilizing-ruby-on-rails-web-services-with-java/</link>
		<comments>http://www.paulcodding.com/blog/2007/03/31/utilizing-ruby-on-rails-web-services-with-java/#comments</comments>
		<pubDate>Sun, 01 Apr 2007 03:29:24 +0000</pubDate>
		<dc:creator>Paul Codding</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[RoR]]></category>

		<guid isPermaLink="false">http://www.paulcodding.com/blog/?p=4</guid>
		<description><![CDATA[As part of a project I&#8217;m currently working on, I&#8217;ve had to integrate a RoR application with another developer&#8217;s Java code. At first glance, things looked to be fairly simple as I envisioned a simple Web Service communication between Java and Ruby would be a breeze&#8230;not so fast. Getting the two to play nice with [...]]]></description>
			<content:encoded><![CDATA[<p>As part of a project I&#8217;m currently working on, I&#8217;ve had to integrate a RoR application with another developer&#8217;s Java code.  At first glance, things looked to be fairly simple as I envisioned a simple Web Service communication between Java and Ruby would be a breeze&#8230;not so fast.  Getting the two to play nice with each other took some time as I was unaware that RoR only supports the RPC/encoded style/use and not Document/literal.  After getting a prototyped client written read using <a href="http://www.springframework.org/spring-ws">Spring-ws</a> (does not support RPC/encoded) I quickly found out that it was going to go nowhere fast.  I ended up choosing to use <a href="http://ws.apache.org/axis/">Apache Axis</a> as I&#8217;ve used it for a previous project, and I knew for sure it supported RPC/encoded.</p>
<p>Part of the reason for this blog is to share information from developer to developer issues that I&#8217;ve encountered that have either been unable or too busy to find solutions to.  In this case my solution is to let the reader know that the best bet client to use when consuming RoR web services in Java is <a href="http://ws.apache.org/axis/">Apache Axis</a>.  If anyone would enjoy a code example or two I&#8217;d be glad to oblige&#8230;although the artifacts generated by Axis 1.4 are fairly involved, the process is fairly easy especially when using the <a href="http://www.soapui.org/">SoapUI tool</a> to generate the artifacts based on the RoR WSDL e.g. http://localhost:3000/web_service_name/service.wsdl .</p>
]]></content:encoded>
			<wfw:commentRss>http://www.paulcodding.com/blog/2007/03/31/utilizing-ruby-on-rails-web-services-with-java/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

