Update properties of a transport (SOAP/REST)
Description
Update the properties of a SOAP or REST transport of a Web application belonging to an ABL application.
HTTP Operation
PUT
URI
//host_name:port/oemanager/applications/
ABL_app_name/webapps/Web_app_name/transports/{soap|rest}/properties
Media type
application/vnd.progress+json
Response codes
200 Success
500 Unexpected Server Error
Command-line example (SOAP)
curl -X PUT -v
http://localhost:16680/oemanager/applications/pas1/webapps/ROOT/transports/soap/properties
-H "Content-Type: application/vnd.progress+json" -d '{"waitIfBusy":1}'
Request body example (SOAP)
{"waitIfBusy":1}
Response body example (SOAP)
{"result":
{"idleSessionTimeout":0,
"waitIfBusy":1,
"connectionLifetime":0,
"requestWaitTimeout":-1,
"staleO4GLObjectTimeout":0,
"clientASKActivityTimeout":60,
"initialSessions":1,
"clientASKResponseTimeout":60,
"minIdleConnections":0,
"maxSessions":0,
"minSessions":1,
"appServerKeepalive":"denyClientASK,allowServerASK",
"serviceFaultLevel":2
},
"outcome":"SUCCESS",
"versionNo":1,
"errmsg":"NA",
"versionStr":
"PASOE 11.5.0",
"operation":"SET SOAP TRANSPORT PROPERTIES"
}
Command-line example (REST)
curl -X PUT -v
http://localhost:16680/oemanager/server/oeservices/ROOT/transports/rest/properties
-H "Content-Type: application/vnd.progress+json" -d '{"maxSessions":1}'
Request body example (REST)
{"maxSessions":1}
Response body example (REST)
{
"operation":"SET REST TRANSPORT PROPERTIES",
"result":{"appServerKeepalive":"denyClientASK,allowServerASK",
"idleSessionTimeout":0,
"minSessions":1,
"requestWaitTimeout":-1,
"initialSessions":1,
"waitIfBusy":0,
"staleO4GLObjectTimeout":0,
"minIdleConnections":0,
"connectionLifetime":0,
"serviceFaultLevel":2,
"clientASKResponseTimeout":60,
"maxSessions":1,
"clientASKActivityTimeout":60
},
"outcome":"SUCCESS",
"errmsg":"NA",
"versionStr":"PASOE 11.5.0",
"versionNo":1
}