【发布时间】:2017-04-03 07:50:57
【问题描述】:
我已经完成了一个从 wsdl 类方法获取信息的 Windows 服务。一位同事建议我使用程序集在 sqlserver 数据库中运行作业。我想这是不可能的,但我不知道它是否可以做到。
我使用的 wsdl 是通过 Microsoft.web.services3 完成的。 Windows 服务项目有一个配置文件,其中包含必要的部分:
<configSections>
<section name="microsoft.web.services3" type="Microsoft.Web.Services3.Configuration.WebServicesConfiguration, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</configSections>
我也有这个参考。
<microsoft.web.services3>
<tokenIssuer>
<ttlInSeconds value="900000" />
</tokenIssuer>
<security>
<defaultTtlInSeconds value="9000000" />
<timeToleranceInSeconds value="9000000" />
</security>
<web.services3>
我认为它不会起作用,但如果可能的话,我如何在数据库项目中执行此操作以在一个程序集中构建?
【问题讨论】:
标签: sql-server visual-studio-2015 wsdl windows-services database-project