Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re^4: Compression with SOAP::Lite

by Anonymous Monk
on Apr 09, 2011 at 01:52 UTC ( #898462=note: print w/replies, xml ) Need Help??

in reply to Re^3: Compression with SOAP::Lite
in thread Compression with SOAP::Lite

Please advice how do i do it?

Something like

my $soap ... ->proxy( 'http://localhost/blah/DummyService', timeout => 1 ); $soap->transport->add_handler("request_send", sub { my( $req ) = @_; use autodie; open my $raw, ">', '/my/known/temp.gz'; binmode $raw; print $raw $req->content; close $raw; return; });
Then you manually examine /my/known/temp.gz with 7-zip or gunzip or ...

I get the desired result if i dont use options=>{compress_threshold =>1000} in the client.

Let me understand, eliminating compress_threshold fixes it? Yeah, I'd remove that immediately :)

I'd also look into SOAP::Simple

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://898462]
[ovedpo15]: If I use "unless(opendir(my $dir, $test_dir))" why does it give me error "Global symbol "$dir" requires explicit package name at" if I used "my"? If I use my $dir before the opendir it works.. but why?

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2018-04-22 15:17 GMT
Find Nodes?
    Voting Booth?