senpost
2/17/2012 - 2:33 PM

SoapAndRestService.cs

namespace SoapAndRestService
{
    public class HelloService : IHelloService
    {
        public string HelloSoap(string message)
        {
            return string.Format("Client: {0}; Server: Hi from Soap Service", message);
        }

        public string HelloRest(string message)
        {
            return string.Format("Client: {0}; Server: Hi from Rest Service", message);
        }
    }
}