Running the command-line batch processor

Run the xsebatch.bat command to generate the web service artifacts such as the PL/I application template, XML converter driver(s), and the correlator file.

The batch processor is located in the RDz_install_directory/bin directory.

  1. Run the xsebatch.bat command and specify where the Container.xml file that describes the web service is located.
    xsebatch.bat -f "Fully_Qualified_PathTo/Container.xml" -c -d "Fully_Qualified_PathTo/workspace" -verbose
    • -c containerFile indicates to generate the set of language converters, the drivers, and XML schemas based on the provided container file. You can override this option by using the generateConverters and the generateSeparateXSD options in the Container.xml file and in the ServiceSpecification.xml file.
    • -d workspace indicates the path to the workspace to be used for the import. In Rational® Developer for System z®, specify either a relative path or a fully qualified absolute path to the workspace.
    • -verbose causes the diagnostic messages to be printed to the console.
    Refer to the Rational Developer for System z online help for more information about the batch processor command syntax and usage.
  2. After the xsebatch.bat program finishes running, restart Rational Developer for System z to view the generated files in the workspace.
You are ready to modify the generated PL/I application template and add your business logic.