NAME

Dist::Zilla::Plugin::WSDL - WSDL to Perl classes when building your dist

VERSION

version 0.102600

DESCRIPTION

This Dist::Zilla plugin will create classes in your distribution for interacting with a web service based on that service's published WSDL file. It uses SOAP::WSDL and can optionally add both a class prefix and a typemap.

ATTRIBUTES

uri

URI (sometimes spelled URL) pointing to the WSDL that will be used to generate Perl classes.

prefix

String used to prefix generated classes. Default is "My".

typemap

A list of SOAP types and the classes that should be mapped to them. Provided because some WSDL files don't always define every type, especially fault responses. Listed as a series of => delimited pairs.

Example:

typemap = Fault/detail/FooException => MyTypes::FooException
typemap = Fault/detail/BarException => MyTypes::BarException

generate_server

Boolean value on whether to generate CGI server code or just interface code. Defaults to false.

METHODS

before_build

Instructs SOAP::WSDL to generate Perl classes for the provided WSDL and gathers them into the lib directory of your distribution.

INSTALLATION

See perlmodinstall for information and options on installing Perl modules.

BUGS AND LIMITATIONS

No bugs have been reported.

Please report any bugs or feature requests through the web interface at http://rt.cpan.org.

AVAILABILITY

The project homepage is http://github.com/mjg/Dist-Zilla-Plugin-WSDL/tree.

The latest version of this module is available from the Comprehensive Perl Archive Network (CPAN). Visit http://www.perl.com/CPAN/ to find a CPAN site near you, or see http://search.cpan.org/dist/Dist-Zilla-Plugin-WSDL/.

The development version lives at http://github.com/mjg/Dist-Zilla-Plugin-WSDL.git and may be cloned from git://github.com/mjg/Dist-Zilla-Plugin-WSDL.git. Instead of sending patches, please fork this project using the standard git and github infrastructure.

AUTHOR

Mark Gardner <mjgardner@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Mark Gardner.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.