6.4 Deploying RESTful WebService

Please follow the below steps to deploy RESTful WebService.
  1. Login to Web Logic application server enterprise manager (e.g.: http://hostname:port/em)

    Figure 6-14 Deploy RESTful WebService 1



  2. Enter valid login credentials.
    The following window is displayed.

    Figure 6-15 Deploy RESTful WebService 2



  3. Select Lock & Edit option in the lock drop-down list available in the header.
  4. Click Deployment in the left panel. Select Lock & Editoption in the lock drop-down list available in the header.
    The following window is displayed.

    Figure 6-16 Deploy RESTful WebService 3



  5. Select Deploy from the Deployment drop-down list.
    The following window is displayed.

    Figure 6-17 Deploy RESTful WebService 4



  6. The following window is displayed.

    Figure 6-18 Deploy RESTful WebService 5



  7. Browse to the folder containing the WebService. Eg: C:/OfsllRestEAR.ear
  8. Click Next.
    The following window is displayed.

    Figure 6-19 Deploy RESTful WebService 6



  9. Select the server on which the WebService needs to be deployed.
  10. Click Next.
    The following window is displayed.

    Figure 6-20 Deploy RESTful WebService 7



  11. Select the option Install and start application (servicing all requests).
  12. Check the context root and click Next.
    The following window is displayed.

    Figure 6-21 Deploy RESTful WebService 8



  13. Click Deploy . On successful deployment, the following window is displayed.

    Figure 6-22 Deploy RESTful WebService 9



  14. Click Close. Post deployment, you need to activate the changes by selecting Active Changes option from Edit Session drop-down list as indicated in step 4 above.
The next step is to Identifying the RESTful Webservice URL.