Removes roles from a Web service or Web service method.
remove [-sourceEntity r1, r2, r3] TargetEntity
<taskdef name="wst_antTask" classname="com.sybase.wst.wstool.ant.AntTask"/> <target name="remove" > <wst_antTask command="remove" [sourceEntity=“r1, r2, r3”] TargetEntity=”entity” >
Where:
Option |
Description |
---|---|
sourceEntity |
A comma-separated list of roles to be removed from the format of: role:role1, role2 |
targetEntity |
The target entity to which the roles are removed:
|
This example removes role1 and role2 from myMethod:
wstool remove “role:role1, role2” “method:WebColl/WebServ/myMethod”
This example removes the role everybody from myWebServ:
wstool remove “role:everybody” “service:WebColl/myWebServ”
Ant build example:
<wst_antTask command="remove" sourceentity="role:testRole" targetentity="service:myCollection/myService"/>
Entities must be specified in quotes.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |