Sample C# code, including a complete application, is included in the DeltaV installation in the directory: \DeltaV\samples\RecipeExchange\WCFREClient\
The sample application also includes XML usage examples.
To use the sample application you must have .NET Framework 3.5 installed. To easily add and modify service references to any Visual Studio 2005 project, we recommend installing the WCF Extensions for Visual Studio.
To set up the sample application edit WCFREClient.exe.config in \DeltaV\samples\RecipeExchange\WCFREClient\bin and modify the following in the client element for your system:
For the instances of endpoint address, replace localhost with the name of the machine hosting the Recipe Exchange web service and verify that the port numbers are correct (if you have changed them from the default values).
For the instances of <identity> set userPrincipalName:
If you rebuild the sample client you must perform these setup steps each time you rebuild. In addition, ensure the Buffers, TimeOuts and ReaderQuotas are set to the initial values in the SOA Gateway Administration application.
You can now run WCFREClient.exe. Remember that you must use the connect method (click the Connect button) before calling any other methods.