registerwls

API Name

registerwls

Description

Registers a WebLogic Server instance.

REST Methods

POST

Precondition

Agent must be running.

Input Params

targetType, instanceName, wlsInstallPath, wlsUsername, wlsPassword, agentHostName, jdeHome

Sample Request

{"targetType":"owl_1212","instanceName":"Weblogic12c_1212", "installPath":"/slot/oracle/Middleware","wlsUserName" : "weblogic","wlsPassword":"password","agentHostName": "jdesma.example.com","jdeHome":"/slot/oracle/ jde_agent/SCFHA"}https://jdesmc.example.com:8998/manage/ mgmtrestservice/registerwls

Return

HTTP status CREATED code is returned.

Sample Response

Exception

Throws an exception if anything prevents the instance from being created successfully.