DISCO - DISCO client interface
use DISCO; my $disco = DISCO->new(URI => 'http://'); print 'ref: ' . $disco->get_ref . "\n"; print 'docRef: ' . $disco->get_docRef . "\n"; print 'address: ' . $disco->get_address;
This module provide functions to interpret DISCO. DISCO (short for Discovery) is a pseudo-standard by Microsoft. A published .disco file, which is an XML document that contains links to other resources that describe the XML Web service, enables programmatic discovery of an XML Web service. More information at msdn.microsoft.com/library/en-us/cpguide/html/cpconwebservicediscovery.asp.
The interface exposed provides access to the ref, docRef and address attributes of a DISCO file.
The following functions are provided. All are exported by default. All the get_xxx() return the value of the xxx attribute in the provided XML. The constructor expects the URI of the DISCO file in the URI parameter.
This function returns the value of the ref element in the DISCO file.
This function returns the value of the docRef element in the DISCO file.
This function returns the value of the address element in the DISCO file.
The URI of the DISCO file.
DISCO reqires use XML::Simple and LWP::UserAgent.
http://msdn.microsoft.com/library/en-us/cpguide/html/cpconwebservicediscovery.asp
Christian Wenz <wenz@cpan.org>
Copyright 2004 Christian Wenz -- http://www.hauser-wenz.de/
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install DISCO, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DISCO
CPAN shell
perl -MCPAN -e shell install DISCO
For more information on module installation, please visit the detailed CPAN module installation guide.