Martin Kutter > SOAP-WSDL-2.00.99_3 > SOAP::WSDL::Build

Download:
SOAP-WSDL-2.00.99_3.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  20
Open  19
View/Report Bugs
Module Version: 2.01   Source  

NAME ^

SOAP::WSDL::Build - Module::Build subclass for running wsdl2perl during build

SYNOPSIS ^

In your Build.PL:

 use SOAP::WSDL::Build;
 my $build = SOAP::WSDL::Build->new(
    wsdl2perl => {
        location => 'wsdl/foo.wsdl',
        prefix => 'SupaModule::',
    }
 );
 $build->generate_build_script();

On building/installing:

 perl Build.PL
 perl Build
 perl Build test
 perl Build install

DESCRIPTION ^

Module::Build subclass for running wsdl2perl during the build stage. This allows shipping of distributions based on SOAP::WSDL, which do not include generated code, but the WSDLs in question instead.

AUTHORING ^

To use SOAP::WSDL::Build in your Build.PL scripts, do the following:

Options

SOAP::WSDL::Builder accepts the following options in the wsdl2perl hash reference:

Build targets ^

build

SOAP::WSDL::Build modifies the standard "build" target (invoked when running "perl Build") to include the target "webservice".

webservice

SOAP::WSDL::Build adds the new target webservice. This build target generates perl classes from the WSDL definitions specified.

You may run this step separately by calling

 perl Build webservice

METHODS ^

wsdl2perl

 $builder->wsdl2perl(%config);

EXAMPLE ^

An example is located in the distribution's examples directory in

 examples/dist

LICENSE AND COPYRIGHT ^

Copyright 2004-2009 Martin Kutter.

This file is part of SOAP-WSDL. You may distribute/modify it under the same terms as perl itself

AUTHOR ^

Martin Kutter <martin.kutter fen-net.de>

REPOSITORY INFORMATION ^

 $Rev: 849 $
 $LastChangedBy: kutterma $
 $Id: Build.pm 849 2009-05-15 21:39:29Z kutterma $
 $HeadURL: http://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL/branches/Typemap/lib/SOAP/WSDL/Build.pm $
syntax highlighting: