Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Which XML-RPC/SOAP toolkit to use?

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

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

Hello,

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.
    Boris
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?
Username:
Password:

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
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (2)
As of 2024-04-25 20:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found