WSDL::Generator::Binding - Generate wsdl messages and portType for WSDL::Generator
use WSDL::Generator::Binding; my $param = { 'services' => 'AcmeTravelCompany', 'service_name' => 'Book_a_Flight' }; my $bind = WSDL::Generator::Binding->new($param); $bind->add_request('GetPrice'); $bind->add_response('GetPrice'); print $bind->get_message->to_string; print $bind->get_porttype->to_string; print $bind->get_binding->to_string;
$param = { 'services' => 'AcmeTravelCompany', 'service_name' => 'Book_a_Flight' }; $param is optional. Returns WSDL::Generator::Binding object
Adds a method with its request for binding
Adds a method with its response for binding
$param = { 'services' => 'AcmeTravelCompany', 'service_name' => 'Book_a_Flight' }; $param is optional. Prepare a wsdl structure ready to be fetched
Returns WSDL message object
Returns WSDL porttype object
Returns WSDL binding object
WSDL::Generator
"Pierre Denis" <pdenis@fotango.com>
Copyright (C) 2001, Fotango Ltd - All rights reserved. This is free software. This software may be modified and/or distributed under the same terms as Perl itself.
To install WSDL::Generator, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WSDL::Generator
CPAN shell
perl -MCPAN -e shell install WSDL::Generator
For more information on module installation, please visit the detailed CPAN module installation guide.