getTMjar  isAllowed

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

isActive

Description

Returns a message that a given Web service is either “active” or “inactive.”

Syntax

Command line:

isActive 
entity

Ant build file:

<taskdef name="wst_antTask" classname="com.sybase.wst.wstool.ant.AntTask"/>
<target name="isActive" > <wst_antTask command="isActive" entity=”entity” >

Where:

Option

Description

entity

Service:CollectionName/ServiceName – identifies the Web service which is either “active” or “inactive.”

Examples

Example 1

This command returns either “active” or “inactive” for MyWebService:

wstool isActive Service:MyWebServiceCollection/MyWebService

Ant build example:

<wst_antTask command="isactive" entity="service:myCollection/myService"/>




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

View this book as PDF