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

Remove a service (SOAP/REST)

Description

Remove a specified SOAP or REST service from a Web application deployed in an ABL application.

HTTP Operation

DELETE

URI

//host_name:port/oemanager/applications/ABL_app_name/webapps/Web_app_name/transports/{soap|rest}/oeservices{SoapServiceName|RestSeviceName}

Media type

application/vnd.progress+json

Response codes

500 Unexpected Server Error

Request body

NA

Command-line example (SOAP)

curl -X DELETE -v
http://localhost:16680/oemanager/applications/pas1/webapps/ROOT/transports/soap/oeservices/SimpleTest

Response body example (SOAP)

{
"result": {
"OESoapServiceDesc": [
{
"status": "INITIALIZED",
"descriptors": [],
"oetype": "SOAP",
"version": "11.4ALPHA",
"description": "PAS OpenEdge SOAP Service.",
"name": "SOAP",
"state": "ENABLED",
"type": "OPENEDGE",
"uri": "http://localhost.com:16680/soap"
}
]
},
"operation": "UNDEPLOY SOAP TRANSPORT DESCRIPTOR",
"versionStr": "PASOE 11.5.0",
"versionNo": 1,
"outcome": "SUCCESS",
"errmsg": ""
}

Command-line example (REST)

curl -X DELETE -v
http://localhost:16680/oemanager/applications/pas1/webapps/ROOT/transports/rest/oeservices/_oepingService

Response body example (REST)

{"result":
{
"OERestServiceDesc":[
{
"status":"INITIALIZED",
"contextPath":"\/\/wrk\/pas1\/webapps\/ROOT",
"descriptors":[
{
"archiveLocation":"WEB-INF\/adapters\/rest\/_oepingService\/_oepingService.paar",
"archiveName":"_oepingService.paar",
"accessUrl":"\/rest\/_oepingService",
"oetype":"REST_DESCRIPTOR",
"version":"11.5.0",
"description":"PAS OpenEdge REST Service Descriptor",
"name":"_oepingService",
"type":"OPENEDGE",
"uri":"http:\/\/localhost.com:16680\/rest\/_oepingService"
}
],
"oetype":"REST",
"version":"v11.4.0 (12-Dec-2013)",
"description":"PAS OpenEdge REST Transport.",
"name":"REST",
"state":"DISABLED",
"type":"OPENEDGE",
"uri":"http:\/\/localhost.com:16680\/rest"
}
]
},
"operation":"UNDEPLOY REST TRANSPORT DESCRIPTOR",
"versionStr":"PASOE 11.5.0",
"versionNo":1,
"outcome":"SUCCESS",
"errmsg":""
}