The pre-built wsdl2h
tool does not support SSL, so you cannot point the tool directly to https://ics2wstesta.ic3.com or https://ics2wsa.ic3.com, or https://ics2wsa.in.ic3.com in India.
-
Download the latest WSDL and XSD files to the
client
directory from either of the following URLs:
-
To ensure that the
Makefile
file finds the WSDL file that you downloaded in the previous step, rename it as CyberSourceTransaction.wsdl
by removing the version number.
Important: Do not rename the XSD file.
-
Run the
make header
script.
You will receive warning messages, which you can safely ignore. However, ensure that no two line items in your requests have the same ID.
-
In the newly generated the
cybersource.h
header file, add the following line to the Import section:
-
Run the
make source
script.