Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2347a88353 | ||
|
|
9e85f63aa0 | ||
|
|
7ba2f93e44 | ||
|
|
099c83b6bc | ||
|
|
f63138fc87 | ||
|
|
fd0854e34a | ||
|
|
c2da74b5ae | ||
|
|
7ba1959888 | ||
|
|
a554e87f49 | ||
|
|
312f3d6bbd | ||
|
|
40e0e67e84 | ||
|
|
25548e6296 | ||
|
|
a78d6d15b5 | ||
|
|
5c42b1d8f6 | ||
|
|
21b5330a8d | ||
|
|
7716d4349a | ||
|
|
6fe52c4370 |
@@ -2,6 +2,8 @@
|
|||||||
use Module::Build;
|
use Module::Build;
|
||||||
|
|
||||||
Module::Build->new(
|
Module::Build->new(
|
||||||
|
create_makefile_pl => 'passthrough',
|
||||||
|
dist_name => 'SOAP-WSDL',
|
||||||
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 +16,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,9 @@
|
|||||||
|
* 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.25
|
||||||
author:
|
author: []
|
||||||
abstract: WSDL support for SOAP::Lite
|
abstract: WSDL support for SOAP::Lite
|
||||||
license: artistic
|
license: artistic
|
||||||
|
resources:
|
||||||
|
license: http://opensource.org/licenses/artistic-license.php
|
||||||
requires:
|
requires:
|
||||||
SOAP::Lite: 0
|
SOAP::Lite: 0
|
||||||
XML::XPath: 0
|
XML::XPath: 0
|
||||||
|
provides:
|
||||||
|
SOAP::WSDL:
|
||||||
|
file: lib/SOAP/WSDL.pm
|
||||||
|
version: 1.25
|
||||||
generated_by: Module::Build version 0.2808
|
generated_by: Module::Build version 0.2808
|
||||||
meta-spec:
|
meta-spec:
|
||||||
url: http://module-build.sourceforge.net/META-spec-v1.2.html
|
url: http://module-build.sourceforge.net/META-spec-v1.2.html
|
||||||
version: 1.2
|
version: 1.2
|
||||||
provides:
|
|
||||||
SOAP::WSDL:
|
|
||||||
file: lib/SOAP/WSDL.pm
|
|
||||||
version: 1.23
|
|
||||||
resources:
|
|
||||||
license: http://opensource.org/licenses/artistic-license.php
|
|
||||||
|
|||||||
+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: 274 $
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
|||||||
@@ -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