开发者

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

开发者 https://www.devze.com 2023-02-10 23:31 出处:网络
I am trying to expose a RIA domain service as a SOAP web service for backward compatibility with a legacy application.

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

精彩评论

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