Generating and deploying the stub

To generate and deploy the stub:

  1. Start the SM service (stub generation requires access to SM).

  2. Edit the following lines in <release-package>\bin\build.properties as required for access to SM:

    #Set up WSDL URL, please change the URL to your actual SM server, eg,
    http://<your-server>:<port>/.../<service-name>.wsdl
    
    #Comment this line by this sign "#" if you do not generate stub jar for
    change management module
    sm.change.wsdl=http://localhost:13080/sc62server/PWS/
    QCIntChangeService.wsdl
    
    #Comment this line by this sign "#" if you do not generate stub jar for
    problem management module
    sm.problem.wsdl=http://localhost:13080/sc62server/PWS/
    QCIntProblemService.wsdl
  3. Run the script build.bat from the operating system’s command prompt (check the console output for errors). The stub <Release_Package>\build\sm-adapter-ws-client.jar is generated.
  4. Copy the stub to the <QCS_Install_Dir>\adapters\lib directory.