Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Perl and Web Services

by sri (Vicar)
on Jul 14, 2003 at 10:49 UTC ( #273937=note: print w/replies, xml ) Need Help??


in reply to Perl and Web Services

I'm developing web services with perl because I am more comfortable with perl than with java. (btw. I don't like java at all) :)

SOAP is a little over hyped at the moment, it's just too bloated and the perl binding SOAP::Lite is very very slow. :(

I have tested a lot of configurations and protocols but finally found the simplest of all to be the best.

Currently I'm just sending simple xml documents over http using Apache/mod_perl on the server- and LWP on the client side.

For most services the requests are so simple that I could pass the values on the GET string and only respond with xml files. (This is known as REST)

If the request is more complex I'm sending an xml document within the request.

Parsing xml documents with perl is thanks to XML::Parser (based on expat) very fast.

Replies are listed 'Best First'.
Re: Re: Perl and Web Services
by Anonymous Monk on Jul 14, 2003 at 18:12 UTC
    If you decide to use a SOAP implementation (rather than REST), Paul Kulchenko has a great Perl module called SOAP::Lite (groups.yahoo.com/soaplite). You do end up with a lot more overhead (read: slow) than a REST implementation, but you can write clients that consume other web services really quickly.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://273937]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2020-12-01 11:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you use taint mode?





    Results (5 votes). Check out past polls.

    Notices?