Try OpenEdge Now
skip to main content
Administration Guide
REST API Reference for oemanager.war : Transport management : Deploy a new service (SOAP)
 

Deploy a new service (SOAP)

Description

Deploy a new SOAP service in a WebApp deployed in an ABL application.

HTTP Operation

POST

URI

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

Media type

application/vnd.progress.wsm+xml

Content disposition

attachment; filename=AppNewService.wsm

Response codes

200 Success
500 Unexpected Server Error

Command-line example

curl -X POST -v
http://localhost:16680/oemanager/applications/pas1/webapps/ROOT/transports/soap/oeservices
-data-binary @SimpleTest2.wsm
-H "Accept: application/vnd.progress+json"
-H "Content-Type: application/vnd.progress.wsm+xml"
-H "Content-Disposition: attachment; filename=SimpleTest2.wsm"

Request body example

application/vnd.progress.wsm+xm

Response body example

{
"result": {
"OESoapServiceDesc": [
{
"archiveLocation": "WEB-INF/adapters/soap/ROOT/SimpleTest.wsdl",
"archiveName": "SimpleTest.wsm",
"accessUrl": "urn:nxgas:simpletestsf",
"oetype": "SOAP_DESCRIPTOR",
"version": "11.5.0",
"description": "PAS OpenEdge SOAP Service Artifact",
"name": "SimpleTest",
"state": "ENABLED",
"type": "OPENEDGE"
}
]
},
"operation": "DEPLOY SOAP TRANSPORT DESCRIPTOR",
"versionStr": "PASOE 11.5.0",
"versionNo": 1,
"outcome": "SUCCESS",
"errmsg": ""
}