Previous Topic Next topic Print topic


Create a Project

Walks you through the process of creating aVisual COBOL project for the ScheduleDemo application and its service interface.
Restriction: This topic applies only when the Enterprise Server feature is enabled.
Restriction: This topic applies to Windows environments (local development) only.

Create the ProgramSOAP Project

Create a project for your service interface, and add files to the project. This section assumes that Visual COBOL is started. If you need instructions to get it started, see To start Visual COBOL. We also assume that the COBOL Explorer view is showing in Eclipse.

  1. In Eclipse, click File > New > COBOL Project.
  2. In the Project name field, type ProgramSOAP.
  3. Check Use default location; then click Finish.

    The COBOL Explorer now shows the ProgramSOAP project.

  4. From the COBOL Explorer, right-click the ProgramSOAP project and select Import > Import from the context menu.

    This opens the Import dialog box.

  5. Expand General and click File System.
  6. Click Next.
  7. Click the Browse button that corresponds to the From directory field, and browse to the %PUBLIC%\Documents\Micro Focus\Visual COBOL\Samples\Interface Mapping Toolkit\ServiceInterfaces\ScheduleDemo directory.
  8. Click OK.
  9. On the list of files, check all files except the Readme XML files.
  10. Click Finish.

    This adds the files to the project and builds the project automatically.

Set the COBOL Build Configuration

This IMTK project requires the build action to produce a dynamic link library (.dll) file for the schedule program. To ensure this behavior:

  1. In the COBOL Explorer, right-click the ProgramSOAP project; then select Properties from the context menu.
  2. Expand Micro Focus > Build Configurations; then click COBOL.
  3. From the Target Type drop-down list, select All Native Library Files; then click OK.
Previous Topic Next topic Print topic