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.
delete entity
<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. |
This command deletes MyWebService:
wstool delete Service:MyWebCollection/MyWebService
Ant build example:
<wst_antTask command="delete" entity="service:myCollection/myService"/>