NAME

MyInterfaces::FullerData_x0020_Fortune_x0020_Cookie::FullerData_x0020_Fortune_x0020_CookieSoap - SOAP Interface for the FullerData_x0020_Fortune_x0020_Cookie Web Service

SYNOPSIS

 use MyInterfaces::FullerData_x0020_Fortune_x0020_Cookie::FullerData_x0020_Fortune_x0020_CookieSoap;
 my $interface = MyInterfaces::FullerData_x0020_Fortune_x0020_Cookie::FullerData_x0020_Fortune_x0020_CookieSoap->new();

 my $response;
 $response = $interface->readNodeCount();
 $response = $interface->GetFortuneCookie();
 $response = $interface->CountCookies();
 $response = $interface->GetSpecificCookie();

DESCRIPTION

SOAP Interface for the FullerData_x0020_Fortune_x0020_Cookie web service located at http://www.fullerdata.com/FortuneCookie/FortuneCookie.asmx.

SERVICE FullerData_x0020_Fortune_x0020_Cookie

Simple XML-based fortune cookie

Port FullerData_x0020_Fortune_x0020_CookieSoap

METHODS

General methods

new

Constructor.

All arguments are forwarded to SOAP::WSDL::Client.

SOAP Service methods

Method synopsis is displayed with hash refs as parameters.

The commented class names in the method's parameters denote that objects of the corresponding class can be passed instead of the marked hash ref.

You may pass any combination of objects, hash and list refs to these methods, as long as you meet the structure.

List items (i.e. multiple occurences) are not displayed in the synopsis. You may generally pass a list ref of hash refs (or objects) instead of a hash ref - this may result in invalid XML if used improperly, though. Note that SOAP::WSDL always expects list references at maximum depth position.

XML attributes are not displayed in this synopsis and cannot be set using hash refs. See the respective class' documentation for additional information.

readNodeCount

Display the number of nodes specified in fortune XML document

Returns a MyElements::readNodeCountResponse object.

 $response = $interface->readNodeCount(,,
 );

GetFortuneCookie

Get a random fortune cookie from the XML document

Returns a MyElements::GetFortuneCookieResponse object.

 $response = $interface->GetFortuneCookie(,,
 );

CountCookies

Count the actual number of nodes in the XML document of fortunes

Returns a MyElements::CountCookiesResponse object.

 $response = $interface->CountCookies(,,
 );

GetSpecificCookie

Get a specific cookie by the XML node number

Returns a MyElements::GetSpecificCookieResponse object.

 $response = $interface->GetSpecificCookie( {
    index =>  $some_value, # int
  },,
 );

AUTHOR

Generated by SOAP::WSDL on Wed Dec 3 22:05:20 2008