Importing Resources

To import XSD or WSDL resources into your project, perform the following procedure:

Procedure 

  1. Choose Tools > Schema Importer from the TIBCO Designer menu or use the Control+Shift+L keyboard shortcut.

  2. Click the Down arrow button next to the text Add a New Location at the top left of the Schema Importer dialog. Select New Import Resolver from the popup menu.

    A Location resource appears in the project tree in the Schema Importer dialog.

  3. In the URI field, enter a valid URI that specifies the location of the resource you wish to import. You can use the Browse button to locate resources in the file system, or you can use the HTTP or FTP protocol to locate remote resources. For example, you can enter http://www.myCo.com/jswing.wsdl as a location.

  4. In the Download Folder field, specify the folder in the project in which to place the imported resources once any conflicts or errors have been resolved. You can use the Browse button to locate a folder in the current project.

  5. Click the Fetch button to retrieve the specified resource. The resource an any referenced resources are stored temporarily in the Location resource created in step 2.

    You can expand the Location resource to view the retrieved resources. Select a resource and you can view the Information tab or Source tab to see more details about the resource.

  6. Any errors are reported on the Errors tab. Select each error and choose the correct option to resolve the error. You may choose to ignore the error, if you wish to import the resource without resolving the error.

  7. Click the Save button to import the resources into the project. The schema import tool does not allow you to import any resources until all errors have been either resolved or marked to ignore.