Accessing web Service from jQuery - cross domain

Posted by Christo Fur on Stack Overflow See other posts from Stack Overflow or by Christo Fur
Published on 2010-04-23T09:43:36Z Indexed on 2010/04/23 9:53 UTC
Read the original article Hit count: 196

Filed under:
|
|
|
|

Hi

I am trying to acess a wcf service from a jQuery client

Specifically this example http://www.codeproject.com/KB/aspnet/WCF_JQUERY_ASMX.aspx#4

All works well when the client webpage is on the same domain as the service

As soon as I move the client webpage to another domain it breaks. It cant reach the service and the request fails

This happens for all the examples, ASMX, REST and WCF

any ideas how to get this working cross daomain?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about AJAX