• Post Reply Bookmark Topic Watch Topic
  • New Topic

HTTP Status 405 - Restful webservice  RSS feed

Bharat Rajan
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am using RESTful web service for my API.
I would pass a call as below:


this generates a security token for me which i will use for further services. "login" in the API call is my service command
I am using Tomcat 6 for this.

when i pass the wrong service command,
i will return an error message caught from my method. It is working as expected.

Issue I am facing is when i dont pass the service command in the URL like


I am getting the error as:

HTTP Status 405 -
type Status report
description The specified HTTP method is not allowed for the requested resource ().
Apache Tomcat/6.0.20

It is not even getting into my class, and so I am not able to debug.

Someone please help me understand the concept of why and where it is getting wrong. Thanks in advance
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!