Solved

"Method not allowed (405)" error on calling REST webservice from jQuery ajax.

Posted on 2014-07-20
4
3,223 Views
Last Modified: 2014-08-05
Hi,
When calling  a REST webservice  through ajax using jQuery the following error is getting
"Failed to load resource: the server responded with a status of 405 (Method Not Allowed)"
REST webservice and the calling page is under different domain.

Thanks
0
Comment
Question by:gopalv
  • 2
4 Comments
 
LVL 13

Accepted Solution

by:
duncanb7 earned 334 total points
ID: 40208323
Could you post the jquery code and the full path of the site ?

Duncan
0
 
LVL 13

Assisted Solution

by:duncanb7
duncanb7 earned 334 total points
ID: 40208324
And what system are you using to run the code ?

you send the Request to the server is running IIS  ?

Duncan
0
 
LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 166 total points
ID: 40208326
Every REST webservice has it's own methods that have to be followed.  And every method must be supported by a program on that server.
0
 

Author Closing Comment

by:gopalv
ID: 40240883
This question is no longer relevant to us. I have awarded equal points to anyone who tried participate. Appreciate your time & effort.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Using Quotation Marks in PHP This question (http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_28217211.html) seems to come up a lot for developers who are new to PHP.  And it got me thinking, "How can we explain the rule…
If I have to fix slow responding website my first thoughts are server side optimizations: the database may not be optimized or caching is not enabled, or things like that. We often overlook another major part of our web application: the client. We o…
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question