isStatsEnabled

Description

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.

Syntax

Command line:

isStatsEnabled 
entity

Ant build file:

<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:

  • service:CollectionName/ServiceName

  • collection:CollectionName

Examples

Example 1

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"/>