UDDIProxy:
getBusinessDetail method
Description
Gets business details using a business key that is typically
obtained from the findBusiness method.
Syntax
1 |
<span>proxy</span>.<span>getBusinessDetail</span> (readonly string <span>businessKey</span>, ref integer <span>count</span>, <br>ref string <span>serviceNameResult</span> [ ], ref string <span>serviceDescriptionResult</span> [ ], ref string <span>serviceKeyResult</span> [ ], ref string <span>wsdl</span> [ ]) |
Argument |
Description |
---|---|
proxy |
The name of the UDDIProxy object |
businessKey |
Business key to search in UDDI registry |
count |
Number of search results returned; never |
serviceNameResult |
Array of services matching the search |
serviceDescriptionResult |
Array of descriptions for services matching |
serviceKeyResult |
Array of globally unique identifiers |
wsdl |
Array of WSDL file names for services |
Return Values
Integer. Valid values are 1
for
success, and 0
for failure.
Examples
The following code gets business details from business
keys obtained by a findBusiness call on an instantiated
uddiproxy object (proxy):
1 |
int i, count, count2 |
1 |
string businessName[], businessDescription[] |
1 |
string businessKey [] |
1 |
string serviceName[], serviceDescription[] |
1 |
string serviceKey [], wsdl [ ] |
1 |
...//set search options and inquiry URL |
1 |
proxy.findbusiness ("IBM", count, businessName, &<br>  businessDescription, businessKey) |
1 |
FOR i = 1 TO count |
1 |
  proxy.<span>getbusinessdetail</span> (businessKey [i], count2, &<br>     serviceName, serviceDescription, serviceKey, wsdl) |
1 |
  ...//call findService in secondary FOR/NEXT loop |
1 |
NEXT |