Determines if statistic logging for a given Web service or Web service collection is enabled or not. Returns true if enabled and false if disabled.
isStatsEnabled entity
<taskdef name="wst_antTask" classname="com.sybase.wst.wstool.ant.AntTask"/> <target name="isStatsEnabled" > <wst_antTask command="isStatsEnabled" entity=”entity” >
Where:
Option |
Description |
---|---|
entity |
The name of the Web service or Web service collection being queried:
|
This command returns true if statistics are being gathered for MyWebService:
wstool isStatsEnabled service:MyWebCollection/MyWebService
Ant build example:
<wst_antTask command="isstatsenabled" entity="service:myCollection/myService"/>
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |