Before you can exercise the Administration Service, you must have the following installed, and/or deployed, in your environment:
A binding component named sun-http-binding
A shared library named sun-wsdl-library
A service assembly named SynchronousSampleApplication
, which contains a service unit named SynchronousSampleApplication-SynchronousSample
You must create the SynchronousSampleApplication
from
NetBeans, deploy it, and start it before you run the Administration
Service scripts.
Change the script as you see fit to run in your environment.
The Groovy script for executing the Administration Service is attached in AdministrationServiceTest.groovy. Modify the script to suit your needs before executing it in your environment/installation.
cd C:\JavaCAPS6\managementapienv.batcd scripting\groovy\scripts\groovy ServiceTest\AdministrationServiceTest.groovy
If you are comfortable with the Swing-based groovyConsole, use it to load and execute the script file.
cd C:\scripting\groovy\scripts\env.batgroovyConsole