UDDI administration commands  publish

Chapter 8: Using wstool, wstkeytool, wstant, and wstkeytoolant

inquiry

Description

Queries a UDDI registry for business, service, or tModel information.

Syntax

Command line:

inquiry 
[-inquiryURL URL] 
[-business business_name] 
[-exact true | false] 
[-service service_name] 
[-tmodel tModel_name] 

Ant build file:

<taskdef name="wst_antTask" classname="com.sybase.wst.wstool.ant.AntTask"/>
<target name="inquiry" > <wst_antTask command="inquiry"
[inquiryURL=“URL”] 
[business= “business_name”] 
[exact=“true | false”]
[service=“service_name”] 
[tmodel=“tModel_name” />

Where:

Option

Description

inquiryURL

Inquiry URL used to connect to the registry. Required.

business

Provide the business name if querying a business.

Provide a business key if querying a service, which lists only those services for the particular business. If the key is not specified, all the services that match all business are listed.

exact

True or false. If true (the default), only entities with exact matches are listed. If false, all entities that begin with the business, service, or tModel name specified are listed.

service

Specify the service name to query a service.

tmodel

Specify the tModel name to query a tModel.

Examples

Example 1

This command queries information about “myBusiness” from the IBM test registry:

wstool inquiry -inquiryURL http://uddi.ibm.com/testregistry/inquiryapi 
-business myBusiness

Ant build example:

<wst_antTask command="inquiry"  inquiryURL="https://uddi.ibm.com/testregistry/inquiryapi" business="myBusiness"/>




Copyright © 2005. Sybase Inc. All rights reserved. publish