----

Testing RESTFul Web Service Cont..

1.       Build the project using the following maven command

mvn clean package

This output of this command will flight-rest-ws.war created inside flight-rest-ws\target directory

2.       Deploy flight-rest-ws.war by copying it in C:\ apache-tomcat-7.0.42\webapps directory. Start tomcat by running startup.bat located in C:\ apache-tomcat-7.0.42\bin directory.   

 From the browser access index.html using the following url

You will see four buttons and on click of each button appropriate rest API call will be made and the response will be displayed in an alert window.






                  <--HomePage                                <--MainPage                               <--PreviousPage       

1 comment :