Can a non .NET site – .htm/.js – call a .NET WCF or .asmx service via an Ajax GET to return data? Examples?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, but you have to wrap it up in jsonp to support crossdomain scripting. I use jquery to consume REST-like API written in WCF (I say REST-like because making it jsonp violates a lot of REST fundamentals, which I don’t care much).
I didn’t read it, but Google brought up Consuming Cross-Domain WCF REST Services with jQuery using JSONP.