This queue is for tickets about the SOAP-Lite CPAN distribution.

Report information
The Basics
Id:
98962
Status:
open
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
gusakov.max [...] gmail.com
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)



Subject: SOAP::Lite +trace => all with handler does not print object names
Date: Thu, 18 Sep 2014 14:44:59 +0300
To: bug-SOAP-Lite@rt.cpan.org
From: Max Gusakov <gusakov.max@gmail.com>
Perl: v5.18.1
SOAP::Lite: 1.11
OS: openSUSE 13.1 (x86_64)

also reproduced on
Perl v5.10
SOAP::Lite 1.06
OS: Oracle Linux Server release 6.5 (x86_64)

Issue description:
I'm trying to track down the way SOAP::Lite establishes and closes connection, and processes requests within my application (it works as a background process and can write only to STDOUT).

According to CPAN documentation I should add trace => all (or trace=>objects), to see desired information. It works fine untill I try to add hadler to print output to
STDOUT (or simply format it).

Below is a script that illustrates the problem:

#!/usr/bin/perl

use strict;
use warnings;

use SOAP::Lite
    +trace => [ qw(objects)
# comment the line below to see expected output
                 => sub { print("@_\n") }
];

my $server = SOAP::Lite
                 -> uri('http://www.soaplite.com/Temperatures')
                 ->proxy('http://services.soaplite.com/temper.cgi');
my $result = $server-> f2c(100)->result;

Without handler it prints smth. like
...
SOAP::Transport::new: ()
SOAP::Serializer::new: ()
SOAP::Deserializer::new: ()
...

And if I add handler, the only thing I see is
()
()
()

--
With best regards
Max


Subject: RE: [rt.cpan.org #98962] SOAP::Lite +trace => all with handler does not print object names
Date: Thu, 13 Oct 2016 15:55:59 +0100
To: "bug-SOAP-Lite@rt.cpan.org" <bug-SOAP-Lite@rt.cpan.org>
From: Daniel Beardsmore <daniel@trustnetworks.co.uk>

Confirmed in SOAP::Lite 1.20.



This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.