r1752 - in packages/soap-lite/trunk: . bin debian examples/COM
Krzysztof Krzyzaniak
eloy at costa.debian.org
Sun Dec 25 18:17:59 UTC 2005
Author: eloy
Date: 2005-12-25 18:17:58 +0000 (Sun, 25 Dec 2005)
New Revision: 1752
Added:
packages/soap-lite/trunk/bin/SOAPsh
packages/soap-lite/trunk/bin/XMLRPCsh
packages/soap-lite/trunk/bin/stubmaker
packages/soap-lite/trunk/debian/
packages/soap-lite/trunk/debian/changelog
packages/soap-lite/trunk/debian/compat
packages/soap-lite/trunk/debian/control
packages/soap-lite/trunk/debian/copyright
packages/soap-lite/trunk/debian/rules
packages/soap-lite/trunk/debian/watch
Modified:
packages/soap-lite/trunk/Makefile.PL
packages/soap-lite/trunk/examples/COM/make-com-minimal.bat
packages/soap-lite/trunk/examples/COM/make-com-standalone.bat
Log:
Load soap-lite-0.66 into packages/soap-lite/trunk.
Modified: packages/soap-lite/trunk/Makefile.PL
===================================================================
--- packages/soap-lite/trunk/Makefile.PL 2005-12-25 18:17:28 UTC (rev 1751)
+++ packages/soap-lite/trunk/Makefile.PL 2005-12-25 18:17:58 UTC (rev 1752)
@@ -124,7 +124,7 @@
'NAME' => 'SOAP::Lite',
'VERSION_FROM' => 'lib/SOAP/Lite.pm',
'PREREQ_PM' => \%prereqs,
- 'EXE_FILES' => ['bin/SOAPsh.pl', 'bin/XMLRPCsh.pl', 'bin/stubmaker.pl'],
+ 'EXE_FILES' => ['bin/SOAPsh', 'bin/XMLRPCsh', 'bin/stubmaker'],
test => {TESTS => $tests},
);
Added: packages/soap-lite/trunk/bin/SOAPsh
===================================================================
--- packages/soap-lite/trunk/bin/SOAPsh 2005-12-25 18:17:28 UTC (rev 1751)
+++ packages/soap-lite/trunk/bin/SOAPsh 2005-12-25 18:17:58 UTC (rev 1752)
@@ -0,0 +1,79 @@
+#!/usr/bin/perl
+#!d:\perl\bin\perl.exe
+
+# -- SOAP::Lite -- soaplite.com -- Copyright (C) 2001 Paul Kulchenko --
+
+use strict;
+use SOAP::Lite;
+use Data::Dumper; $Data::Dumper::Terse = 1; $Data::Dumper::Indent = 1;
+
+ at ARGV or die "Usage: $0 proxy [uri [commands...]]\n";
+my($proxy, $uri) = (shift, shift);
+my %can;
+my $soap = SOAP::Lite->proxy($proxy)->on_fault(sub{});
+ $soap->uri($uri) if $uri;
+print STDERR "Usage: method[(parameters)]\n> ";
+while (defined($_ = shift || <>)) {
+ next unless /\w/;
+ my($method) = /\s*(\w+)/;
+ $can{$method} = $soap->can($method) unless exists $can{$method};
+ my $res = eval "\$soap->$_";
+ $@ ? print(STDERR join "\n", "--- SYNTAX ERROR ---", $@, '') :
+ $can{$method} && !UNIVERSAL::isa($res => 'SOAP::SOM')
+ ? print(STDERR join "\n", "--- METHOD RESULT ---", $res || '', '') :
+ defined($res) && $res->fault ? print(STDERR join "\n", "--- SOAP FAULT ---", $res->faultcode, $res->faultstring, '') :
+ !$soap->transport->is_success ? print(STDERR join "\n", "--- TRANSPORT ERROR ---", $soap->transport->status, '') :
+ print(STDERR join "\n", "--- SOAP RESULT ---", Dumper($res->paramsall), '')
+} continue {
+ print STDERR "\n> ";
+}
+
+__END__
+
+=head1 NAME
+
+SOAPsh.pl - Interactive shell for SOAP calls
+
+=head1 SYNOPSIS
+
+ perl SOAPsh.pl http://services.soaplite.com/examples.cgi http://www.soaplite.com/My/Examples
+ > getStateName(2)
+ > getStateNames(1,2,3,7)
+ > getStateList([1,9])
+ > getStateStruct({a=>1, b=>24})
+ > Ctrl-D (Ctrl-Z on Windows)
+
+or
+
+ # all parameters after uri will be executed as methods
+ perl SOAPsh.pl http://soap.4s4c.com/ssss4c/soap.asp http://simon.fell.com/calc doubler([10,20,30])
+ > Ctrl-D (Ctrl-Z on Windows)
+
+=head1 DESCRIPTION
+
+SOAPsh.pl is a shell for making SOAP calls. It takes two parameters:
+mandatory endpoint and optional uri (actually it will tell you about it
+if you try to run it). Additional commands can follow.
+
+After that you'll be able to run any methods of SOAP::Lite, like autotype,
+readable, encoding, etc. You can run it the same way as you do it in
+your Perl script. You'll see output from method, result of SOAP call,
+detailed info on SOAP faulure or transport error.
+
+For full list of available methods see documentation for SOAP::Lite.
+
+Along with methods of SOAP::Lite you'll be able (and that's much more
+interesting) run any SOAP methods you know about on remote server and
+see processed results. You can even switch on debugging (with call
+something like: C<on_debug(sub{print at _})>) and see SOAP code with
+headers sent and recieved.
+
+=head1 COPYRIGHT
+
+Copyright (C) 2000 Paul Kulchenko. All rights reserved.
+
+=head1 AUTHOR
+
+Paul Kulchenko (paulclinger at yahoo.com)
+
+=cut
Added: packages/soap-lite/trunk/bin/XMLRPCsh
===================================================================
--- packages/soap-lite/trunk/bin/XMLRPCsh 2005-12-25 18:17:28 UTC (rev 1751)
+++ packages/soap-lite/trunk/bin/XMLRPCsh 2005-12-25 18:17:58 UTC (rev 1752)
@@ -0,0 +1,78 @@
+#!/usr/bin/perl
+#!d:\perl\bin\perl.exe
+
+# -- XMLRPC::Lite -- soaplite.com -- Copyright (C) 2001 Paul Kulchenko --
+
+use strict;
+use XMLRPC::Lite;
+use Data::Dumper; $Data::Dumper::Terse = 1; $Data::Dumper::Indent = 1;
+
+ at ARGV or die "Usage: $0 endpoint [commands...]\n";
+my $proxy = shift;
+my %can;
+my $xmlrpc = XMLRPC::Lite->proxy($proxy)->on_fault(sub{});
+print STDERR "Usage: method[(parameters)]\n> ";
+while (defined($_ = shift || <>)) {
+ next unless /\w/;
+ my($method, $parameters) = /^\s*([.\w]+)(.*)/;
+ $can{$method} = $xmlrpc->can($method) unless exists $can{$method};
+ my $res = $method =~ /\./ ? eval "\$xmlrpc->call(\$method, $parameters)" : eval "\$xmlrpc->$_";
+ $@ ? print(STDERR join "\n", "--- SYNTAX ERROR ---", $@, '') :
+ $can{$method} && !UNIVERSAL::isa($res => 'XMLRPC::SOM')
+ ? print(STDERR join "\n", "--- METHOD RESULT ---", $res || '', '') :
+ defined($res) && $res->fault ? print(STDERR join "\n", "--- XMLRPC FAULT ---", @{$res->fault}{'faultCode', 'faultString'}, '') :
+ !$xmlrpc->transport->is_success ? print(STDERR join "\n", "--- TRANSPORT ERROR ---", $xmlrpc->transport->status, '') :
+ print(STDERR join "\n", "--- XMLRPC RESULT ---", Dumper($res->paramsall), '')
+} continue {
+ print STDERR "\n> ";
+}
+
+__END__
+
+=head1 NAME
+
+XMLRPCsh.pl - Interactive shell for XMLRPC calls
+
+=head1 SYNOPSIS
+
+ perl XMLRPCsh.pl http://betty.userland.com/RPC2
+ > examples.getStateName(2)
+ > examples.getStateNames(1,2,3,7)
+ > examples.getStateList([1,9])
+ > examples.getStateStruct({a=>1, b=>24})
+ > Ctrl-D (Ctrl-Z on Windows)
+
+or
+
+ # all parameters after uri will be executed as methods
+ perl XMLRPCsh.pl http://betty.userland.com/RPC2 examples.getStateName(2)
+ > Ctrl-D (Ctrl-Z on Windows)
+
+=head1 DESCRIPTION
+
+XMLRPCsh.pl is a shell for making XMLRPC calls. It takes one parameter,
+endpoint (actually it will tell you about it if you try to run it).
+Additional commands can follow.
+
+After that you'll be able to run any methods of XMLRPC::Lite, like autotype,
+readable, etc. You can run it the same way as you do it in
+your Perl script. You'll see output from method, result of XMLRPC call,
+detailed info on XMLRPC faulure or transport error.
+
+For full list of available methods see documentation for XMLRPC::Lite.
+
+Along with methods of XMLRPC::Lite you'll be able (and that's much more
+interesting) run any XMLRPC methods you know about on remote server and
+see processed results. You can even switch on debugging (with call
+something like: C<on_debug(sub{print at _})>) and see XMLRPC code with
+headers sent and recieved.
+
+=head1 COPYRIGHT
+
+Copyright (C) 2000 Paul Kulchenko. All rights reserved.
+
+=head1 AUTHOR
+
+Paul Kulchenko (paulclinger at yahoo.com)
+
+=cut
Added: packages/soap-lite/trunk/bin/stubmaker
===================================================================
--- packages/soap-lite/trunk/bin/stubmaker 2005-12-25 18:17:28 UTC (rev 1751)
+++ packages/soap-lite/trunk/bin/stubmaker 2005-12-25 18:17:58 UTC (rev 1752)
@@ -0,0 +1,27 @@
+#!/usr/bin/perl
+#!d:\perl\bin\perl.exe
+
+# -- SOAP::Lite -- soaplite.com -- Copyright (C) 2001 Paul Kulchenko --
+
+use SOAP::Lite;
+
+print "Accessing...\n";
+my $schema = SOAP::Schema
+ -> schema(shift or die "Usage: $0 <URL with schema description> [<service> [<port>]]\n")
+ -> parse(@ARGV);
+
+print "Writing...\n";
+foreach (keys %{$schema->services}) {
+ my $file = "./$_.pm";
+ print("$file exists, skipped...\n"), next if -s $file;
+ open(F, ">$file") or die $!;
+ print F $schema->stub($_);
+ close(F) or die $!;
+ print "$file done\n";
+}
+
+# try
+# > perl stubmaker.pl http://www.xmethods.net/sd/StockQuoteService.wsdl
+
+# then
+# > perl "-MStockQuoteService qw(:all)" -le "print getQuote('MSFT')"
Added: packages/soap-lite/trunk/debian/changelog
===================================================================
--- packages/soap-lite/trunk/debian/changelog 2005-12-25 18:17:28 UTC (rev 1751)
+++ packages/soap-lite/trunk/debian/changelog 2005-12-25 18:17:58 UTC (rev 1752)
@@ -0,0 +1,94 @@
+soap-lite (0.66-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Krzysztof Krzyzaniak (eloy) <eloy at debian.org> Sun, 25 Dec 2005 19:07:30 +0100
+
+soap-lite (0.60-2) unstable; urgency=low
+
+ * XMLRPCsh: Removed .pl language-specific extension
+ * XMLRPCsh: Changed env hashbang lines to reference /usr/bin/perl as per
+ Debian Perl Policy
+ * SOAPsh: Removed .pl language-specific extension
+ * SOAPsh: Changed env hashbang lines to reference /usr/bin/perl as per
+ Debian Perl Policy
+ * stubmaker: Removed .pl language-specific extension
+ * stubmaker: Changed env hashbang lines to reference /usr/bin/perl as per
+ Debian Perl Policy
+ * Included examples
+ * Lite.pm: Removed reference to test suite file (Closes: #178059)
+ * Included synmlink to undocumented man page for stubmaker
+
+ -- Ezra Pagel <ezra at cpan.org> Tue, 9 Nov 2004 15:48:53 -0600
+
+soap-lite (0.60-1) unstable; urgency=low
+
+ * Upgraded to new release 0.60; New maintainer.
+
+ -- Ezra Pagel <ezra at cpan.org> Sun, 7 Nov 2004 22:20:46 -0600
+
+soap-lite (0.55-4) unstable; urgency=low
+
+ * New maintainer.
+
+ -- Stephen Zander <gibreel at debian.org> Mon, 30 Sep 2002 16:15:48 -0700
+
+soap-lite (0.55-3) unstable; urgency=low
+
+ * debian/control: Remove libcrypt-ssleay-perl from Build-Depends and
+ Suggests as this package is still in non-US. (Closes: #162260)
+
+ -- Dirk Eddelbuettel <edd at debian.org> Wed, 25 Sep 2002 06:41:15 -0500
+
+soap-lite (0.55-2) unstable; urgency=low
+
+ * debian/control: Added Suggests: libcrypt-ssleay-perl (Closes: #150300)
+
+ -- Dirk Eddelbuettel <edd at debian.org> Tue, 18 Jun 2002 21:41:33 -0500
+
+soap-lite (0.55-1) unstable; urgency=high
+
+ * Upgraded new upstream release with, among others, a fix for a security
+ vulnerability with fully qualified method names (Closes: #142078)
+
+ -- Dirk Eddelbuettel <edd at debian.org> Thu, 18 Apr 2002 20:43:50 -0500
+
+soap-lite (0.52-3) unstable; urgency=low
+
+ * debian/rules: Don't call dh_installmanpages; it is a) not needed as
+ 'make install' does its work and b) erroneously drops the man pages
+ for SOAPsh.pl and XMLRPCsh.pl in man/pl/man1 (Closes: #137816)
+
+ -- Dirk Eddelbuettel <edd at debian.org> Mon, 11 Mar 2002 06:48:53 -0600
+
+soap-lite (0.52-2) unstable; urgency=low
+
+ * debian/control: Spelling correction (Closes: #125050)
+
+ -- Dirk Eddelbuettel <edd at debian.org> Sun, 10 Mar 2002 21:52:27 -0600
+
+soap-lite (0.52-1) unstable; urgency=low
+
+ * Upgraded to new release
+
+ -- Dirk Eddelbuettel <edd at debian.org> Thu, 22 Nov 2001 08:03:39 -0600
+
+soap-lite (0.51-1) unstable; urgency=low
+
+ * Upgraded to new release 0.51
+
+ -- Dirk Eddelbuettel <edd at debian.org> Mon, 6 Aug 2001 21:49:47 -0500
+
+soap-lite (0.50-1) unstable; urgency=low
+
+ * Upgraded to new release 0.50
+
+ -- Dirk Eddelbuettel <edd at debian.org> Thu, 26 Apr 2001 21:58:43 -0500
+
+soap-lite (0.47-1) unstable; urgency=low
+
+ * Initial Release
+
+ -- Dirk Eddelbuettel <edd at debian.org> Sun, 11 Mar 2001 15:54:02 -0600
+
+
Added: packages/soap-lite/trunk/debian/compat
===================================================================
--- packages/soap-lite/trunk/debian/compat 2005-12-25 18:17:28 UTC (rev 1751)
+++ packages/soap-lite/trunk/debian/compat 2005-12-25 18:17:58 UTC (rev 1752)
@@ -0,0 +1 @@
+4
Added: packages/soap-lite/trunk/debian/control
===================================================================
--- packages/soap-lite/trunk/debian/control 2005-12-25 18:17:28 UTC (rev 1751)
+++ packages/soap-lite/trunk/debian/control 2005-12-25 18:17:58 UTC (rev 1752)
@@ -0,0 +1,75 @@
+Source: soap-lite
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 4.0.2)
+Build-Depends-Indep: perl
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: Ezra Pagel <ezra at cpan.org>
+Standards-Version: 3.6.1
+
+Package: libsoap-lite-perl
+Architecture: all
+Depends: ${perl:Depends}, libxml-parser-perl,
+Recommends: liburi-perl, libwww-perl, libcompress-zlib-perl
+Suggests: libapache-mod-perl, libmime-perl, libmime-lite-perl
+Description: Client and server side SOAP implementation
+ SOAP::Lite for Perl is a collection of Perl modules which provides a simple
+ and lightweight interface to the Simple Object Access Protocol (SOAP) both
+ on client and server side.
+ .
+ To learn about SOAP, go to http://www.soaplite.com/#LINKS for more
+ information.
+ .
+ This version of SOAP::Lite supports a subset of the SOAP 1.1 specification
+ and has initial support for SOAP 1.2 specification.
+ See http://www.w3.org/TR/SOAP for details.
+ .
+ FEATURES
+ .
+ o Supports SOAP 1.1 spec.
+ o Interoperability tests with different implementations: Apache SOAP, Frontier,
+ Microsoft SOAP, Microsoft .NET, DevelopMentor, XMethods, 4s4c, Phalanx,
+ Kafka, SQLData, Lucin (in Java, Perl, C++, Python, VB, COM, XSLT).
+ o Provides COM interface. Single dll (standalone [2.5MB] or minimal [32kB]).
+ Works on Windows 9x/Me/NT/2K. Doesn't require ROPE or MSXML.
+ Examples in VB, Excel/VBA, C#, ASP, JavaScript, PerlScript and Perl.
+ o Provides transparent compression support for HTTP transport.
+ o Provides mod_soap module. Make SOAP server with a few lines in .htaccess
+ or .conf file.
+ o Includes XML::Parser::Lite (regexp-based XML parser) which runs instead
+ of XML::Parser where Perl 5.6 runs (even on WinCE) with some limitations.
+ o Includes XMLRPC::Lite, implementation of XML-RPC protocol on client and
+ server side. All transports and features of SOAP::Lite are available.
+ o Supports multipart/form-data MIME attachments.
+ o Supports circular linked lists and multiple references.
+ o Supports Map datatype (encoding of maps/hashes with arbitrary keys).
+ o Supports HTTPS protocol.
+ o Provides proxy support.
+ o Provides CGI/daemon/mod_perl/Apache::Registry server implementations.
+ o Provides TCP server implementation.
+ o Provides IO (STDIN/STDOUT/File) server implementation.
+ o Provides FTP client implementation.
+ o Supports single/multipart MIME attachment (parsing side only).
+ o Supports SMTP protocol.
+ o Provides POP3 server implementation.
+ o Supports M-POST and redirects in HTTP transport.
+ o Supports Basic/Digest server authentication.
+ o Works with CGI accelerators, like VelociGen and PerlEx.
+ o Supports UDDI interface on client side. See UDDI::Lite for details.
+ o Supports UDDI publishing API. Examples and documentation provided.
+ o Supports WSDL schema with stub and run-time access.
+ o Supports blessed object references.
+ o Supports arrays (both serialization and deserialization with autotyping).
+ o Supports custom serialization.
+ o Provides exception transport with custom exceptions
+ o Supports Base64 encoding.
+ o Supports XML entity encoding.
+ o Supports header attributes.
+ o Supports dynamic and static class/method binding.
+ o Supports objects-by-reference with simple garbage collection and activation.
+ o Provides shell for interactive SOAP sessions.
+ o Supports out parameters binding.
+ o Supports transparent SOAP calls with autodispatch feature.
+ o Provides easy services deployment. Put module in specified directory and
+ it'll be accessible.
+ o Has tests, examples and documentation to let you be up and running in no time
Added: packages/soap-lite/trunk/debian/copyright
===================================================================
--- packages/soap-lite/trunk/debian/copyright 2005-12-25 18:17:28 UTC (rev 1751)
+++ packages/soap-lite/trunk/debian/copyright 2005-12-25 18:17:58 UTC (rev 1752)
@@ -0,0 +1,18 @@
+This is the debian package for the SOAP::Lite module.
+It was created by Ezra Pagel <ezra at cpan.org> using dh-make-perl.
+
+The upstream author is:
+
+Paul Kulchenko (paulclinger at yahoo.com)
+Byrne Reese (byrne at majordojo.com).
+
+
+Copyright (C) 2000-2003 Paul Kulchenko. All rights reserved.
+
+This library is free software; you can redistribute it and/or modify
+it under the same terms as Perl itself.
+
+Perl is distributed under your choice of the GNU General Public License or
+the Artistic License. On Debian GNU/Linux systems, the complete text of the
+GNU General Public License can be found in `/usr/share/common-licenses/GPL'
+and the Artistic Licence in `/usr/share/common-licenses/Artistic'.
Added: packages/soap-lite/trunk/debian/rules
===================================================================
--- packages/soap-lite/trunk/debian/rules 2005-12-25 18:17:28 UTC (rev 1751)
+++ packages/soap-lite/trunk/debian/rules 2005-12-25 18:17:58 UTC (rev 1752)
@@ -0,0 +1,92 @@
+#!/usr/bin/make -f
+# This debian/rules file is provided as a template for normal perl
+# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
+# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
+# be used freely wherever it is useful.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# If set to a true value then MakeMaker's prompt function will
+# always return the default without waiting for user input.
+export PERL_MM_USE_DEFAULT=1
+
+PACKAGE=$(shell dh_listpackages)
+
+ifndef PERL
+PERL = /usr/bin/perl
+endif
+
+TMP =$(CURDIR)/debian/$(PACKAGE)
+
+# Allow disabling build optimation by setting noopt in
+# $DEB_BUILD_OPTIONS
+CFLAGS = -Wall -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+build: build-stamp
+build-stamp:
+ dh_testdir
+
+ # Add commands to compile the package here
+ $(PERL) Makefile.PL INSTALLDIRS=vendor
+ $(MAKE) OPTIMIZE="$(CFLAGS)"
+
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+
+ # Add commands to clean up after the build process here
+ -$(MAKE) distclean
+
+ dh_clean build-stamp install-stamp
+
+install: install-stamp
+install-stamp: build-stamp
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+
+ #$(MAKE) test
+ $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+
+ # As this is a architecture independent package, we are not supposed to install
+ # stuff to /usr/lib. MakeMaker creates the dirs, we delete them from the deb:
+ rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5
+
+ touch install-stamp
+
+binary-arch:
+
+
+binary-indep: build install
+ dh_testdir
+ dh_testroot
+# dh_installcron
+# dh_installmenu
+ dh_installexamples examples/*
+ dh_installdocs README examples/COM/README
+ ln -s ../man7/undocumented.7.gz $(TMP)/usr/share/man/man1/stubmaker.1.gz
+ dh_installchangelogs Changes
+ dh_perl
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+
+source diff:
+ @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary
Property changes on: packages/soap-lite/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Added: packages/soap-lite/trunk/debian/watch
===================================================================
--- packages/soap-lite/trunk/debian/watch 2005-12-25 18:17:28 UTC (rev 1751)
+++ packages/soap-lite/trunk/debian/watch 2005-12-25 18:17:58 UTC (rev 1752)
@@ -0,0 +1,2 @@
+version=3
+ftp://sunsite.icm.edu.pl/pub/CPAN/modules/by-module/SOAP/SOAP-Lite-([\.\d]+).tar.gz
Property changes on: packages/soap-lite/trunk/examples/COM/make-com-minimal.bat
___________________________________________________________________
Name: svn:executable
-
+ *
Property changes on: packages/soap-lite/trunk/examples/COM/make-com-standalone.bat
___________________________________________________________________
Name: svn:executable
-
+ *
More information about the Pkg-perl-cvs-commits
mailing list