W3C::SOAP::WADL::Parser - Parses a WADL file and produces a client for calling the specified webservice.
This documentation refers to W3C::SOAP::WADL::Parser version 0.1.
use W3C::SOAP::WADL::Parser; # generate a dynamic WADL object. my $ws = load_wadl('http://localhost/myws.wadl');
W3C::SOAP::WADL parses WADL files to generate WADL clients. The clients can be either dynamic clients where the client is regenerated each time the code is run see load_wadl or static client where the clients are written to disk as Perl modules and used by programs see write_modules
W3C::SOAP::WADL
use
write_modules ()
Writes all the module WADL clients (and XSDs if found) to disk
write_module ()
Helper to writes the top level WADL client object.
write_method_object ()
Writes the modules that contain the WADL method details.
load_wadl($file_or_url)
Generates a WADL client in memory for the passed WADL file/URL.
dynamic_classes ()
Generates all the method classes.
build_method_object ()
Generates all the individual method classes.
add_params ()
Adds the parameters for a method
add_representations ()
Adds the representations that a method can take
There are no known bugs in this module.
Please report problems to Ivan Wills (ivan.wills@gmail.com).
Patches are welcome.
Ivan Wills - (ivan.wills@gmail.com)
Copyright (c) 2013 Ivan Wills (14 Mullion Close, Hornsby Heights, NSW Australia 2077). All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
To install W3C::SOAP::WADL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm W3C::SOAP::WADL
CPAN shell
perl -MCPAN -e shell install W3C::SOAP::WADL
For more information on module installation, please visit the detailed CPAN module installation guide.