Adding Service Reference address in Workflow Service

I have tried to google up the problem I'm having with a workflow service sample and to solve it to no avail. I've contacted the author, but have not heard from him.

The downloaded sample, https://github.com/PeteGoo/Workflow.EmailApprovalSample, works great. While trying to replicate it for my own project, I stumbled on Adding Service Reference in the Console application named ApproverClient.

The solution in the sample consists of three projects:

  • A WCF Workflow Service Application named ApprovalWorkflow. It comes with Service1.xamlx, which is, I assume, renamed to Workflow.xamlx.

  • An MVC named Approval.Web. A Service Reference is added and has this address http//:

    localhost:1708/Workflow.xamlx

  • A Console Application named ApproverClient. A Service Reference is added and has this address http//:

    localhost:1358/Service1.xamlx

  • The web.config and the app.config contain the same endpoint address http//:

    localhost:1708/Workflow.xamlx

    My question is: Where does the Service Reference address in ApproverClient come from? There is no Service1.xamlx in any of the three projects.

    I'd appreciate your help. If you know similar code samples, please let me know.


    只需删除服务参考并再次添加。

    链接地址: http://www.djcxy.com/p/17176.html

    上一篇: ASP.NET网站或ASP.NET Web应用程序?

    下一篇: 在工作流程服务中添加服务参考地址