diff options
author | Paul Duncan <pabs@pablotron.org> | 2021-10-14 12:47:50 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2021-10-14 12:47:50 -0400 |
commit | 4b6c0e31385f5f27a151088c0a2b614495c4e589 (patch) | |
tree | 12243cdcd00704bc1a9d94ac9cc128459417370c /content/posts/2004-10-25-official-raa-soap-wsdl.html | |
download | pablotron.org-4b6c0e31385f5f27a151088c0a2b614495c4e589.tar.bz2 pablotron.org-4b6c0e31385f5f27a151088c0a2b614495c4e589.zip |
initial commit, including theme
Diffstat (limited to 'content/posts/2004-10-25-official-raa-soap-wsdl.html')
-rw-r--r-- | content/posts/2004-10-25-official-raa-soap-wsdl.html | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/content/posts/2004-10-25-official-raa-soap-wsdl.html b/content/posts/2004-10-25-official-raa-soap-wsdl.html new file mode 100644 index 0000000..a999617 --- /dev/null +++ b/content/posts/2004-10-25-official-raa-soap-wsdl.html @@ -0,0 +1,44 @@ +--- +date: "2004-10-25T03:34:30Z" +title: '"Official" RAA SOAP WSDL' +--- + +<p> +The "official" <a href='http://raa.ruby-lang.org'><acronym title='Ruby +Application Archive'>RAA</acronym></a> <acronym title='Simple Object Access Protocol'>SOAP</acronym> <acronym title='Web Services Description Language'>WSDL</acronym> is at the following <acronym title='Uniform Resource Identifier'>URI</acronym>: +</p> + +<blockquote cite='Email from nakahiro@sarion.co.jp'> +<code> +<a href='http://www.ruby-lang.org/xmlns/soap/interface/RAA/0.0.4/'>http://www.ruby-lang.org/xmlns/soap/interface/RAA/0.0.4/</a></code> +</blockquote> + +<p> +Why am I posting this here? Because I had a <em>hell</em> of a time finding it. The old <code>raa-xml.xml</code> and <code>raa-rdf.rdf</code> links were broken, the <a href='http://raa.ruby-lang.org/'><acronym title='Ruby Application Archive'>RAA</acronym></a> sample code included with <a href='http://ruby-lang.org/'>Ruby</a> 1.8 wasn't undocumented (and didn't work for me the first time around), and <a href='http://google.com/'>googling</a> for the answer didn't turn up squat. Here's a brief example of how to use the <acronym title='Web Services Description Language'>WSDL</acronym> <acronym title='Uniform Resource Identifier'>URI</acronym> above with the <code>WSDLDriverFactory</code> class included with <a href='http://ruby-lang.org/'>Ruby</a> 1.8: +</p> + +<blockquote> + <pre><code> +require 'soap/wsdlDriver' + +WSDL_URI = 'http://www.ruby-lang.org/xmlns/soap/interface/RAA/0.0.4/' + +# connect to RAA and create SOAP proxy object +raa = SOAP::WSDLDriverFactory.new(WSDL_URI).create_driver + +# get a list of packages +pkg_list = raa.names + +# get a tree of packages grouped by major/minor category +pkg_tree = raa.tree_by_category + +# get information about a specific package (gem) +info = raa.gem('rubilicious') + + </code></pre> +</blockquote> + +<p> +If you're interested, <a href='http://rubyforge.org/pipermail/rubygems-developers/2004-October/001140.html'>this post</a> to the <a href='http://rubyforge.org/pipermail/rubygems-developers/'>RubyGems Developers mailing list</a> has a more detailed summary of the problems I had tracking down this simple bit of information. +</p> + |