senpost
2/17/2012 - 2:54 PM

IHelloService.cs

namespace SoapAndRestService
{
    [ServiceContract]
    public interface IHelloService
    {
        [WebGet(UriTemplate = "HelloRest/{message}")]
        [OperationContract]
        string HelloRest(string message);

        [OperationContract]
        string HelloSoap(string message);

    }
}