Solved

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

Posted on 2014-07-20
4
3,215 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ADFS relying party - SP 3 51
How do you configure load balancing for AD FS (SSO)? 17 95
IIS: Multiple user recognition behid one IP 2 72
AWS ELB 5 77
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…
Thoughout my experience working on eCommerce web applications I have seen applications succumbing to increased user demand and throughput. With increased loads the response times started to spike, which leads to user frustration and lost sales. I ha…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…
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.

777 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