[Boston.pm] Lightweight module for web service calls?

2011-02-16 Thread Peter Wood
Hi all, I'm working on a project that involves making web service requests from a Perl application. I've been using LWP to make the requests, which works fine, but I'm wondering if there isn't a more lightweight module I could use. The web service requests need to go over an HTTPS channel, so

Re: [Boston.pm] Lightweight module for web service calls?

2011-02-16 Thread Uri Guttman
PW == Peter Wood pw...@christianbook.com writes: PW Hi all, PW I'm working on a project that involves making web service requests from PW a Perl application. I've been using LWP to make the requests, which PW works fine, but I'm wondering if there isn't a more lightweight module I PW

Re: [Boston.pm] Lightweight module for web service calls?

2011-02-16 Thread Peter Wood
Hi Uri, https is just http over an ssl socket with a different port than http. you can use IO::Socket::SSL for that. but the problems you will run into are wide and varied which is why LWP is so large. if you know your http transactions will be very basic and not need help, it is easy to

Re: [Boston.pm] Lightweight module for web service calls?

2011-02-16 Thread Ben Tilly
On Wed, Feb 16, 2011 at 12:48 PM, Peter Wood pw...@christianbook.com wrote: Hi Uri, https is just http over an ssl socket with a different port than http. you can use IO::Socket::SSL for that. but the problems you will run into are wide and varied which is why LWP is so large. if you know

Re: [Boston.pm] Lightweight module for web service calls?

2011-02-16 Thread Duane Bronson
Peter, Interesting that the question how do I do X has no answer except don't do X. Engineers prefer to give flawless answers to flawless questions and when the questions sound flawed, all hell breaks lose. So, perhaps it would be helpful if you gave us some rationale behind the need to have a

Re: [Boston.pm] Lightweight module for web service calls?

2011-02-16 Thread Conor Walsh
On 2/16/2011 1:14 PM, Duane Bronson wrote: Peter, Interesting that the question how do I do X has no answer except don't do X. Engineers prefer to give flawless answers to flawless questions and when the questions sound flawed, all hell breaks lose. So, perhaps it would be helpful if you gave

Re: [Boston.pm] Lightweight module for web service calls?

2011-02-16 Thread Peter Wood
LWP does everything I need it to do (and more), and it is my current module of choice for making web service requests. However, I have gotten to thinking that maybe it's doing more than I need for the fairly strict and well-defined task of the web service requests and responses I'm implementing.

Re: [Boston.pm] Lightweight module for web service calls?

2011-02-16 Thread Ben Tilly
On Wed, Feb 16, 2011 at 1:19 PM, Conor Walsh c...@adverb.ly wrote: On 2/16/2011 1:14 PM, Duane Bronson wrote: Peter, Interesting that the question how do I do X has no answer except don't do X.  Engineers prefer to give flawless answers to flawless questions and when the questions sound

Re: [Boston.pm] Lightweight module for web service calls?

2011-02-16 Thread Conor Walsh
On 2/16/2011 1:29 PM, Ben Tilly wrote: I would much prefer to be accused of channeling Steve McConnell than Joel Spolsky. A fair point, and no offense was intended. My apologies if any was taken. -C. ___ Boston-pm mailing list

Re: [Boston.pm] Lightweight module for web service calls?

2011-02-16 Thread Uri Guttman
CW == Conor Walsh c...@adverb.ly writes: CW On 2/16/2011 1:14 PM, Duane Bronson wrote: Peter, Interesting that the question how do I do X has no answer except don't do X. Engineers prefer to give flawless answers to flawless questions and when the questions sound flawed, all hell

Re: [Boston.pm] Lightweight module for web service calls?

2011-02-16 Thread Kenneth Graves
On Feb 16, 2011, at 3:27 PM, Peter Wood pw...@christianbook.com wrote: I did come across HTTP::Lite, which seems to be in line with my thinking, but it doesn't support SSL, which I require. http://search.cpan.org/~adamk/HTTP-Lite-2.3/lib/HTTP/Lite.pm Subclass it and replace request with

Re: [Boston.pm] Lightweight module for web service calls?

2011-02-16 Thread Dan West
I used JSON::RPC::Client to open up a bunch of services to my application's architecture over HTTPS. I also require HTTPS basic authentication with all requests which JSON::RPC::Client is able to handle upon initialization. It has worked well thus far and I found that it actually uses LWP