I am new to java web-service programming and setup. my requirement is just need to host a simple rest web-server and that can be called by post or get method and also that can capture the json response from post method to string variable.
there i have created basic dynamic project this simple code giving me 404 error on where i should get the xml respond.
can anyone tell me what should be the code and setup to meet my desire requirement.
browser on http://localhost:9090/WSdemo/book URL