Web service administration commands

Description

Web service administration commands allow you to manage most aspects of Web services.


Command list

Table 8-4 lists the Web service administration commands.

Table 8-4: wstool Web service commands

command name

Description

activate

Activates a Web service and makes it available to clients.

allowMethods

Makes available to clients the selected methods of a Web service.

deactivate

Deactivates a Web service and makes it unavailable.

delete (1)

Deletes a Web service.

delete (2)

Deletes a Web service collection.

deploy (1)

Creates and deploys a Web service from the implementation class file.

deploy (2)

Creates and deploys a Web service from a JAR file.

deploy (3)

Creates and deploys a Web service collection from a WAR file.

disallowMethods

Makes Web service methods unavailable to Web service clients.

export

Exports a Web service collection to a Sybase Web services WAR file.

exposeComponent

Exposes an EAServer component as a Web service.

getTMjar

Creates a type mapping JAR file.

isActive

Returns a message that a given Web service is either “active” or “inactive.”

isAllowed

Checks if the method is available to a client as a Web service endpoint.

isStatsEnabled

Determines if statistic logging for a given Web service is enabled or not.

refresh

Refreshes a server or Web service collection.

resetStats

Resets the runtime monitor statistics of a given Web service collection.

set_props

Sets the value of the property for a component, Web application, or a Web service.

startStats

The runtime monitor starts and monitors statistics of a given Web service collection or Web service.

stopStats

The runtime monitor stops monitoring statistics of a given Web service collection or Web service.

wsdl2Java

Generates client artifacts and a client template capable of accessing server-side Web services.

java2Wsdl

Generates a WSDL file from the Java implementation file.