WSDL::Generator::Binding - Generate wsdl messages and portType for WSDL::Generator


WSDL-Generator documentation  | view source Contained in the WSDL-Generator distribution.

Index


NAME

Top

WSDL::Generator::Binding - Generate wsdl messages and portType for WSDL::Generator

SYNOPSIS

Top

  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;

CONSTRUCTOR

Top

new($param)

  $param = {	'services'     => 'AcmeTravelCompany',
				'service_name' => 'Book_a_Flight' };
$param is optional.
Returns WSDL::Generator::Binding object

METHODS

Top

add_request($method)

Adds a method with its request for binding

add_reponse($method)

Adds a method with its response for binding

generate($param)

  $param = {	'services'     => 'AcmeTravelCompany',
				'service_name' => 'Book_a_Flight' };
$param is optional.
Prepare a wsdl structure ready to be fetched

get_message()

Returns WSDL message object

get_porttype()

Returns WSDL porttype object

get_binding()

Returns WSDL binding object

SEE ALSO

Top

  WSDL::Generator

AUTHOR

Top

"Pierre Denis" <pdenis@fotango.com>

COPYRIGHT

Top


WSDL-Generator documentation  | view source Contained in the WSDL-Generator distribution.