Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-2422

XSD model created in wrong folder when creating Web service model from WSDL

XMLWordPrintable

    • Hide
      1. Create new model project with the default folder structure
      2. File -> New -> Teiid Metadata Model
      3. Set Model Class: 'Web Service', Model Builder: 'Build from existing WSDL file', set the Location to the 'web_services' subfolder
      4. On the next page, select a WSDL file
      5. Keep clicking Next until you get to the 'Schema Workspace Location Selection' step
      6. Change the Folder to the 'schemas' subfolder of the current project, click Apply
      7. Notice the Target Path is '<project-name>/schemas/<wsdl-name>.xsd'
      8. Click Next, Finish

      The XML and Web Service models are correctly created in the web_services subfolder, but the XSD model is created in web_services/schemas subfolder, instead of in the schemas subfolder.

      Show
      Create new model project with the default folder structure File -> New -> Teiid Metadata Model Set Model Class: 'Web Service', Model Builder: 'Build from existing WSDL file', set the Location to the 'web_services' subfolder On the next page, select a WSDL file Keep clicking Next until you get to the 'Schema Workspace Location Selection' step Change the Folder to the 'schemas' subfolder of the current project, click Apply Notice the Target Path is '<project-name>/schemas/<wsdl-name>.xsd' Click Next, Finish The XML and Web Service models are correctly created in the web_services subfolder, but the XSD model is created in web_services/schemas subfolder, instead of in the schemas subfolder.

      When creating a Web Service model from an existing WSDL, there is an option to change the target location of the imported xml schema. Changing this location however results in the schema model being created in the wrong folder.

      Expected result:
      The XML and Web Service models are created in the 'web_services' subfolder, the XSD model is created in the 'schemas' subfolder.

      Actual result:
      The XML and Web Service models are created in the 'web_services' subfolder, but the XSD model is created in 'web_services/schemas' subfolder.

              blafond Barry LaFond
              asmigala@redhat.com Andrej Smigala
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: