Realtime transactions with C#
Below is an example of a SOAP call to SECVPN.validateCardFull using Visual Studio .Net and C#.
Note: You must perform the following steps and in order for the code listed below to work
||This can be accomplished using the wsdl.exe program that is included with the .net SDK. Simply run the command 'wsdl https://www.secpay.com/java-bin/services/SECCardService?wsdl' from an internet enabled machine to generate this file.|
||This can be accomplished by right-clicking in the solution explorer window in Visual Studio and selecting Add -> Add existing item and then selecting the generated file|
||This can be accomplished by right-clicking the references in the solution explorer and adding both the System.Web.dll and System.Web.Services.dll|