Home > Constructing SOAP with C++ and gSOAP 2.7.9d for Mac OS X > Generating the Mac Client Code


Generating the Mac Client Code

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.
  1. Download the latest WSDL and XSD files to the client directory from either of the following URLs:
  2. 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.
  3. 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.

  4. In the newly generated the cybersource.h header file, add the following line to the Import section:

    #import "WS-Header.h"

  5. Run the make source script.