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_service or similar request.
$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
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 (
$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:
The name space for whatever UDDI version is in effect.
To simplify application code, the UDDI namespace is assumed if none is specified.
Returns an XML representation of the whole record.
UDDI::HalfDecent is the module that uses this. See also its SEE ALSOs.