This sample shows the use of SendParametersContent and ReceiveParametersContent activities. The service exposes one operation that takes a string argument and echoes the input back to the client. The sample shows how to set up the parameters for these messaging activities.
The samples may already be installed on your machine. Check for the following (default) directory before continuing.
If this directory does not exist, go to Windows Communication Foundation (WCF) and Windows Workflow Foundation (WF) Samples for .NET Framework 4 to download all Windows Communication Foundation (WCF) and WF samples. This sample is located in the following directory.
Using this sample
Load the project solution in Visual Studio 2010 and build the project.
First run the EchoWorkflowService application generated in [solution base directory]\EchoWorkflowService\bin\debug.
Second, run the EchoWorkflowClient application generated in [solution base directory]\EchoWorkflowClient\bin\debug.
The client calls Echo operation on the service and prints the results. When complete, press ENTER to exit the client and then the service.