SOAP Web Service Tutorials - Herong's Tutorial Examples - v5.13, by Herong Yang
Installing SOAP::Lite Package
This section describes a tutorial on how to check and install the SOAP::Lite package.
Now I am ready to verify the SOAP::Lite module file in my ActivePerl installation by checking the module directory:
herong> dir \Perl64\site\lib\SOAP File Not Found
Looks like SOAP::Lite package is not included in the ActivePerl installation. Let me try to install it using the "ppm install" command:
herong> ppm install soap-lite Downloading ActiveState Package Repository dbimage...done ppm install failed: Can't find any package that provides soap-lite
Looks like SOAP::Lite is no longer available in the Perl package repository. It was there before.
So I have to install SOAP::Lite using the CPAN shell:
herong> perl -MCPAN -e shell It looks like you don't have a C compiler and make utility installed. Trying to install dmake and the MinGW gcc compiler using the Perl Package Manager. This may take a a few minutes... Downloading MinGW-4.6.3...done Downloading dmake-4.11.20080107...done Unpacking MinGW-4.6.3...done Unpacking dmake-4.11.20080107...done Generating HTML for MinGW-4.6.3...done Generating HTML for dmake-4.11.20080107...done Updating files in site area...done 3697 files installed Please use the `dmake` program to run commands from a Makefile! cpan shell -- CPAN exploration and modules installation (v2.18) Enter 'h' for help. cpan>install SOAP::Lite ... Installing C:\Perl64\site\lib\SOAP\Transport\MAILTO.pm Installing C:\Perl64\site\lib\SOAP\Transport\POP3.pm Installing C:\Perl64\site\lib\SOAP\Transport\TCP.pm Installing C:\Perl64\site\bin\SOAPsh.bat Installing C:\Perl64\site\bin\SOAPsh.pl Installing C:\Perl64\site\bin\stubmaker.bat Installing C:\Perl64\site\bin\stubmaker.pl Appending installation info to C:\Perl64\lib/perllocal.pod PHRED/SOAP-Lite-1.27.tar.gz C:\Perl64\site\bin\dmake.exe install -- OK cpan> exit Lockfile removed.
Now, let me check the SOAP::Lite module file again:
herong> dir \Perl64\site\lib\SOAP ... 05/14/2018 04:35 PM 186,727 Lite.pm 05/14/2018 04:35 PM 11,890 Test.pm ... herong> more \Perl64\site\lib\SOAP\lite.pm # ====================================================================== # # Copyright (C) 2000-2005 Paul Kulchenko (paulclinger@yahoo.com) # SOAP::Lite is free software; you can redistribute it # and/or modify it under the same terms as Perl itself. # # ====================================================================== # Formatting hint: # Target is the source code format laid out in Perl Best Practices (4 spaces # indent, opening brace on condition line, no cuddled else). # # October 2007, Martin Kutter package SOAP::Lite; use strict; use warnings; our $VERSION = '1.27'; # VERSION ...
Cool. I have installed SOAP:Lite 1.27.
Table of Contents
Introduction to SOAP (Simple Object Access Protocol)
SOAP Message Transmission and Processing
SOAP MEP (Message Exchange Patterns)
PHP SOAP Extension Client Programs
PHP SOAP Extension Server Programs
PHP SOAP Web Service Example - getTemp
SOAP Perl Implementation - SOAP::Lite
Installing ActivePerl Latest Version on Windows
►Installing SOAP::Lite Package
Perl SOAP::Lite - SOAP Server-Client Communication Module
Perl Socket Test Program for HTTP and SOAP
Perl SOAP::Lite for NumberToWords SOAP 1.1 Web Service
Perl SOAP::Lite for SOAP 1.2 Web Services
Java Socket and HttpURLConnection for SOAP
SAAJ - SOAP with Attachments API for Java
SoapUI - SOAP Web Service Testing Tool
WS-Security - SOAP Message Security Extension
WS-Security X.509 Certificate Token
Perl SOAP::Lite for GetSpeech SOAP 1.1 Web Service
Perl SOAP::Lite 0.710 for SOAP 1.2 Web Services
Perl SOAP::Lite 0.710 for WSDL