Click here to Skip to main content
15,867,568 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I have Created a WCF service with POST Method. I want to call that function from ASP.NET / PhoneGap using Ajax. But I can't. It shows error.
Posted
Updated 17-Aug-14 23:33pm
v2
Comments
Pheonyx 18-Aug-14 5:23am    
This is not a question, this is a code dump.
Were are you getting your issue? what are the symptoms? What have you tried? Have you attached a debugger and stepped through both the server side code and the jquery? Have you look at the response contents which might tell you more about the issue?

1 solution

I hope that following article will be helpful. Download the code from Part 2 of below article series and compare with your AJAX call code where service is being consumed...

Part 1: WCF RESTful service and WebGrid in ASP.NET MVC 5 - Part 1[^]

Part 2: WCF RESTful service and WebGrid in ASP.NET MVC 5 - Part 2[^]

Even if problem persist, share your code here...I can help further. Thanks.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900