之前对WWF Host概念比较模糊,仔细看了ExpenseReporting之后,比较清楚了,
在ExpenseHost.exe,有一个配置文件ExpenseHost.exe.config,其中有一段
<system.serviceModel>
<services>
<service name="ExpenseLocalServices.ExpenseService">
<!-- Use base address provided by host. -->
<!-- Specify BasicProfile binding and a binding configuration to use. -->
<endpoint
address="http://tianchi-cleo:8081/WFSamples/ExpenseService"
binding="wsHttpBinding"
contract="ExpenseContracts.IExpenseService" />
</service>
</services>
</system.serviceModel>运行结果如下: