| VB 5/6
1. VB MSSOAP,
2. VB COM
3. VB MSXML
1. VB MSSOAP
BankValidate Client example
1. Download and install Microsoft MSSOAP toolkit, version 3.0 from the microsoft download centre
2. Use the following code in your VB program.
3. Build variable paramstring, substituting for:-
userid - your user id string
PIN - your security PIN number string
sortcode - 6 digit sort code string
account - account number string
Dim paramstring As String
Dim soapClient
Set soapClient = CreateObject("MSSOAP.SoapClient30")
On Error Resume Next
soapClient.ClientProperty("ServerHTTPRequest") = True
Call soapClient.MSSoapInit _ ("http://www.unifiedsoftware.co.uk/BankValukall.wsdl")
If Err <> 0 Then
Call soapClient.MSSoapInit _ ("http://www.unifiedservices.co.uk/BankValukall.wsdl")
If Err <> 0 Then
status.Text = Err.Description
End If
End If
paramstring = userid.Text & "|" & PIN.Text & "|" & sortcode.Text & _ "|" & account.Text
result.Text = soapClient.bankvalidate(paramstring)
BankValPlus Client example
1. Download and install Microsoft MSSOAP toolkit, version 3.0 from the microsoft download centre
2. Use the following code in your VB program.
3. Build variable paramstring, substituting for:-
userid - your user id string
PIN - your security PIN number string
sortcode - 6 digit sort code string
account - account number string
Dim paramstring As String
Dim soapClient
Set soapClient = CreateObject("MSSOAP.SoapClient30")
On Error Resume Next
soapClient.ClientProperty("ServerHTTPRequest") = True
Call soapClient.MSSoapInit _ ("http://www.unifiedsoftware.co.uk/BankValukall.wsdl")
If Err <> 0 Then
Call soapClient.MSSoapInit _ ("http://www.unifiedservices.co.uk/BankValukall.wsdl")
If Err <> 0 Then
status.Text = Err.Description
End If
End If
paramstring = userid.Text & "|" & PIN.Text & "|" & sortcode.Text & _ "|" & account.Text
result.Text = soapClient.bankvalplus(paramstring)
<< back to top >>
2. VB COM
BankValidate Client example
1. Requires Perl 5.6 or higher.
2. Requires Perl SOAP::Lite module, available from Perl Package Manager http://aspn.activestate.com/ASPN/Downloads/ActivePerl/PPM/, CPAN http://www.cpan.org/ or the SOAP Lite website http://www.soaplite.com.
3. Requires Perl Crypt::SSLeay module, availability from Perl Package Manager http://aspn.activestate.com/ASPN/Downloads/ActivePerl/PPM/ or CPAN http://www.cpan.org/.
4. Requires SOAP Lite COM Typelib
(a) Download Lite.dll from http://www.soaplite.com
(b) Register Lite.dll
(c) Include as a reference in your project
5. WSDL ensures that SSL (https) is used for the SOAP call.
6. Insert the code below into your program, substituting for:-
userid - your user id string
PIN - your security PIN number string
sortcode - 6 digit sort code string and
account- account number string.
MsgBox CreateObject("SOAP.Lite").new _
.service("http://www.unifiedsoftware.co.uk/BankVal.wsdl") _
.bankvalidate("userid|PIN|sortcode|account")
<< back to top >>
3. VB MSXML
Client examples
1. Include the MSXML reference in your project.
2. Use the following code in your VB program.
3. Build variable paramstring, substituting for:-
userid - your user id string
PIN - your security PIN number string
sortcode - 6 digit sort code string
account - account number string.
BankValidate
GetBranchDetails
BankValFull
<< back to top >> |