[interchange-cvs] interchange - racke modified lib/Vend/SOAP.pm
interchange-core@icdevgroup.org
interchange-core@icdevgroup.org
Mon Mar 10 20:00:00 2003
User: racke
Date: 2003-03-11 00:59:32 GMT
Modified: lib/Vend SOAP.pm
Log:
allow tracing of SOAP calls
Revision Changes Path
2.6 +8 -2 interchange/lib/Vend/SOAP.pm
rev 2.6, prev_rev 2.5
Index: SOAP.pm
===================================================================
RCS file: /anon_cvs/repository/interchange/lib/Vend/SOAP.pm,v
retrieving revision 2.5
retrieving revision 2.6
diff -u -r2.5 -r2.6
--- SOAP.pm 9 Mar 2003 01:06:14 -0000 2.5
+++ SOAP.pm 11 Mar 2003 00:59:32 -0000 2.6
@@ -1,6 +1,6 @@
# Vend::SOAP - Handle SOAP connections for Interchange
#
-# $Id: SOAP.pm,v 2.5 2003/03/09 01:06:14 racke Exp $
+# $Id: SOAP.pm,v 2.6 2003/03/11 00:59:32 racke Exp $
#
# Copyright (C) 1996-2002 Red Hat, Inc. <interchange@redhat.com>
#
@@ -34,7 +34,7 @@
use strict;
use vars qw($VERSION @ISA $AUTOLOAD);
-$VERSION = substr(q$Revision: 2.5 $, 10);
+$VERSION = substr(q$Revision: 2.6 $, 10);
@ISA = qw/SOAP::Server/;
my %Allowed_tags;
@@ -124,6 +124,12 @@
}
else {
@args = $opt;
+ }
+
+ if($opt->{trace_transport}) {
+ if (exists $Vend::Cfg->{Sub}->{$opt->{trace_transport}}) {
+ SOAP::Trace->import('transport' => $Vend::Cfg->{Sub}->{$opt->{trace_transport}});
+ }
}
my $result;