How do I make calls to a WCF service with jquery ajax from an SSL-secured page?
Posted
by NovaJoe
on Stack Overflow
See other posts from Stack Overflow
or by NovaJoe
Published on 2010-06-06T16:21:56Z
Indexed on
2010/06/09
4:02 UTC
Read the original article
Hit count: 310
I have a WCF service returning JSON to jQuery ajax calls and presenting the results on an ASPX page. When the page is NOT under SSL, the ajax calls work perfectly. When the page IS under SSL, the calls fail. I understand that this behavior must be due to the Same Origin Policy (SOP).
So, how do I setup my WCF service to accept calls from an SSL-secured page? Does the WCF service also need to be secured? If so, how do I do this?
Thanks,
Joe
© Stack Overflow or respective owner