ianbell has asked for the wisdom of the Perl Monks concerning the following question:
I'm working on a website which aggregates a number of webservice feeds, some of which are REST (and are accessed using LWP), and some which are SOAP (accessed using SOAP::Lite)
I'm trying to add in some benchmarking for these feeds, and i need to find out the size (in bytes) of the response to requests. for the RESTful ones, this is easy, i can just do content_length() on the LWP response.
Is there an similar way to do this with SOAP::Lite? I can't seem to find one.
The only approach I can find is to use the set the outputxml option in SOAP::Lite to true, and parse the returned XML myself, but I want to avoid this if I can.
Ian
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Finding the size of the reponse using SOAP::Lite
by AltBlue (Chaplain) on Aug 07, 2008 at 23:02 UTC | |
|
Re: Finding the size of the reponse using SOAP::Lite
by spivey49 (Monk) on Aug 07, 2008 at 20:40 UTC | |
|
Re: Finding the size of the reponse using SOAP::Lite
by cbrandtbuffalo (Deacon) on Aug 07, 2008 at 19:29 UTC | |
|
Re: Finding the size of the reponse using SOAP::Lite
by ianbell (Novice) on Aug 08, 2008 at 15:07 UTC |