Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Which XML-RPC/SOAP toolkit to use?

by uwevoelker (Pilgrim)
on Jan 16, 2004 at 12:35 UTC ( #321775=perlquestion: print w/replies, xml ) Need Help??

uwevoelker has asked for the wisdom of the Perl Monks concerning the following question:


I have to write an RPC-Server. My question is, which toolkit would you use? There are a lot of XML-RPC frameworks (XML::RPC, XMLRPC::Lite from SOAP::Lite or even Frontier::RPC). I even could use SOAP (with SOAP::Lite as toolkit), but I do not need the additional features (at least I think so).

What experiences did you make?

Thanks, Uwe

Replies are listed 'Best First'.
Re: Which XML-RPC/SOAP toolkit to use?
by borisz (Canon) on Jan 16, 2004 at 13:11 UTC
    I used Frontier::RPC2 years ago and it works painless for me and was easy to use. Recently I used SOAP::Lite for a big project. It works also ok for me, but it coast a lot more time to get familar with it.
Re: Which XML-RPC/SOAP toolkit to use?
by flyingmoose (Priest) on Jan 16, 2004 at 15:14 UTC

    I can't comment well enough on the differences in toolkits, but if you application does not need the features of SOAP (and few do), I would definitely consider sticking with XML/RPC.

    They say a Camel is a horse designed by commitee. Hah! A camel is an excellent pack animal, has great endurance, and has magical water conservation features. On the other hand, SOAP is no Camel. It's sort of like a duck-billed platypus designed by commitee.

    SOAP is a classic case of why Nash equilibrium is something standards groups should understand... everybody can compromise, and that works...but if everyone wants to get what they want, it never works. Think of the pain of writing a SOAP system by hand, without modules. Ugly. Now think of the joy of doing the same in XML-RPC. Simple, easy, and much cleaner.

Re: Which XML-RPC/SOAP toolkit to use?
by Fletch (Bishop) on Jan 16, 2004 at 15:00 UTC

    I've used both RPC::XML and POE::Component::Server::XMLRPC (which sits on top of XMLRPC::Lite, IMSMR). If you're not doing much in each call, or more to the point not doing anything that'd block, the former's probably your best bet (especially if you don't have any experience with POE). It's a bit simpler to get going, and the ability to have a directory of files with seperate handlers for each call can be handy.

Re: Which XML-RPC/SOAP toolkit to use?
by raptnor2 (Beadle) on Jan 17, 2004 at 21:12 UTC

    I had great success with SOAP::Lite. It was very easy to use and enabled me to concentrate on my real problem. I had a working system in under a day that moved hundreds of thousands of records securely over HTTPS.

    SOAP::Lite uses LWP and gets the benefit of secure connections if you have the right modules installed. I used Crypt::SSLea, but I think there is another one as well. They both use OpenSSL.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://321775]
Approved by cacharbe
Front-paged by hmerrill
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2022-05-23 11:05 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (81 votes). Check out past polls.