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

Get information about a service (SOAP/REST)

Description

Get details about a named SOAP or REST service in a Web application deployed in an ABL application.

HTTP Operation

GET

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

200 Success
500 Unexpected Server Error

Request body

NA

Command-line example (SOAP)

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

Response body example (SOAP)

{
"result": {
"OESoapServiceDesc": [
{
"archiveLocation": "/WEB-INF/adapters/soap/ROOT/",
"archiveName": "SimpleTest.wsm",
"accessUrl": "urn:nxgas:simpletestsf",
"oetype": "SOAP_DESCRIPTOR",
"version": "11.5.0",
"description": "PAS OpenEdge SOAP Service Artifact",
"name": "SimpleTest",
"state": "ENABLED",
"type": "OPENEDGE"
}
]
},
"operation": "GET SOAP TRANSPORT DESCRIPTOR",
"versionStr": "PASOE 11.5.0",
"versionNo": 1,
"outcome": "SUCCESS",
"errmsg": ""
}

Command-line example (REST)

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

Response body example (REST)

{
"result": {
"OERestServiceDesc": [
{
"archiveLocation": "/webapps/ROOT/WEB-INF/adapters/rest/_oepingService/",
"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:16680/rest/_oepingService"
}
]
},
"operation": "GET REST TRANSPORT DESCRIPTOR",
"versionStr": "PASOE 11.5.0",
"versionNo": 1,
"outcome": "SUCCESS",
"errmsg": ""
}