NAME
W3C::SOAP::WADL::Parser - Parses a WADL file and produces a client for calling the specified webservice.
VERSION
This documentation refers to W3C::SOAP::WADL::Parser version 0.007.
SYNOPSIS
use W3C::SOAP::WADL::Parser;
# generate a dynamic WADL object.
my $ws = load_wadl('http://localhost/myws.wadl');
DESCRIPTION
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 use
d by programs see write_modules
SUBROUTINES/METHODS
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
path_to_name ($path, $type)
Converts $path
to a Perl module name
get_xsd ()
Gets any included/linked XSD documents.
DIAGNOSTICS
CONFIGURATION AND ENVIRONMENT
DEPENDENCIES
INCOMPATIBILITIES
BUGS AND LIMITATIONS
There are no known bugs in this module.
Please report problems to Ivan Wills (ivan.wills@gmail.com).
Patches are welcome.
AUTHOR
Ivan Wills - (ivan.wills@gmail.com)
LICENSE AND COPYRIGHT
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.