Dist-Zilla-Plugin-WSDL

 view release on metacpan or  search on metacpan

lib/Dist/Zilla/Plugin/WSDL.pm  view on Meta::CPAN

package Dist::Zilla::Plugin::WSDL;

# ABSTRACT: WSDL to Perl classes when building your dist

use Modern::Perl '2010';    ## no critic (Modules::ProhibitUseQuotedVersion)

our $VERSION = '0.208';     # VERSION
use utf8;

#pod =head1 SYNOPSIS
#pod
#pod In your F<dist.ini>:
#pod
#pod     [WSDL]
#pod     uri = http://example.com/path/to/service.wsdl
#pod     prefix = My::Dist::Remote::
#pod
#pod =head1 DESCRIPTION
#pod
#pod This L<Dist::Zilla|Dist::Zilla> plugin will create classes in your
#pod distribution for interacting with a web service based on that service's
#pod published WSDL file.  It uses L<SOAP::WSDL|SOAP::WSDL> and can optionally add
#pod both a class prefix and a typemap.
#pod
#pod =head1 SEE ALSO
#pod
#pod =over
#pod
#pod =item L<Dist::Zilla|Dist::Zilla>
#pod
#pod =item L<SOAP::WSDL|SOAP::WSDL>
#pod
#pod =back
#pod
#pod =cut

use autodie;
use English '-no_match_vars';
use File::Copy 'copy';
use LWP::UserAgent;
use Moose;
use Moose::Meta::TypeConstraint;
use MooseX::AttributeShortcuts;
use MooseX::Types::Moose qw(ArrayRef Bool HashRef Str);
use MooseX::Types::Perl 'ModuleName';
use MooseX::Types::URI 'Uri';
use Path::Tiny;
use SOAP::WSDL::Expat::WSDLParser;
use SOAP::WSDL::Factory::Generator;
use Try::Tiny;
use namespace::autoclean;
with qw(
    Dist::Zilla::Role::Tempdir
    Dist::Zilla::Role::BeforeBuild
);

#pod =attr uri
#pod
#pod URI (sometimes spelled URL) pointing to the WSDL that will be used to generate
#pod Perl classes.
#pod
#pod =cut

has uri => ( is => 'ro', required => 1, coerce => 1, isa => Uri );

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 1.475 second using v1.00-cache-2.02-grep-82fe00e-cpan-f5108d614456 )