I am trying to set up a simple Restful Web-Service which returns either JSON or XML according to the Accept header. I am using Spring, Maven and WebLogic Server. I took the
I same thing happen with me,
If your code is correct and then also give 405 error. this error due to some authorization problem.
go to authorization menu and change to "Inherit auth from parent".