allowMethods  delete (1)

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

deactivate

Description

Deactivates a Web service so that it is unavailable to clients.

Syntax

Command line:

deactivate 
entity

Ant build file:

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

Where:

Option

Description

entity

service:CollectionName/ServiceName – identifies the Web service you are deactivating.

Examples

Example 1

This command deactivates MyWebService which is contained in MyCollection:

wstool deactivate service:MyCollection/MyWebService

Ant build example:

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




Copyright © 2005. Sybase Inc. All rights reserved. delete (1)