Skip to content

mjgardner/Dist-Zilla-Plugin-WSDL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAME

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

VERSION

version 0.208

SYNOPSIS

In your dist.ini:

[WSDL]
uri = http://example.com/path/to/service.wsdl
prefix = My::Dist::Remote::

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 class names. Default is "My", which will result in classes under:

  • MyAttributes::
  • MyElements::
  • MyInterfaces::
  • MyServer::
  • MyTypes::
  • MyTypemaps::

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.

SEE ALSO

SUPPORT

Perldoc

You can find documentation for this module with the perldoc command.

perldoc Dist::Zilla::Plugin::WSDL

Websites

The following websites have more information about this module, and may be of help to you. As always, in addition to those websites please use your favorite search engine to discover more resources.

Bugs / Feature Requests

Please report any bugs or feature requests through the web interface at https://github.com/mjgardner/Dist-Zilla-Plugin-WSDL/issues. You will be automatically notified of any progress on the request by the system.

Source Code

The code is open to the world, and available for you to hack on. Please feel free to browse it and play with it, or whatever. If you want to contribute patches, please send me a diff or prod me to pull from your repository :)

https://github.com/mjgardner/Dist-Zilla-Plugin-WSDL

git clone git://github.com/mjgardner/Dist-Zilla-Plugin-WSDL.git

AUTHOR

Mark Gardner [email protected]

COPYRIGHT AND LICENSE

This software is copyright (c) 2020 by GSI Commerce.

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

About

WSDL to Perl classes when building your dist

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages