Description

Get a list all the deployed SOAP or REST services in a web application deployed in an ABL application.

HTTP Operation

GET

URI

host_name:port/oemanager/applications/App_name/webapps/Web_app_name/transports/{soap|rest}/oeservices

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:16680/oemanager/applications/oepas1/webapps/ROOT/transports/soap/oeservices

Response body example(SOAP)

{
  "result": {
    "OESoapServiceDesc": [
      {
	"accessUrl":"http://localhost:8810/soap/wsdl?targetURI=urn:qad-pft",                
	"archiveName":"PFT.wsm",
	"archiveLocation": "/webapps/ROOT/WEB-INF/adapters/soap/ROOT/SimpleTest.wsdl",
	"oetype":"SOAP_DESCRIPTOR",                
	"name":"PFT",               
	"state":"ENABLED",                
	"type":"OPENEDGE",               
	"version":"12.0.0",                
	"description": "PAS OpenEdge SOAP Service Artifact",
	"securedUri": ""
	}
	{ 
	"accessUrl":"http://localhost:8810/soap/wsdl?targetURI=urn:nsRL1",                
	"archiveName": "simpleRL.wsm",
	"archiveLocation": "/webapps/ROOT/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 DESCRIPTORS",
  "versionStr": null,
  "versionNo": 1,
  "errmsg": ""
  "outcome": "SUCCESS"  
}

Command-line example (REST)

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

Response body example(REST)

{
   "operation":"GET REST TRANSPORT DESCRIPTORS",
   "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 rest for soap in the URI below if you want to list the services for the rest 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/soap/oeservices')
      :ContentType('application/vnd.progress+json') 
      :UsingBasicAuthentication(new OpenEdge.Net.HTTP.Credentials('PASOE Manager Application', 'username', 'password'))
      :Request
   ).