UDDI API - find_binding



Description

The find_bindings function searches for template binding records associated with a specified service and the specified tModel record(s).

The response includes a root bindingDetail element and one bindingTemplate element for each matching binding. If the UDDI operator returns only a partial list of matching results, the bindingDetail element's truncated attribute will be set to true. If no matches are found, a bindingDetail element with zero sub elements is returned.

Version 2.0 Syntax

<find_binding serviceKey = "uuid_key" [maxRows = "nn"] generic = "2.0"
   xmlns = "urn:uddi-org:api_v2">
   [<findQualifiers/>]
   <tModelBag/>
</find_binding>

Arguments

serviceKey − Required uuid_key attribute specifying the associated businessService.

maxRows − Optional attribute to specify the maximum number of rows to be returned; if maxRows is exceeded, the bindingDetail element's truncated attribute will be set to true.

findQualifiers − Optional element to override the default search functionality.

tModelBag − Required uuid_key element to specify tModel records. If more than one tModel is specified, the search is performed via a logical AND.

Error Returned

If any error occurs in processing this API call, a dispositionReport element will be returned to the caller within a SOAP Fault. The following error number information will be relevant −

E_invalidKeyPassed − It signifies that the uuid_key value passed did not match with any known serviceKey or tModelKey values. The error structure will signify which condition occurred first, and the invalid key will be indicated clearly in text.

E_unsupported − It signifies that one of the findQualifier values passed was invalid. The invalid qualifier will be indicated clearly in text.

uddi_api_references.htm
Advertisements