Lets say I have a WCF service `Service1.svc` that contains `GetData(value)`.

```
[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);
    }
}

```

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

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

```

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

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

```

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

**Update 05/23/2016**

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