Anansi::Script::SOAP - Defines the mechanisms specific to handling SOAP.
my $OBJECT = Anansi::Script::SOAP->new();
This module is designed to be an optional component module for use by the Anansi::Script component management module. It defines the processes specific to handling both input and output from Perl scripts that are executed by a web server using the Simple Object Access Protocol. Uses Anansi::ComponentManager (indirectly), Anansi::ScriptComponent and base.
Declared in Anansi::Component.
$OBJECT->SUPER::finalise();
Declared in Anansi::Class. Overridden by this module.
Declared in Anansi::Class. Intended to be overridden by an extending module.
Declared in Anansi::Class.
$OBJECT->SUPER::initialise();
$OBJECT->loadParameters();
Loads all of the CGI parameters supplied upon page REQUEST.
my $medium = Anansi::Script::SOAP->medium(); my $medium = $OBJECT->medium(); my $medium = $OBJECT->channel('MEDIUM');
Returns the STRING description of the medium this module is designed to handle.
my $parameters = $OBJECT->parameter(); my $parameters = $OBJECT->channel('PARAMETER'); my $parameterValue = $OBJECT->parameter(undef, 'parameter name'); my $parameterValue = $OBJECT->channel('PARAMETER', 'parameter name'); if($OBJECT->parameter(undef, 'parameter name' => 'parameter value', 'another parameter' => undef)); if($OBJECT->channel('PARAMETER', 'parameter name' => 'parameter value', 'another parameter' => undef));
Either returns an ARRAY of all the existing parameter names or returns the value of a specific parameter or sets the value of one or more parameters. Assigning an "undef" value has the effect of deleting the parameter.
my $priority = Anansi::Script::SOAP->priority(); my $priority = $OBJECT->priority(); my $priority = $OBJECT->channel('PRIORITY_OF_VALIDATE');
Returns a hash of the priorities of this script component in relation to other script components. Each priority is represented by a component namespace in the form of a key and a value of lower, -1 (minus one) or any negative value implying this component is of higher priority, higher, 1 (one) or any positive value implying this component is of lower priority or same or 0 (zero) implying this component is of the same priority.
my $valid = $OBJECT->validate(); my $valid = $OBJECT->channel('VALIDATE_AS_APPROPRIATE');
Determines whether this module is the correct one to use for handling Perl script execution.
This module is designed to make it simple, easy and quite fast to code your design in perl. If for any reason you feel that it doesn't achieve these goals then please let me know. I am here to help. All constructive criticisms are also welcomed.
Kevin Treleaven <kevin AT treleaven DOT net>
To install Anansi::Script::SOAP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Anansi::Script::SOAP
CPAN shell
perl -MCPAN -e shell install Anansi::Script::SOAP
For more information on module installation, please visit the detailed CPAN module installation guide.