Skip Menu |

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

Report information
The Basics
Id: 44568
Status: resolved
Priority: 0/
Queue: SOAP-Lite

People
Owner: Nobody in particular
Requestors: pshangov [...] yahoo.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: v0.71.03



Subject: Tracing unavailable when SOAP::Lite is used as a server
When SOAP::Lite is used as a server, SOAP::Trace is invoked much more rarely then when S::L is used as a client. In particular, there are no hooks to get to the request and response strings. The attached patch adds the necessary SOAP::Trace::debug calls to SOAP::Transport::HTTP::Server.
Subject: soap_server.patch
*** C:/Documents and Settings/Peter Shangov/Desktop/HTTP.pm Wed Mar 25 18:31:43 2009 --- C:/strawberry/perl/site/lib/SOAP/Transport/HTTP.pm Wed Mar 25 18:25:37 2009 *************** *** 344,350 **** sub handle { my $self = shift->new; ! if ($self->request->method eq 'POST') { $self->action($self->request->header('SOAPAction') || undef); } --- 344,352 ---- sub handle { my $self = shift->new; ! ! SOAP::Trace::debug($self->request->content); ! if ($self->request->method eq 'POST') { $self->action($self->request->header('SOAPAction') || undef); } *************** *** 397,402 **** --- 399,406 ---- : $content ) or return; + + SOAP::Trace::debug($response); $self->make_response($SOAP::Constants::HTTP_ON_SUCCESS_CODE, $response); }
Subject: Re: [rt.cpan.org #44568] Tracing unavailable when SOAP::Lite is used as a server
Date: Sat, 02 May 2009 10:58:43 +0200
To: bug-SOAP-Lite [...] rt.cpan.org
From: Martin Kutter <martin.kutter [...] fen-net.de>
Applied in SVN as of rev322 Thanks, Martin
fixed in >= 0.713