English 中文(简体)
a. 维持一个子库的4.0WCF数据服务
原标题:Running a .net 4.0 WCF data service on a subdomain

我有两个领域负责我的全球合作框架数据服务:

  • a) http://www.domain-a.com/
  • b) http://api.domain-b.com/

我在谈到我的这一职务时:

http://domain-a.com/odata.svc - 信息技术工作。

我在谈到我的这一职务时:

http://www.domain-a.com/odata.svc - 临时保护措施:

Message: Service cf.Svc.odata_v0 has zero application (non-infrastructure) endpoints. This might be because no configuration file was found for your application, or because no service element matching the service name could be found in the configuration file, or because no endpoints were defined in the service element. ExceptionStackTrace: at System.ServiceModel.Description.DispatcherBuilder.EnsureThereAreApplicationEndpoints(ServiceDescription description) at System.ServiceModel.Description.DispatcherBuilder.InitializeServiceHost(ServiceDescription description, ServiceHostBase serviceHost) at

问题在于,我需要向前推进,在以下各方面开展工作:

http://api.domain-b.com/,我没有选择将其称作。 由于根本领域已经使用。

我甚至试图下载WCF数据服务工具包(http://wcfdstoolkit.codeplex.com/releases/view/65119) april 释放思维 我在建立冰洁通道方面正视这一问题,例如:

http://api.domain-b.com/odata

But I m still getting this error. Can anyone tell me what s going on?

My web.config looks like below - I am also running WCF Rest Services that do not have any issues in the same application.

<system.serviceModel> 
  <serviceHostingEnvironment aspNetCompatibilityEnabled="true" /> 
  <standardEndpoints> 
    <webHttpEndpoint> 
     <standardEndpoint name="" helpEnabled="true" 
                       automaticFormatSelectionEnabled="true" />
    </webHttpEndpoint> 
  </standardEndpoints>
</system.serviceModel>
问题回答

暂无回答




相关问题
WCF DataMember Serializing questions

Ok, so I was part way through the long winded process of creating DTOs for sending my model over the wire and I don t feel like I m going down the right route. My issue is that most of the entities ...

Access WCF service on same server

I have a .NET website with a WCF service. How do I access the current operations context of my service? One possible work around is to just make a call to the service within the app...but that seems ...

WCF binding error

So I got into work early today and got the latest from source control. When I try to launch our ASP.NET application, I get this exception: "The binding at system.serviceModel/bindings/wsHttpBinding ...

The service operation requires a transaction to be flowed

I am facing strange issue with our WCF service. The same code was working fine until recently we added more OperationContracts(Web Methods). We have common 3 tier architecture. DAL (WCF) BLL Web ...

热门标签