Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    CAM::SOAPApp 1.06

    Download button

    No screenshots available
    Downloads: 381  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.2/5)
    8 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Clotho Advanced Media, Inc. | More programs
    Perl Artistic License / FREE
    February 18th, 2008, 14:32 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    CAM::SOAPApp description

    CAM::SOAPApp is a SOAP application framework.

    CAM::SOAPApp is a SOAP application framework.

    SYNOPSIS

    Do NOT subclass from this module to create your SOAP methods! That would make a big security hole. Instead, write your application like this example:

    use CAM::SOAPApp;
    SOAP::Transport::HTTP::CGI
    -> dispatch_to('My::Class')
    -> handle;

    package My::Class;
    our @ISA = qw(SOAP::Server::Parameters);
    sub isLeapYear {
    my $pkg = shift;
    my $app = CAM::SOAPApp->new(soapdata => @_);
    if (!$app) {
    CAM::SOAPApp->error('Internal', 'Failed to initialize the SOAP app');
    }
    my Úta = $app->getSOAPData();
    if (!defined $data{year}) {
    $app->error('NoYear', 'No year specified in the query');
    }
    if ($data{year} !~ /^d+$/) {
    $app->error('BadYear', 'The year must be an integer');
    }
    my $leapyear = ($data{year} % 4 == 0 &&
    ($data{year} % 100 != 0 ||
    $data{year} % 400 == 0));
    return $app->response(leapyear => $leapyear ? 1 : 0);
    }

    CAM::SOAPApp is a framework to assist SOAP applications. This package abstracts away a lot of the tedious interaction with SOAP and the application configuration state. CAM::SOAPApp is a subclass of CAM::App and therefore inherits all of its handy features.

    When you create a class to hold your SOAP methods, that class should be a subclass of SOAP::Server::Parameters. It should NOT be a subclass of CAM::SOAPApp. If you were to do the latter, then all of the CAM::App and CAM::SOAPApp methods would be exposed as SOAP methods, which would be a big security hole, so don't make that mistake.

    Requirements:

    · Perl



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    SOAP framework | application development | Perl module | SOAP | application | framework

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM