WSO2 WSF/Perl Installation Guide

This document guides you on how to install the WSO2 Web Services Framework/Perl extension, and run the server and client samples on Linux.

Please send your feedback to the user mailing list: wsf-perl-user@wso2.org. Kindly see Home page for subscription.

  • Contents

    Installing WSO2 WSF/Perl from Source on Linux

    Prerequisites

    Installation

    You have to have WSF/C installed. If you have WSF/C installed on the standard installation location which is /opt/wso2/wsf_c you can proceed directly to the WSF/Perl installation step. If you have WSF/C installed into a non-standard directory, you have to set WSFC_HOME environment variable before proceeding with the WSF/Perl installation.

    WSF/Perl depends on the Error.pm module for providing errors and exceptions. You have to install that before proceeding with the WSF/Perl installation. You can install Error.pm from CPAN as follows,

    # perl -MCPAN -e 'install Error'
  • Downloading

    You can download WSF/Perl 1.1 either from the WSF/Perl home page or by going to WSF/Perl 1.1 release on CPAN.

    Installing from CPAN

    The easiest method to install WSF/Perl is from CPAN. Just do,

    # perl -MCPAN -e 'install WSO2::WSF' 
  • Compiling manually

    Another method of getting WSF/Perl installed is to compile it manually. Unzip WSO2-WSF-Perl-1.1.tar.gz to a temporary directory.

    Then create the make file by typing tar -xzvf WSO2-WSF-Perl-1.1.tar.gz

    After that go to the new directory and create the makefile by typing perl Makefile.PL. You can safely ignore the "No library found" warnings.

    Compile the code by typing make

    Install the extension with make install

    
    

      If you need any help with building or installation , send a mail to wsf-perl-user@lists.wso2.org