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}

Content-Type

application/vnd.progress+json 

Response codes

200 Success
500 Unexpected Server Error

Request body

NA

Command-line example (SOAP)

curl -X GET -u username:password -v 
http://localhost:8810/oemanager/applications/oepas1/webapps/ROOT/transports/soap/oeservices/SimpleTest

Response body example (SOAP)

{
  "result": {
    "OESoapServiceDesc": [
      {
        "accessUrl":"http://localhost:8810/soap/wsdl?targetURI=urn:nsRL1",
        "archiveName": "simpleRL.wsm",
        "archiveLocation": "/WEB-INF/adapters/soap/",
        "oetype": "SOAP_DESCRIPTOR",
        "name": "simpleRL",
        "state": "ENABLED",
        "type": "OPENEDGE"
        "version": "12.0.0",
        "description": "PAS OpenEdge SOAP Service Artifact",
        "securedUri": ""
      }
    ]
  },
  "operation": "GET SOAP TRANSPORT DESCRIPTOR",
  "versionStr": null,
  "versionNo": 1,
  "errmsg": "",
  "outcome": "SUCCESS"
}

Command-line example (REST)

curl -X GET -u username:password -v 
http://localhost:8810/oemanager/applications/oepas1/webapps/ROOT/transports/rest/oeservices/_oepingService

Response body example (REST)

{
   "operation":"GET REST TRANSPORT DESCRIPTOR",
   "outcome":"SUCCESS",
   "result":{
      "OERestServiceDesc":[
         {
            "name":"_oepingService",
            "version":"v12.1.0 ( 2019-08-07 )",
            "uri":"http:\/\/localhost:8810\/rest\/_oepingService",
            "securedUri":"https:\/\/localhost:8811\/rest\/_oepingService",
            "description":"PAS OpenEdge REST Service Descriptor",
            "type":"OPENEDGE",
            "archiveLocation":"WEB-INF\/adapters\/rest\/_oepingService\/_oepingService.paar",
            "accessUrl":"\/rest\/_oepingService",
            "archiveName":"_oepingService.paar",
            "oetype":"REST_DESCRIPTOR"
         }
      ]
   },
   "errmsg":"",
   "versionStr":"v12.1.0 ( 2019-08-07 )",
   "versionNo":1
}

ABL HTTP client example

Note: Substitute soap for rest, as well as a soap service descriptor, in the URI below if you want to get information about a service for the soap transport.
define variable resp as OpenEdge.Net.HTTP.IHttpResponse.

resp = OpenEdge.Net.HTTP.ClientBuilder:Build():Client
   :Execute(OpenEdge.Net.HTTP.RequestBuilder
      :Get('http://localhost:16680/oemanager/applications/oepas1/webapps/ROOT/transports/rest/oeservices/_oepingService')
      :ContentType('application/vnd.progress+json') 
      :UsingBasicAuthentication(new OpenEdge.Net.HTTP.Credentials('PASOE Manager Application', 'username', 'password'))
      :Request
   ).