[Techtalk] Libraries that make SOAP simpler

Kelly Jones kelly.terry.jones at gmail.com
Fri Nov 28 01:18:12 UTC 2008

Here's a SOAP request example
(http://www.w3schools.com/soap/soap_example.asp) for a stock's current

== CUT HERE ==

POST /InStock HTTP/1.1
Host: www.example.org
Content-Type: application/soap+xml; charset=utf-8
Content-Length: nnn

<?xml version="1.0"?>

<soap:Body xmlns:m="http://www.example.org/stock">

== CUT HERE ==

The return packet is equally verbose/complex.

Is there a Ruby/Perl/PHP library that turns the above into:

$res = object("http://www.example.org/stock/InStock").GetStockPrice("IBM")

and returns the result in to $res?

For all its fanciness, SOAP just seems like a way to call methods on
objects on the web. Is there a library/interface that lets me use it
like that?

We're just a Bunch Of Regular Guys, a collective group that's trying
to understand and assimilate technology. We feel that resistance to
new ideas and technology is unwise and ultimately futile.

More information about the Techtalk mailing list