XMLRPC Code - Java & Apache
Below is an example of how to use the SECVPN XML-RPC API with the org.apache.xmlrpc packages to
place a test transaction on the SECPay server.
In order to run the code below you will need:
This example can easily be modified to take other method names from the command line which represent a method to call on the SECVPN object.
For each new method call which you would like to implement - a new execute<MethodName>() method can be added which provides the parameters appropriate for the method you are trying to call.
To use the example below as is would require the following command:
- java com.company.xmlrpc.XMLRPCTestClient validateCardFull