Workflow Foundation 接收活动
我正在开发简单的 Workflow Foundation,它使用简单的 ASP.NET 页面作为其客户端。
我正在使用该页面收集贷款金额和每月金额来计算每月贷款金额。
我将使用两个 WCF 服务来执行此操作。
在 WF 应用程序中,我从等待来自响应的请求的“接收活动”开始。为此,我必须在属性中定义“ServiceContractName”。这具体指的是什么?
编辑 查看我正在使用的一项服务的 wsdl,可以在以下 URL 中找到:
http://vlab.asu.edu:9135/ServiceRepository/MonthlyPayment/Service.svc?wsdl
其中包含以下内容,我我认为可能会帮助我获得用于 ServiceContractName 的正确命名空间:
soapAction="http://tempuri.org/IService/CalculateMonthlyPayments"
我仍然确定使用什么来用于正确的命名空间服务?
I am working on simple Workflow Foundation that uses a simple ASP.NET page as its client.
I am using the page to collect a loan amount and month amount to calculate per month loan amount.
I have two WCF services that I am going to be using to do this.
In the WF application, I begin with a "Receive Activity" which waits for a request from the response. In order to do this, I must define the "ServiceContractName" in the properties. What is this SPECIFICALLY referring to?
EDIT
Looking at the wsdl for one of the services I am using is found at the following URL:
http://vlab.asu.edu:9135/ServiceRepository/MonthlyPayment/Service.svc?wsdl
and it has the following in it which I think might help me to get the proper namespace to use for the ServiceContractName:
soapAction="http://tempuri.org/IService/CalculateMonthlyPayments"
I am still insure what to use for the proper namespace of the service?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
ServiceContractName 是服务的命名空间和名称 - 例如, http://www.tempuri.org/MyService。
请参阅组合 WCF 和 WF4 - 它似乎详细介绍了 Workflow Foundation 和 WCF 的结合。
(我个人从未使用过 Workflow Foundation,但使用过 WCF)。
ServiceContractName is the namespace and the name of the service - e.g., http://www.tempuri.org/MyService.
See Combining WCF and WF4 - it seems to go into some detail on combining Workflow Foundation and WCF.
(I've personally never used Workflow Foundation, but have done quite a bit with WCF).