Hello
Question: 1
I am a beginner to WCF , I have taken a web application and hosted on IIS(with some port(250) and added a new WCF file, added an operation contract and tried to call the WCF service from the client web app through javascript, i was not able to get the jsdebug file itself to check wheteher proxy is created or not.
But when i add an new AjaxEnabledWCF file and added an operation contract and tried to call the WCF service from the client web app through javascript, i was able to get the jsdebug file, i am able to get the proxy object.
In the client side i have the code like this.
.aspx
function TestWCF() { Service.DoWork(onsuccess,onError,true); } function onsuccess(result) { alert(result); } function onError(error) { alert("Error: " + error.message); } function onfailed(error) { var i = 'failed'; } function oncompleted() { var i = 'completed'; }
But while invoking an operation contract i am getting 404 error and not able to figure out what is the problem
Question2 : Is there any possibility that i can make an WCF file to AjaxEnabledWCF file type
can you please help me