Tag Archives: wcf

Javascript call to a WCF method

Suppose we have a WCF method with URL ‘http://myserver/myservice.svc’ and a method MyMethod which expectes a parameter para1. We can call this WCF method using XMLHTTP, by using the following code: var xmlHttp3 = new ActiveXObject(‘Microsoft.XMLHTTP’); xmlHttp3.open(‘get’, ‘http://myserver/myservice.svc//MyMethod?para1=’ + value, false); xmlHttp3.send(); Another method … Continue reading

Posted in Helpers, Javascript | Tagged , | Leave a comment