Try OpenEdge Now
skip to main content
Administration Guide
REST API Reference for oemanager.war : Transport management : Enable or disable a service (SOAP)
 

Enable or disable a service (SOAP)

Description

Enable or disable a SOAP service in a Web application deployed in an ABL application.

HTTP Operation

PUT

URI

//host_name:port/oemanager/applications/ABL_app_name/webapps
/Web_app_name/transports/soap/oeservices/SoapServiceName/state

Media type

application/vnd.progress+json

Request body

{
"STATE" : "{ENABLED | DISABLED}"
}

Response codes

200 Success
500 Unexpected Server Error

Command-line example

curl -X PUT -v
http://localhost:16680/oemanager/applications/pas1/webapps/ROOT/transports/soap/oeservices/SimpleTest/state
-H "Content-Type: application/vnd.progress+json" -d '{"state":"DISABLED"}'

Response body example

{"state":"DISABLED"}