Generating an IDL File

You can obtain an IDL file by:

To generate an IDL file from the New From Template wizard:

  1. Choose File New to open the New From Template wizard.
  2. Expand the CORBA node and select Empty. Click Next to proceed.
  3. Type the name of your IDL file in the Name text field and a destination package name in the Package text field. Click Next.
  4. Select IDL wizard as the means by which you want to generate an IDL file.

    Selecting IDL wizard creates a new IDL file with an IDL editor. Selecting Interface Repository imports an existing IDL from the interface repository (IR).

  5. Define the contents of your IDL file.
    1. Select an operation from the combo box and click Create. The IDL file must contain at least an interface declaration.
    2. Type the appropriate information for the operation in the dialog box that opens and click OK.
  6. Continue adding operations as needed. Use the Remove, Edit, Up, and Down buttons to edit the context hierarchy of your IDL file. When done, click Next.
  7. Click Continue with CORBA Wizard to continue developing the CORBA application or click Finish to create the IDL file.

To import an IDL from the interface repository:

  1. Choose File New to open the New From Template wizard.
  2. Expand the CORBA node and select Empty. Click Next to proceed.
  3. Type the name of your IDL file in the Name text field and a destination package name in the Package text field. Click Next.
  4. Select Interface Repository and click Next.
  5. Click Add IR.
  6. Provide the name of the interface repository from which you are importing the IDL file from, and type either the URL of the repository or the IOR string. The string information must be provided as one continuous string.
  7. Click OK in the CORBA Panel dialog box.
  8. Click Refresh to redisplay the repository hierarchy in the display pane. Click Next.
  9. Click Continue with CORBA Wizard to continue developing the CORBA application or click Finish to create the IDL file.

See also
Generating Client-Side Files With the CORBA Wizard
Generating Server-Side Files With the CORBA Wizard
The Interface Repository Browser
Completing Generated Files

Legal Notices