###Intro Tests were run against localhost. The SOAP server is Fuse ESB (Apache Servicemix) with the 'cxf-osgi' example that provides a dirt simple HelloWorld. The CXF route utilizes the strategy outlined here: https://gist.github.com/1289254 and I've appended my dao code for the hell of it. The not showing bits are the generated sources from CXF
###Versions JRuby was 1.6.3 w/ --1.9. MRI Ruby was 1.9.2-p290. REE ree-1.8.7-2011.03. Rubinius was rbx-head via rvm. It choked on the threaded text, and macruby would run neither test. Apache CXF was 2.3.7.
####Details I ran everything on my Macbook Pro, 2.4GHz Core i5 w/8GB of RAM.
###Issues I continually ran into issues with Savon.
-
I would pretty consistently get what seemed to be threading issues with Nokogiri. This seemed to get alleviated by removing the WSDL parse step and just setting the namespace/endpoint directly, which as a caveat, is the recommended performant way according to the Savon docs. I used version 0.9.7 for my tests.
-
httpi which Savon uses throws errors when threaded.
NameError: uninitialized constant HTTPClient
I'm not sure what the root semantics causing this is, but the lib/httpi/adapter/httpclient.rb file references the httpclient class without requiring it. I suspect it works generally because there's an assumption that whatever has required the adapter has required httpclient. When I added the require statement to the adapter, this seemed to fix the issue.