Compare commits
@@ -2,6 +2,9 @@
|
|||||||
use Module::Build;
|
use Module::Build;
|
||||||
|
|
||||||
Module::Build->new(
|
Module::Build->new(
|
||||||
|
create_makefile_pl => 'passthrough',
|
||||||
|
dist_name => 'SOAP-WSDL',
|
||||||
|
dist_version => '1.26',
|
||||||
dist_abstract => 'WSDL support for SOAP::Lite',
|
dist_abstract => 'WSDL support for SOAP::Lite',
|
||||||
module_name => 'SOAP::WSDL',
|
module_name => 'SOAP::WSDL',
|
||||||
license => 'artistic',
|
license => 'artistic',
|
||||||
@@ -14,6 +17,8 @@ Module::Build->new(
|
|||||||
'SOAP::Lite' => 0,
|
'SOAP::Lite' => 0,
|
||||||
'XML::XPath' => 0,
|
'XML::XPath' => 0,
|
||||||
'Time::HiRes' => 0,
|
'Time::HiRes' => 0,
|
||||||
|
'File::Spec' => 0,
|
||||||
|
'File::Basename' => 0,
|
||||||
'Cwd' => 0,
|
'Cwd' => 0,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
* v1.26 2007/10/05 - bugfix
|
||||||
|
- fixed issue reported by T Alex Beamish: tests fail when unwrapped into /tmp
|
||||||
|
* v1.25 2007/09/24 - maintenance
|
||||||
|
- added Makefile.PL to ease installation
|
||||||
|
|
||||||
|
* v1.24 2007/09/22 - bugfix
|
||||||
|
- fixes issue reported by David Bussenschutt: wsdlinit always uses new SOAP::Schema instance.
|
||||||
|
|
||||||
* v1.23 2007/06/05 - bugfixes and optimizations
|
* v1.23 2007/06/05 - bugfixes and optimizations
|
||||||
- fixes #27426: missing prereq XML::XPath
|
- fixes #27426: missing prereq XML::XPath
|
||||||
- fixed build_requires
|
- fixed build_requires
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ Build.PL
|
|||||||
CHANGES
|
CHANGES
|
||||||
HACKING
|
HACKING
|
||||||
lib/SOAP/WSDL.pm
|
lib/SOAP/WSDL.pm
|
||||||
|
Makefile.PL
|
||||||
MANIFEST This list of files
|
MANIFEST This list of files
|
||||||
META.yml
|
META.yml
|
||||||
README
|
README
|
||||||
@@ -9,6 +10,7 @@ t/1_performance.t
|
|||||||
t/2_helloworld.NET.t
|
t/2_helloworld.NET.t
|
||||||
t/3_various.t
|
t/3_various.t
|
||||||
t/4_auto_set_port.t
|
t/4_auto_set_port.t
|
||||||
|
t/5_same_transport.t
|
||||||
t/97_pod.t
|
t/97_pod.t
|
||||||
t/98_pod_coverage.t
|
t/98_pod_coverage.t
|
||||||
t/acceptance/helloworld.asmx.xml
|
t/acceptance/helloworld.asmx.xml
|
||||||
|
|||||||
@@ -1,19 +1,19 @@
|
|||||||
---
|
---
|
||||||
name: SOAP-WSDL
|
name: SOAP-WSDL
|
||||||
version: 1.23
|
version: 1.26
|
||||||
author:
|
author: []
|
||||||
abstract: WSDL support for SOAP::Lite
|
abstract: WSDL support for SOAP::Lite
|
||||||
license: artistic
|
license: artistic
|
||||||
requires:
|
resources:
|
||||||
SOAP::Lite: 0
|
license: http://opensource.org/licenses/artistic-license.php
|
||||||
XML::XPath: 0
|
requires:
|
||||||
generated_by: Module::Build version 0.2808
|
SOAP::Lite: 0
|
||||||
meta-spec:
|
XML::XPath: 0
|
||||||
url: http://module-build.sourceforge.net/META-spec-v1.2.html
|
provides:
|
||||||
version: 1.2
|
SOAP::WSDL:
|
||||||
provides:
|
file: lib/SOAP/WSDL.pm
|
||||||
SOAP::WSDL:
|
version: 1.25
|
||||||
file: lib/SOAP/WSDL.pm
|
generated_by: Module::Build version 0.2808
|
||||||
version: 1.23
|
meta-spec:
|
||||||
resources:
|
url: http://module-build.sourceforge.net/META-spec-v1.2.html
|
||||||
license: http://opensource.org/licenses/artistic-license.php
|
version: 1.2
|
||||||
|
|||||||
+31
@@ -0,0 +1,31 @@
|
|||||||
|
# Note: this file was auto-generated by Module::Build::Compat version 0.03
|
||||||
|
|
||||||
|
unless (eval "use Module::Build::Compat 0.02; 1" ) {
|
||||||
|
print "This module requires Module::Build to install itself.\n";
|
||||||
|
|
||||||
|
require ExtUtils::MakeMaker;
|
||||||
|
my $yn = ExtUtils::MakeMaker::prompt
|
||||||
|
(' Install Module::Build now from CPAN?', 'y');
|
||||||
|
|
||||||
|
unless ($yn =~ /^y/i) {
|
||||||
|
die " *** Cannot install without Module::Build. Exiting ...\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
require Cwd;
|
||||||
|
require File::Spec;
|
||||||
|
require CPAN;
|
||||||
|
|
||||||
|
# Save this 'cause CPAN will chdir all over the place.
|
||||||
|
my $cwd = Cwd::cwd();
|
||||||
|
|
||||||
|
CPAN::Shell->install('Module::Build::Compat');
|
||||||
|
CPAN::Shell->expand("Module", "Module::Build::Compat")->uptodate
|
||||||
|
or die "Couldn't install Module::Build, giving up.\n";
|
||||||
|
|
||||||
|
chdir $cwd or die "Cannot chdir() back to $cwd: $!";
|
||||||
|
}
|
||||||
|
eval "use Module::Build::Compat 0.02; 1" or die $@;
|
||||||
|
|
||||||
|
Module::Build::Compat->run_build_pl(args => \@ARGV);
|
||||||
|
require Module::Build;
|
||||||
|
Module::Build::Compat->write_makefile(build_class => 'Module::Build');
|
||||||
+6
-6
@@ -11,7 +11,7 @@ use warnings;
|
|||||||
|
|
||||||
@ISA = qw(SOAP::Lite);
|
@ISA = qw(SOAP::Lite);
|
||||||
|
|
||||||
$VERSION = "1.23";
|
$VERSION = "1.25";
|
||||||
|
|
||||||
# SOAP::Lite has changed the name for speciying a schema in 0.6?
|
# SOAP::Lite has changed the name for speciying a schema in 0.6?
|
||||||
# method before: schema
|
# method before: schema
|
||||||
@@ -59,9 +59,9 @@ sub wsdlinit
|
|||||||
} ## end if ( $self->{ _WSDL }->...
|
} ## end if ( $self->{ _WSDL }->...
|
||||||
unless ( $xpath )
|
unless ( $xpath )
|
||||||
{
|
{
|
||||||
$xpath =
|
no strict qw(refs);
|
||||||
XML::XPath->new(
|
$xpath = XML::XPath->new(
|
||||||
xml => SOAP::Schema->new( $SCHEMA_URL => $self->wsdl() )->access );
|
xml => $self->schema->$SCHEMA_URL( $self->wsdl() )->access );
|
||||||
} ## end unless ( $xpath )
|
} ## end unless ( $xpath )
|
||||||
|
|
||||||
( $xpath )
|
( $xpath )
|
||||||
@@ -1567,7 +1567,7 @@ Replace whitespace by '@' in E-Mail addresses.
|
|||||||
=head1 SVN information
|
=head1 SVN information
|
||||||
|
|
||||||
$LastChangedBy: kutterma $
|
$LastChangedBy: kutterma $
|
||||||
$HeadURL: https://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL/branches/1.21/lib/SOAP/WSDL.pm $
|
$HeadURL: http://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL/branches/1.21/lib/SOAP/WSDL.pm $
|
||||||
$Rev: 20 $
|
$Rev: 278 $
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
|||||||
+1
-1
@@ -21,7 +21,7 @@ my $data = { name => 'Mein Name',
|
|||||||
my $dir = cwd;
|
my $dir = cwd;
|
||||||
|
|
||||||
# chomp /t/ to allow running the script from t/ directory
|
# chomp /t/ to allow running the script from t/ directory
|
||||||
$dir=~s|/t/?||;
|
$dir=~s|/t/?$||;
|
||||||
|
|
||||||
my $t0 = [gettimeofday];
|
my $t0 = [gettimeofday];
|
||||||
|
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ my $data = {
|
|||||||
|
|
||||||
|
|
||||||
my $dir= cwd;
|
my $dir= cwd;
|
||||||
$dir=~s/\/t\/?//;
|
$dir=~s/\/t\/?$//;
|
||||||
|
|
||||||
my $t0 = [gettimeofday];
|
my $t0 = [gettimeofday];
|
||||||
ok( my $soap=SOAP::WSDL->new(wsdl => 'file:///'.$dir.'/t/acceptance/test.wsdl.xml',
|
ok( my $soap=SOAP::WSDL->new(wsdl => 'file:///'.$dir.'/t/acceptance/test.wsdl.xml',
|
||||||
|
|||||||
+1
-1
@@ -18,7 +18,7 @@ my $data = {name => 'Mein Name',
|
|||||||
my $dir = cwd;
|
my $dir = cwd;
|
||||||
|
|
||||||
# chomp /t/ to allow running the script from t/ directory
|
# chomp /t/ to allow running the script from t/ directory
|
||||||
$dir=~s|/t/?||;
|
$dir=~s|/t/?$||;
|
||||||
|
|
||||||
my $t0 = [gettimeofday];
|
my $t0 = [gettimeofday];
|
||||||
ok( my $soap=SOAP::WSDL->new(wsdl => "file://$dir/t/acceptance/helloworld.asmx.xml",
|
ok( my $soap=SOAP::WSDL->new(wsdl => "file://$dir/t/acceptance/helloworld.asmx.xml",
|
||||||
|
|||||||
+1
-1
@@ -32,7 +32,7 @@ my $data = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
my $dir= cwd;
|
my $dir= cwd;
|
||||||
$dir=~s/\/t\/?//;
|
$dir=~s/\/t\/?$//;
|
||||||
|
|
||||||
# print $dir;
|
# print $dir;
|
||||||
my $url = $dir . '/t/acceptance/test.wsdl.xml';
|
my $url = $dir . '/t/acceptance/test.wsdl.xml';
|
||||||
|
|||||||
@@ -0,0 +1,19 @@
|
|||||||
|
# Addresses issue reported by David Bussenschutt
|
||||||
|
use Test::More tests => 1;
|
||||||
|
use lib '../lib';
|
||||||
|
use SOAP::Lite;
|
||||||
|
use SOAP::WSDL;
|
||||||
|
use File::Spec;
|
||||||
|
use File::Basename qw(dirname);
|
||||||
|
|
||||||
|
my $path = File::Spec->rel2abs( dirname __FILE__);
|
||||||
|
|
||||||
|
my $soap = SOAP::WSDL->new(
|
||||||
|
wsdl => "file://$path/acceptance/helloworld.asmx.xml"
|
||||||
|
);
|
||||||
|
my $transport = $soap->schema()->useragent()->protocols_forbidden(['file']);
|
||||||
|
|
||||||
|
# If it dies with 500 Access to 'file'..., wsdlinit uses the same UA...
|
||||||
|
eval { $soap->wsdlinit()};
|
||||||
|
ok index( $@, q{500 Access to 'file}) > 0;
|
||||||
|
|
||||||
Reference in New Issue
Block a user