Name

get_serviceDetail

Synopsis

The get_serviceDetail function retrieves the businessService record for each specified serviceKey. The response includes a root serviceDetail element, and one businessService element for each matching service. If the UDDI operator returns only a partial list of matching results, the serviceDetail element’s truncated attribute will be set to true. If no matches are found, an E_invalidKeyPassed error is returned.

Version: 1.0 and 2.0

1.0 syntax:

<get_serviceDetail  generic="1.0" xmlns="urn:uddi-org:api" >
   <serviceKey/>
   [<serviceKey/> ...]
</get_serviceDetail>

2.0 syntax:

<get_serviceDetail generic="2.0" xmlns="urn:uddi-org:api_v2">
   <serviceKey/>
   [<serviceKey/> ...]
</get_serviceDetail>

Argument:

serviceKey

Required uuid_key specifying the serviceDetail. You can specify multiple serviceKeys.

Example:

The following UDDI 1.0 example retrieves the service details for the XMethods Stock Quote service:

<get_serviceDetail generic="1.0" xmlns="urn:uddi-org:api">
   <serviceKey>d5921160-3e16-11d5-98bf-002035229c64</serviceKey>
</get_serviceDetail>

Here is a complete response to the query:

<serviceDetail generic="1.0" operator="Microsoft Corporation" truncated="false" xmlns="urn:uddi-org:api"> <businessService serviceKey="d5921160-3e16-11d5-98bf-002035229c64" businessKey="ba744ed0-3aaf-11d5-80dc-002035229c64"> <name>XMethods Delayed Stock Quotes</name> <description xml:lang="en"> 20-minute delayed stock quotes </description> <bindingTemplates> <bindingTemplate serviceKey="d5921160-3e16-11d5-98bf-002035229c64" ...

Get Web Services Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.