Workflow Foundation 接收活动

发布于 2024-11-19 02:41:42 字数 627 浏览 8 评论 0原文

我正在开发简单的 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

下雨或天晴 2024-11-26 02:41:42

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).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文