The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

W3C::SOAP::Parser - Base module for creating Moose objects from XML documents

VERSION

This documentation refers to W3C::SOAP::Parser version 0.11.

SYNOPSIS

   # only used as a base
   extends 'W3C::SOAP::Parser';

DESCRIPTION

This module parses a WSDL file so that it can produce a client to talk to the SOAP service.

SUBROUTINES/METHODS

EXPORTED SUBROUTINES

load_wsdl ($location)

Helper method that takes the supplied location and creates the dynamic WSDL client object.

CLASS METHODS

new (%args)

Create the new object new accepts the following arguments:

location

This is the location of the WSDL file, it may be a local file or a URL

module

This is the name of the module to be generated, it is required when writing the SOAP client to disk, the dynamic client generator creates a semi random namespace.

lib

The library directory where modules should be stored. only required when calling write_modules

template

The Template Toolkit object used for the generation of on disk modules

ns_module_map

The mapping of XSD namespaces to perl Modules.

OBJECT METHODS

<$wsdl-write_modules ()>>

Writes out a module that is a SOAP Client to interface with the contained WSDL document, also writes any referenced XSDs.

<$wsdl-dynamic_classes ()>>

Creates a dynamic SOAP client object to talk to the WSDL this object was created for

<$wsdl-get_xsd ()>>

Creates the W3C::SOAP::XSD::Parser object that represents the XSDs that are used by the specified WSDL file.

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) 2012 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.