W3C::SOAP - SOAP client generation from WSDL & XSD files
This documentation refers to W3C::SOAP version 0.0.3.
use W3C::SOAP qw/load_wsdl/; # load some wsdl file my $wsdl = load_wsdl("http://example.com/eg.wsdl"); # call a method exported by the WSDL $wsdl->some_method(...); # load some xsd file my $xsd = load_xsd("http://example.com/eg.xsd"); # create a new object of of the XSD my $obj = $xsd->new( ... );
load_wsdl ($wsdl_location)
Loads a WSDL file, parses is and generates dynamic Moose objects that represent the WSDL file and any XML Schema xsd content that it refers to.
See W3C::SOAP::WSDL::Parser for more details.
load_xsd ($xsd_location)
Loads an XML Schema (.xsd) file, parses is and generates dynamic Moose objects that representing that schema and any other included/imported XML Schema content that it refers to.
See W3C::SOAP::XSD::Parser for more details.
There are no known bugs in this module.
Please report problems to Ivan Wills (ivan.wills@gmail.com).
Patches are welcome.
XML::LibXML, MooseX::Types::XMLSchema
Inspired by SOAP::WSDL & SOAP::Lite
Ivan Wills - (ivan.wills@gmail.com)
Copyright (c) 2012 Ivan Wills (14 Mullion Close, Hornsby Heights, NSW 2077 Australia). 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.
To install W3C::SOAP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm W3C::SOAP
CPAN shell
perl -MCPAN -e shell install W3C::SOAP
For more information on module installation, please visit the detailed CPAN module installation guide.