Creating an Interface part from a Service part

You can use a service part as a model for an interface part. Follow these steps to create an Interface part that references one or more of the functions in an existing service part:
  1. In the Project Explorer view, right-click on an EGL source file that includes an EGL Service part and then click Extract EGL Interface. The New EGL Part window opens.
  2. In the Source folder field, select a source folder to hold the new file.
  3. In the Package field, select a package to hold the new file.
  4. In the EGL source file name field, type a name for the new file that will contain the new Interface part.
  5. In the Functions field, select the functions which you want to include in the new Interface part.

    You can use the Select All and Deselect All buttons to select or deselect the functions.

  6. If you want to overwrite an EGL source file, select the Overwrite existing files check box.
  7. Click Finish.

Related concepts
EGL interfaces
EGL services and Web services

Related tasks
Creating an EGL Interface part

Related reference
Best practices for services and related interfaces in EGL
Interface part in EGL source format
Interfaces of type BasicInterface

Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.