The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
HPPPM-Demand-Management

VERSION 0.01

How to use from a wrapper(hpppm_demand.pl):
perl bin/hpppm_demand.pl -o createRequest -u user -p password -f data/createRequest.data -c cfg/logging.conf

where:
-o or --operation  is the webservice operation being performed
-u or --user       user authorized to perform web service operation
-p or --password   user's password
-f or --fields     location of file containing input fields that will be used to create
                   the web service request.Instead of a path this can also be a string
                   containing the input fields.A sample data file for each web service
                   operation has been bundled along with distribution under data dir.
-c or --logconfig  location to the configuration file that drives logging behavior.
-h or --help or -? display help.

Typical Usage:

$hpppm  = HPPPM::Demand::Management->new();

$fields = $hpppm->validate_read_cmdargs(@ARGV);
$tags   = $hpppm->get_inputs($hpppm->get_current_oper());

$inputs = FieldParser::parser($fields, $tags);

$ret    = $hpppm->validate_inputs($inputs); 
$ret    = $hpppm->validate_tokens($inputs->{'fields'}) 
                            if grep /^fields$/, @{ $tags };  

$ret    = $hpppm->extract($res, ['faultcode', 'faultstring', 
                                 'exception:detail', 'id', 'return']);

For more details, please go thru the Module's documentation.

INSTALLATION

To install this module, run the following commands:

	perl Makefile.PL
	make
	make test
	make install

SUPPORT AND DOCUMENTATION

After installing, you can find documentation for this module with the
perldoc command.

    perldoc HPPPM::Demand::Management

You can also look for information at:

    RT, CPAN's request tracker (report bugs here)
        http://rt.cpan.org/NoAuth/Bugs.html?Dist=HPPPM-Demand-Management

    AnnoCPAN, Annotated CPAN documentation
        http://annocpan.org/dist/HPPPM-Demand-Management

    CPAN Ratings
        http://cpanratings.perl.org/d/HPPPM-Demand-Management

    Search CPAN
        http://search.cpan.org/dist/HPPPM-Demand-Management/


LICENSE AND COPYRIGHT

Copyright (C) 2012 Varun Juyal

This program is free software; you can redistribute it and/or modify it
under the terms of either: the GNU General Public License as published
by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.