Convert Web API backward compatible with WCF
<p>Lets say I have a WCF service <code>Service1.svc</code> that contains <code>GetData(value)</code>.</p>

<pre><code>[ServiceContract]
public interface IService1
{
    [OperationContract]
    string GetData(int value);
}

public class Service1 : IService1
{
    public string GetData(int value)
    {
        return string.Format("You entered: {0}", value);
    }
}
</code></pre>

<p>I also have a client that already auto-generate the proxy to consume this service, something like this:</p>

<pre><code>using (var client = new ServiceReference1.Service1Client())
{
    var result = client.GetData(1);
    //Assert.AreEqual("You entered: 1", result);
}
</code></pre>

<p>Now, I removed that WCF service and replaced it with a new Web API service, something like this:</p>

<pre><code>[RoutePrefix("Service1.svc")]
public class DataController : ApiController
{
    [HttpGet]
    [Route("GetData")]
    public string GetDataOld(int value)
    {
        return string.Format("You entered: {0}", value);
    }
}
</code></pre>

<p>So when I try to use the client <code>Service1Client()</code> it doesn't work anymore. I am pretty sure this is possible but what I have to do in order to accomplish this goal?</p>

<p><strong>Update 05/23/2016</strong></p>

<p>Since this is not possible, I decided to create a proxy so the client(s) can easily implement the new Restful Web API.</p>