MyInterfaces::FullerData_x0020_Fortune_x0020_Cookie::FullerData_x0020_Fortune_x0020_CookieSoap - SOAP Interface for the FullerData_x0020_Fortune_x0020_Cookie Web Service
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();
SOAP Interface for the FullerData_x0020_Fortune_x0020_Cookie web service located at http://www.fullerdata.com/FortuneCookie/FortuneCookie.asmx.
Simple XML-based fortune cookie
Constructor.
All arguments are forwarded to SOAP::WSDL::Client.
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 occurrences) 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.
Display the number of nodes specified in fortune XML document
Returns a MyElements::readNodeCountResponse object.
$response = $interface->readNodeCount(,, );
Get a random fortune cookie from the XML document
Returns a MyElements::GetFortuneCookieResponse object.
$response = $interface->GetFortuneCookie(,, );
Count the actual number of nodes in the XML document of fortunes
Returns a MyElements::CountCookiesResponse object.
$response = $interface->CountCookies(,, );
Get a specific cookie by the XML node number
Returns a MyElements::GetSpecificCookieResponse object.
$response = $interface->GetSpecificCookie( { index => $some_value, # int },, );
Generated by SOAP::WSDL on Wed Dec 3 22:05:20 2008
To install SOAP::WSDL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SOAP::WSDL
CPAN shell
perl -MCPAN -e shell install SOAP::WSDL
For more information on module installation, please visit the detailed CPAN module installation guide.