Creating an interface from a WSDL file

This procedure describes how to create an interface from a Web Services Definition Language (WSDL) file.

About this task

Importing a WSDL file from the WebSphere Service Registry and Repository (WSRR) and creating an interface from a WSDL file are the same procedure.

To create an interface from a WSDL file, complete the following steps:

  1. Begin the procedure by clicking the Import from WebSphere Service Registry and Repository button.
  2. Follow the navigation instruction to launch the Interfaces wizard.
  3. Complete the Interfaces Wizard Page One by doing the following steps:
    1. From the list, select the project and the namespace you want to associate the interfaces with.
    2. Select the source to create the interfaces model. There are two options to choose from:
      • Import from file – Import your WSDL data from a file on your system
      • Import from WebSphere Service Registry and Repository – Import a WSDL file from the WSRR. This is the default.
    3. Click Next.
  4. Complete the Interfaces Wizard Page Two by doing the following steps:
    1. Specify the location of the WSDL document in the WSDL location using the Browse button
    2. Click Next.
  5. Complete the Interfaces Wizard Page Three by doing the following steps:
    1. Select the port types from the list of available port types using the Add and Remove buttons
    2. Verify the Selected Port Types listing
    3. Click Next.
  6. Complete the Interfaces Wizard Page Four by doing the following steps:

    This page in the wizard shows the port type setting and the name of the interface model to be created. This page also displays any other interface models existing in the repository that require further action.

    1. Verify this information
    2. Click Finish.
  7. Complete the Interfaces Wizard Page Five by doing the following steps:

    This page in the wizard lists the endpoints existing in the WSDL file. You are provided with a choice of the specific endpoints to create. Select the appropriate endpoint, and click Next..

  8. Complete the Interfaces Wizard Page Six by doing the following steps:

    This page in the wizard displays the endpoint model (that is, the name of the endpoint, the interface it will be associated with, the address and the message type that is created).

  9. Click Finish.
Results

Navigation

Right-click Any Object > New > Interface .

Related concepts
Working with the Interfaces editor