Hello,
I am new to REST , and I am trying to figure out why it gives me a return status code of 406.
Please help me to shed some light into this.
I have create a web dynamic project called RestSimpleApp. It contains three sample programs in three different packages as follow :
I was able to view the result of my order through the web browser as
http://localhost:8080/RestSimpleApp/rest/orders. However, I got the return reponse status of 406 when I tried to call it from a client program which I have created in another web dynamic project as follow
I am awared that I may miss some important things but I could not figure out, so please help me if you can.
Thanks so much in advance,
Tom