ianbell has asked for the wisdom of the Perl Monks concerning the following question:
Hi all,
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
Back to
Seekers of Perl Wisdom