Xactly Connector > Generating the client stub for Xactly WSDL
  

Generating the client stub for Xactly WSDL

You can create an Xactly_client-1.0.0.jar stub for the Xactly WSDL. You must configure the JAVA_HOME environment before you generate a stub creation.
    1 Download JDK 1.8 from the following website:
    http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
    2Set the JAVA_HOME environment variable to the location that contains the JDK 1.8 file. For example, set JAVA_HOME="c:\Program Files\Java\jdk1.8.0_181".
    3Download the Xactly WSDL to a temporary path, for example, C:\temp\Xactly\wsdl.
    4 You can either run the commands one by one in the command prompt or copy paste the entire command to a Win batch file and run the command as a batch file.
    5Navigate to the C:\temp\Xactly folder.
    Use the following commands to create the Xactly stub:
    set classpath=%JAVA_HOME%
    mkdir C:\temp\Xactly\out
    mkdir C:\temp\Xactly\src
    wsimport.exe -keep -XadditionalHeaders -Xdebug -s C:\temp\Xactly\src -d C:\temp\Xactly\out -verbose C:\temp\Xactly\wsdl\DiscoveryService.wsdl -wsdllocation /wsdl/DiscoveryService.wsdl
    jar -cvf C:\temp\Xactly\Xactly_client-1.0.0.jar -C out . wsdl
    6 Stop the Secure Agent.
    7Copy the Xactly_client-1.0.0 jar to the following directory:
    <Secure Agent installation directory>\downloads\<latest connector zip package>\package\connectors\ctk\<plugin ID>
    8Start the Secure Agent.