I've REST based WCF service which is host on IIS 7.5. It is working fine, but when try to access from PHP application. It's returning blank response. Actually the plan is, to make it available to open world. Just like yahoo weather service.
This service performs CRUD operations.
I've tried below options but no use Cross Domain Policy, Cross-domain calling a WCF Service, Cross domain ajax and WCF
Thanks in advance
For WCF based REST services, we have this configuration (snippet) in web.config:
<system.serviceModel>
<standardEndpoints>
<webHttpEndpoint>
<!-- a REST help page is auto-generated, and viewable at http://<host_name>:<port>/service/help -->
<!-- 'crossDomainScriptAccessEnabled' means that it supports JSONP calls (a 'callback' is supplied in the url) when the response is formatted as json. -->
<standardEndpoint name="" crossDomainScriptAccessEnabled="true" helpEnabled="true" defaultOutgoingResponseFormat="Xml" />
</webHttpEndpoint>
</standardEndpoints>
</system.serviceModel>