Hi,
Is it possible to set up JSONP with the Kentico REST Service?
I have tried the following article to set up JSONP with WCF,
http://www.gutgames.com/post/Enabling-JSONP-in-WCF.aspx , however, I'm having problems determining what values to use for the Kentico REST service. (Service Name, Endpoint Contract, and the baseAddress as marked in Bold below)
<system.serviceModel>
...
...
<services>
<service name="CMS.RESTService.RESTService"> <clear />
<endpoint address="" binding="webHttpBinding"
bindingConfiguration="webHttpBindingJsonP"
contract="CMS.RESTService.RESTService" behaviorConfiguration="webHttpBehavior" />
<host>
<baseAddresses>
<add baseAddress="http://localhost/KenticoCMS/rest" /> </baseAddresses>
</host>
</service>
</services>
</system.serviceModel>
Is there somewhere I can find this information? I have tried the above settings, however I know for sure that the contract is wrong from the error message.
Thanks again,
Diana