Sending and receiving a reply to a WCF message

In this task, we are going to create a WCF client workflow. The workflow will send a WCF request with two integer numbers to a WF service and receive a reply from the WCF service with the addition result.

Getting ready

For this task, we need to choose one of the previous tasks that we performed as the WF service—Receiving and replying a WCF message or Receiving and replying to a WCF message in code workflow. I will use the WF service that is hosted in IIS.

How to do it...

  1. Create a Workflow Console Application project:

    Create a new Workflow Console Application named SendAndReceive.

  2. Find out service information:

    Before moving to authoring a workflow service client, we need to find out some basic WCF service ...

Get Microsoft Windows Workflow Foundation 4.0 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.