Description

Update the runtime properties of a SOAP service in the web application of a deployed ABL application.

HTTP Operation

PUT

URI

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

Content-Type

application/vnd.progress+json

Response codes

200 Success
500 Unexpected Server Error

Command-line example

curl -X PUT -u username:password -v
http://localhost:16680/oemanager/applications/oepas1/webapps/ROOT/transports/soap/service/TestService2/properties
-H "Content-Type: application/vnd.progress+json" -d {"maxSessions":1}

ABL HTTP client example

using Progress.Json.ObjectModel.*.
define variable resp as OpenEdge.Net.HTTP.IHttpResponse.
define variable jsonData as JsonObject.

jsonData = new Progress.Json.ObjectModel.JsonObject().
jsonData:Add('maxSessions',  1).

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

Request body example

{"maxSessions":1}

Response body example

{"result":
          {"idleSessionTimeout":0,
           "waitIfBusy":1,
           "connectionLifetime":0,
           "requestWaitTimeout":-1,
           "staleO4GLObjectTimeout":0,
           "clientASKActivityTimeout":60,
           "initialSessions":1,
           "clientASKResponseTimeout":60,
           "minIdleConnections":0,
           "maxSessions":1,
           "minSessions":1,
           "appServerKeepalive":"denyClientASK,allowServerASK",
           "serviceFaultLevel":2
          },
 "outcome":"SUCCESS",
 "versionNo":1,
 "errmsg":"NA",
 "versionStr":
 "PASOE 11.5.0",
 "operation":"SET SOAP TRANSPORT PROPERTIES"
}