Checks if the method is available to a client as a Web service endpoint.
To make methods available to clients, see allowMethods.
isAllowed entity
<taskdef name="wst_antTask" classname="com.sybase.wst.wstool.ant.AntTask"/> <target name="isAllowed" > <wst_antTask command="isAllowed" entity=”entity” >
Where:
Option |
Description |
---|---|
entity |
method:CollectionName/ServiceName/MethodName – the name of the method being queried. |
This command checks to see if MyMethod is available to the client:
wstool isAllowed method:MyWebServiceCollection/MyWebService/MyMethod
Ant build example:
<wst_antTask command="isallowed" entity="method:myCollection/myService/myMethod"/>