Create Target Web Service
This web service creates a RapidDeploy target and its files on the framework server.
Example request
PUT http://localhost:8090/MidVision/ws/project/wsProject01/create/wsServer01/wsEnvironment01/wsInstance01/wsApplication01 HTTP/1.1 Accept-Encoding: gzip,deflate Authorization: ******************** Content-Type: application/xml Content-Length: 0 Host: localhost:8090 Connection: Keep-Alive User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
Example Response
<html> <head> <meta content="HTML Tidy for Java (vers. 26 Sep 2004), see www.w3.org" name="generator"/> <title>createProjectEnvironment</title> <link type="text/css" rel="stylesheet" href="http://localhost:8090/MidVision/ui/javax.faces.resource/components.css?ln=primefaces"/> </head> <body> <div> <div style="border-bottom: 0.1em solid black; display: block; height: 30px; margin-bottom: 1em; margin-top: 0.5em; position: relative; width: 100%;"> <h2>createProjectEnvironment</h2> </div> <div aria-live="polite" class="ui-messages ui-widget"> <div class="ui-messages-info ui-corner-all"> <ul> <li> <span class="ui-messages-info-summary">File creation</span> <br/> <span class="ui-messages-info-detail">This file was created: C:/temp/rd_webservice_data/projects/wsProject01/apache/config/wsServer01.wsEnvironment01.wsInstance01.wsApplication01.dict</span> </li> <li> <span class="ui-messages-info-summary">File creation</span> <br/> <span class="ui-messages-info-detail">This file was created: C:/temp/rd_webservice_data/projects/wsProject01/apache/config/wsServer01.wsEnvironment01.wsInstance01.wsApplication01.conf</span> </li> <li> <span class="ui-messages-info-summary">File creation</span> <br/> <span class="ui-messages-info-detail">This file was created: C:/temp/rd_webservice_data/projects/wsProject01/apache/config/wsServer01.wsEnvironment01.domainxml</span> </li> <li> <span class="ui-messages-info-summary">Create target success.</span> <br/> <span class="ui-messages-info-detail">The project [wsProject01] has a new target named: wsServer01.wsEnvironment01.wsInstance01.wsApplication01.</span> </li> </ul> </div> </div> </div> </body> </html>