Before you can exercise the HTTP Administration Service, you must have the following installed and deployed in your environment:
A binding component named sun-http-binding
A Service Assembly with some HTTP consuming endpoint(s)
Change the script as you see fit to run in your environment.
The Groovy script for executing the HTTP Administration Service is attached in HTTPAdiministrationServiceTest.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\HTTPAdministrationServiceTest.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