isStatsEnabled  resetStats

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

refresh

Description

Refreshes a server or Web service collection.

Syntax

Command line:

refresh 
entity

Ant build file:

 
<taskdef name="wst_antTask" classname="com.sybase.wst.wstool.ant.AntTask"/>

<!-- Refresh a collection on the server -->    <target name="refresh" >        <wst_antTask command="refresh" 
entity="entity"/>

Where:

Option

Description

entity

Can be one of:

  • server:ServerName – identifies the server being refreshed.

  • collection:CollectionName – identifies the Web service collection being refreshed.

Examples

Example 1

This example refreshes MyWebServiceColl, including all the Web services it contains.

wstool refresh collection:MyWebServiceColl

Ant build example:

<wst_antTask command="refresh" entity="collection:myCollection"/>




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