Solved

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

Posted on 2014-07-20
4
3,193 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
Comment Utility
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
Comment Utility
And what system are you using to run the code ?

you send the Request to the server is running IIS  ?

Duncan
0
 
LVL 82

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 166 total points
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

A Change in PHP Behavior with Session Write Short Circuit (http://php.net/manual/en/book.session.php#116217) (Winter 2014)** With the release of PHP 5.6 the session handler changed in a way that many think should be considered a bug.  See the note …
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…
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

763 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now