2006-09-30 11:23:16 +00:00
|
|
|
How does Pod::WSDL work? If you instantiate a Pod::WSDL object with the
|
|
|
|
name of the module (or the path of the file, or an open filehandle)
|
|
|
|
providing the web service like this
|
|
|
|
|
2016-05-19 10:53:05 +00:00
|
|
|
my $pwsdl = new Pod::WSDL(source => 'My::Module',
|
2006-09-30 11:23:16 +00:00
|
|
|
location => 'http://my.services.location/on/the/web');
|
|
|
|
|
|
|
|
Pod::WSDL will try to find "My::Module" in @INC, open the file, parse it
|
|
|
|
for WSDL directives and prepare the information for WSDL output. By
|
|
|
|
calling
|
|
|
|
|
|
|
|
$pwsdl->WSDL;
|
|
|
|
|
|
|
|
Pod::WSDL will output the WSDL document. That's it.
|
|
|
|
|
2018-05-27 20:15:16 +00:00
|
|
|
WWW: https://metacpan.org/release/Pod-WSDL
|