Last post Dec 19, 2013 03:28 AM by Fuxiang Zhang - MSFT
Dec 18, 2013 08:01 AM|k.panchal|LINK
I have developed a wcf service which is hosted at a central environment, i am able to call and i get success in android, windows app, but while i am calling through a sample web app developed in visual studio 2013 than it respond back with readyState 0.
Do you guys have any idea about this kind of bug?
I did all setting related to crossdomainaccess still not getting out of this.
Dec 19, 2013 03:28 AM|Fuxiang Zhang - MSFT|LINK
Thank you post the issue to asp.net forum.
First of all, we should make sure the wcf service can be called from client side. So we should get the endpointBehaviors like below.
For detail web.config content, please check below article.
Besides, If we call the wcf cross domain, we also should config the bindings like below.
<binding name="MyWebHttpBinding" crossDomainScriptAccessEnabled="true"/>
Hope this helps, Thanks.