开发者

exposing a RIA Service (Domain Service) as a SOAP web service

I am trying to expose a RIA domain service as a SOAP web service for backward compatibility with a legacy application.

I've read around that I need to add:

<domainServices>
 开发者_Python百科 <endpoints>
    <add name="OData"
         type="System.ServiceModel.DomainServices.Hosting.ODataEndpointFactory, System.ServiceModel.DomainServices.Hosting.OData, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
  </endpoints>
</domainServices>

to the existing , but it seems that "domainServices" is not a valid node.

Why is this happening? Am I missing some step?

Thanks in advance,

Cheers, Gianluca.


It is valid. it's just the schema for web.config is old and hence the warning. It should work fine though! There's a post where they talk about the schema in detail if you are interested.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜