UDDI::HalfDecent::Record - a business/service/etc. record from a UDDI registry
$business = new UDDI::HalfDecent::Record($rs, $node, 'business'); $name = $business->xpath("name");
Represents a business, service, or other object, as described by a UDDI node and returned in response to a find_business(), find_service or similar request.
find_business()
find_service
$record = new UDDI::HalfDecent::Record($rs, $node, $type);
Creates and returns a new UDDI object representing a business, service or other. Note that client code need never call this: it is invoked by the UDDI library itself, in methods such as UDDI::HalfDecent::ResultSet::record().
UDDI::HalfDecent::ResultSet::record()
This constructor takes three arguments: $rs is the result-set object for which it is created, and which will be used for logging, etc; $node is the context node of the element in the UDDI XML response describing this object; and $type is the type of object described (business, service, etc.
$rs
$node
$type
business
service
$name = $record->xpath("name"); $description = $record->xpath("uddi:description");
Returns the value corresponding to the specified XPath within the business. The specified XPaths may include the following predefined namespace prefixes:
http://www.w3.org/2001/XMLSchema
http://www.w3.org/2001/XMLSchema-instance
http://schemas.xmlsoap.org/soap/encoding/
http://schemas.xmlsoap.org/soap/envelope/
The name space for whatever UDDI version is in effect.
To simplify application code, the UDDI namespace is assumed if none is specified.
print $rec->as_xml();
Returns an XML representation of the whole record.
UDDI::HalfDecent is the module that uses this. See also its SEE ALSOs.
UDDI::HalfDecent
As for Net::Z3950::UDDI.
Net::Z3950::UDDI
To install Net::Z3950::UDDI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Z3950::UDDI
CPAN shell
perl -MCPAN -e shell install Net::Z3950::UDDI
For more information on module installation, please visit the detailed CPAN module installation guide.