Home > Constructing SOAP with .NET 2.0 and WSE 3.0


Constructing SOAP with .NET 2.0 and WSE 3.0

This section describes how to construct SOAP messages 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.
WSE 3.0 Web Services Enhancements for Microsoft .NET, which is used to authenticate the user with the UsernameToken class.

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

The sample files, sample_wse30.vb(VB) and sample_wse30.cs(C#), provide the code to process your transactions. To help understand and use the code, the files contain many comments and a sample card authorization. Before using the files, be sure to replace the generic values of the variables with your own.