You can use a Service or an ExternalType part as a model
for a new Interface part.
- In the Project Explorer view, right-click an EGL source file that
includes an EGL Service or ExternalType part and then click . The New EGL Interface Part window opens.
- In the Source folder field, select a source
folder to contain the new file.
- In the Package field, select a package
to contain the new file.
- In the EGL source file name field, type
a name for the new file that is to contain the new Interface part.
By convention, files that contain interface parts begin with a capital
letter I.
- In the Functions field, select the functions,
or function prototypes in the case of an ExternalType, to include
in the new Interface part. Only the functions that are not marked
as private are shown in this list. If you are creating the part from
an ExternalType part, EGL might show multiple Interfaces on separate
tabs. You can change the suggested name for any of these Interfaces.
To
select or deselect the functions, use the Select All and Deselect
All buttons.
- Optional: To overwrite an EGL source file, select the Overwrite
existing files check box.
- Click Finish.
When you access an EGL or EGL REST-RPC service, which is a non-SOAP
service, do not use an Interface part that is derived from a WSDL
file. Otherwise, a runtime error might occur.