Description

Update the runtime metrics of a SOAP service in the 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/oeservices/SoapServiceName/metrics

Content-Type

application/vnd.progress+json

Request body

NA

Response codes

200 Success
500 Unexpected Server Error

Command-line example

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

ABL HTTP client example

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/soap/oeservices/SimpleTest/metrics')
      :ContentType('application/vnd.progress+json') 
      :UsingBasicAuthentication(new OpenEdge.Net.HTTP.Credentials('PASOE Manager Application', 'username', 'password'))
      :Request
   ).

Response body example

{"result":
         {"requests":0,
          "appserverConnections":0,
          "nameserverError":0,
          "activeRequests":0,
          "providerError":0,
          "subAppObjects":0,
          "objPoolFull":0,
          "objPoolExpired":0,
          "connectError":0,
          "faults":0,
          "ABLClientError":0,
          "procObjects":0,
          "startTime":"2014-07-17T08:40:07.315-04:00",
          "appObjects":0,
          "objNotFound":0,
          "ABLServerError":0,
          "accessTime":"2014-07-18T02:27:07.212-04:00",
          "ABLAppError":0,
          "clientError":0,
          "type":"OE_SOAP_TRANSPORT_APP"
          },
 "outcome":"SUCCESS",
 "versionNo":1,
 "errmsg":"NA",
 "versionStr":null,
 "operation":"GET OE_SOAP_TRANSPORT_APP METRICS"
}