Wcf rest服务-如何使用服务约定命名空间

Wcf rest服务-如何使用服务约定命名空间,wcf,rest,servicecontract,Wcf,Rest,Servicecontract,我有一个wcf服务,我做了restfull,但是编辑了intereface和webconfig。 在界面中,我有以下内容: [ServiceContract] public interface ITsmApi { [OperationContract] [WebInvoke(UriTemplate = "/GetOrganizationNo", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageF

我有一个wcf服务,我做了restfull,但是编辑了intereface和webconfig。 在界面中,我有以下内容:

[ServiceContract]
public interface ITsmApi
{
    [OperationContract] 
    [WebInvoke(UriTemplate = "/GetOrganizationNo", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Xml, Method = "POST")]
    string GetOrganizationNo(CustomerNoInput input);
}
我想知道是否有可能以这种方式调用webservice函数:

我希望指向这些函数的URL链接不会如下所示:

-意味着我不想使用SVC扩展。那有可能吗

我怀疑我必须使用服务契约名称空间,但我找不到过程是什么