Home > Constructing SOAP with .NET 3.0 (WCF) and Later Versions


Constructing SOAP with .NET 3.0 (WCF) and Later Versions

This section describes how to construct SOAP messages with .NET 3.0 and later to process transactions with CyberSource.

Before starting this process, download and install the required third-party software:

Software Tested Description
Windows XP Pro with SP2 Operating system version tested.
Visual Studio 2005 Includes .NET 2.0.

Microsoft Windows SDK

Software Development Kit that contains necessary tools, such as svcutil.exe.
.NET Framework 3.0 and later Redistributable Package

Includes the Windows Communication Foundation.

Important:

After installing the software, you must reboot your computer to ensure that svcutilis recognized as a shell command.

Test the client application with the sample code files available from https://github.com/CyberSource/cybersource-soap-toolkit/blob/master/sample_wcf.cs.

To help understand and use the code, the files contain many comments and a sample card authorization. Before using the files, be sure that you replace the generic values of the variables with your own.