Queries a UDDI registry for business, service, or tModel information.
inquiry [-inquiryURL URL] [-business business_name] [-exact true | false] [-service service_name] [-tmodel tModel_name]
<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. |
This command queries information about “myBusiness” from the TrySybase registry:
wstool inquiry -inquiryURL http://uddi.trysybase.com:8080/uddi/inquiry -business myBusiness
Ant build example:
<wst_antTask command="inquiry" inquiryURL="http://uddi.trysybase.com:8080/uddi/inquiry" business="myBusiness"/>