Makes the listed methods unavailable to a Web service client.
disallowMethods entity
<taskdef name="wst_antTask" classname="com.sybase.wst.wstool.ant.AntTask"/> <target name="disallowMethods" > <wst_antTask command="disallowMethods" entity=”entity” >
Where:
Option |
Description |
---|---|
entity |
method:CollectionName/ServiceName/m1, m2 – identifies the Web service and a comma-separated list of methods you are making unavailable. Entity must be specified in quotes. |
This command makes MyMethod1 and MyMethod2 unavailable to clients:
wstool disallowMethods “method:MyWebCollection/MyWebService/Mymethod1, MyMethod2”
Ant build example:
<wst_antTask command="disallowMethods" entity="method:myCollection/myService/myMethod"/>