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

 About This Book

 Introduction to WSDL 2.0

 WSDL 2.0 Document Structure and Syntax

 WSDL Version 2.0 Part 2: Adjuncts

 WSDL 2.0 Document Examples with SOAP Binding

 Using WSDL Document in Java Apache Axis2/Java for WSDL

 Apache Woden for WSDL Documents in Java

 SoapUI - Web Service Testing Tool

 PHP SOAP Extension for WSDL

Perl SOAP::Lite for WSDL

 What Is Perl SOAP::Lite

 Installing ActivePerl on Windows

Installing SOAP::Lite Package

 Testing Perl SOAP::Lite with WSDL Documents

 Introduction to WSDL 1.1

 WSDL 1.1 Document Structure and Syntax

 WSDL 1.1 Binding Extension for SOAP 1.1

 SoapUI as WSDL 1.1 Testing Tool

 WSDL 1.1 and SOAP 1.1 Examples - Document and RPC Styles

 PHP SOAP Extension for WSDL 1.1

 Perl SOAP::Lite for WSDL 1.1

 Apache Axis2/Java for WSDL 1.1

 Using WSDL2Java to Generate Web Service Stub Classes

 WSDL 1.1 Binding Extension for SOAP 1.2

 WSDL 1.1 and SOAP 1.2 Examples - Document and RPC Styles

 SOAP 1.2 Binding - PHP, Java and Perl Clients

 WSDL Related Terminologies

 Archived Tutorials

 References

 Full Version in PDF/EPUB