Web service administration commands  allowMethods

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

activate

Description

Activates a Web service in a given Web service collection so that it is available to clients.

Syntax

Command line:

activate 
entity

Ant build file:

<taskdef name="wst_antTask" classname="com.sybase.wst.wstool.ant.AntTask"/>
<target name="activate" > <wst_antTask command="activate"
entity=”entity” >

Where:

Option

Description

entity

Service:CollectionName/ServiceName – identifies the Web service you are activating.

Examples

Example 1

This command activates MyWebService which is contained in MyCollection:

wstool activate Service:MyCollection/MyWebService

Ant build example:

<wst_antTask command="activate" entity="service:myCollection/myService"/>




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

View this book as PDF