Returns a list of entities from the server’s repository, depending on the type of entity entered.
Entity type is not an option, do not use a “-” when
specifying an entity type.
list [Collections] [CompType] [Components] [Listeners] [Methods] [Packages] [Params] [Props] [PropsValue] [ReturnType] [ServerProps] [ServerVersion] [ServiceName] [Services] [URL] [WSDD] [WSDL] [typemappings] [undefTypes] Entity
<taskdef name="wst_antTask" classname="com.sybase.wst.wstool.ant.AntTask"/> <target name="list" > <wst_antTask command="list" [option=“option_depending_on_entity”] >
Where:
Type |
Description |
---|---|
Collections |
Returns a list of Web service collections. |
CompType |
Returns the component type. Entity is in the form of component:PackageName/ComponentName. |
Components |
Returns a list of SOAPable components available on the server. |
Listeners |
Returns a list of listeners in the format of “<protocol>:<host>:<port>”. For example, “http:localhost:8080” |
Methods |
Returns a list of methods for the entity. Entity can be in the form of either:
Include the allowed – list only the allowed methods.
|
Packages |
Returns a list of SOAPable packages available on the server. |
Params |
Returns a list of parameters for a given method. Entity is in the format of: method:CollectionName/ServiceName/MethodName |
Props |
Returns a list of properties of a given entity, for example: collection:CollectionName |
PropsValue |
Returns the property value for the given
property. Use the
|
ReturnType |
Returns the return type of a given method. Entity is in the form of: method:CollectionName/ServiceName/MethodName |
ServerProps |
Returns a list of server properties. |
ServerVersion |
Returns the server version. |
ServiceName |
Returns the Web service name of a given component. Entity is in the form of: component:PackageName/ComponentName |
Services |
Returns the list of Web services for
a given collection. Use the all – list all Web services active – list only active Web services Entity is in the form of: collection:CollectionName |
URL |
Returns the service URL of a given Web service is . Entity is in the form of: service:CollectionName/ServiceName |
WSDD |
Lists the .wsdd of
a given Web service. Use the service:CollectionName/ServiceName |
WSDL |
Lists the .wsdl of
a given Web service. Use the service:CollectionName/ServiceName |
typemappings |
Returns a list of the type mappings for a given Web service. Entity is in the format of: service:CollectionName/ServiceName |
undefTypes |
Returns a list of the undefined types for a given soapable component. Entity is on of:
|
Entity |
Varies depending on the selected option. |
This command lists all the listeners running on the server:
wstool list Listeners
This command directs the WSDL for MyWebService to the test.wsdl file:
wstool list wsdl -out test.wsdl service:MyCollection/MyWebService
Ant build example:
<wst_antTask command="list" type="wsdl" entity: “service:MyCollection/MyWebService”/>