[WebGet( ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped, UriTemplate = "convertcadtoimg")] [OperationContract] string convertcadtoimg();
jQuery.support.cors = true; $.ajax({ type: "GET", url: "http://localhost:2881/RestServiceImpl.svc/convertcadtoimg", //data: { domain: domainName, website: sitename }, dataType: "jsonp", contentType: "application/json; charset=utf-8", success: function (data) { alert('success'); }, error: function (jqXHR, textStatus, errorThrown) { alert('error'); } });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)