delete (1)

Description

Deletes a Web service from a given Web service collection. The service element in the server-config.wsdd file is deleted and the files indicated by the “files” parameter of that service element are also deleted.

Syntax

Command line:

delete 
entity

Ant build file:

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

Where:

Option

Description

entity

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

Examples

Example 1

This command deletes MyWebService:

wstool delete Service:MyWebCollection/MyWebService

Ant build example:

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