deploy (3)  export

Chapter 8: Using wstool, wstkeytool, wstant, and wstkeytoolant

disallowMethods

Description

Makes the listed methods unavailable to a Web service client.

Syntax

Command line:

disallowMethods
entity

Ant build file:

<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.

Examples

Example 1

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"/>




Copyright © 2005. Sybase Inc. All rights reserved. export