WAS v8.5 > Script the application serving environment (wsadmin) > Welcome to scripting for web services > Configure web services applications using wsadmin.sh

Querying web services using wsadmin.sh

We can use the Jython or Jacl scripting language to query for web services properties with wsadmin. Use the commands in the WebServicesAdmin group to list all web services, service references and attributes, find attributes of a specific web service, determine the web service endpoint, and determine the operation name of a Web service.

The wsadmin administrative scripting program supports two scripting languages, Jacl and Jython. The Jacl syntax is deprecated. This topic includes examples written only in the Jython scripting language.

Before we can complete the procedure for the commands in the WebServicesAdmin group, you must launch wsadmin. Use the following commands to query for web services and web service attributes. If you receive a NoItemFoundException error, the specified application, module, service, or endpoint cannot be found. Verify that all parameters are correct.

We can optionally specify the client parameter for any command in the WebServicesAdmin command group. The client parameter indicates whether to return service providers or service clients. Specify false to request service providers and true to request service clients.


Subtopics


Related


Start the wsadmin scripting client using wsadmin.sh
Configure application and system policy sets for web services using wsadmin.sh
Use wsadmin scripting


+

Search Tips   |   Advanced Search