Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1104572

Summary: XSD model created in wrong folder when creating Web service model from WSDL
Product: [JBoss] JBoss Data Virtualization 6 Reporter: Andrej Smigala <asmigala>
Component: ToolingAssignee: Barry LaFond <blafond>
Status: CLOSED CURRENTRELEASE QA Contact: Andrej Smigala <asmigala>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: atangrin, vhalbert
Target Milestone: ER2   
Target Release: 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-17 18:07:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Minimal wsdl file to import none

Description Andrej Smigala 2014-06-04 08:47:59 UTC
Created attachment 902058 [details]
Minimal wsdl file to import

Steps to reproduce:
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 (a minimal example is attached)
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


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.


(This is similar to the linked jira, but not exactly the same)

Comment 1 JBoss JIRA Server 2014-06-19 16:21:19 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-1243 to Resolved

Comment 4 Van Halbert 2014-09-09 19:30:10 UTC
With the change request to use Teiid Designer 8.6, this BZ is now included in the release.

Comment 5 JBoss JIRA Server 2014-11-17 16:25:45 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-1243 to Closed

Comment 6 Andrej Smigala 2015-01-09 16:36:31 UTC
This bug is not fixed.

There was some confusion, I made the mistake of linking what I thought was similar issue already in jira (that one seems to be fixed), instead of creating a new jira for this particular issue.

I now made a new jira and linked appropriately.

There is a simple workaround of manually moving the schema model to the correct location.

Sorry about the confusion.

Comment 7 JBoss JIRA Server 2015-03-27 21:25:13 UTC
Ted Jones <tejones> updated the status of jira TEIIDDES-2422 to Resolved

Comment 8 JBoss JIRA Server 2015-03-30 15:25:01 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-2422 to Reopened

Comment 9 JBoss JIRA Server 2015-03-30 19:52:59 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-2422 to Resolved

Comment 11 JBoss JIRA Server 2015-05-18 12:53:44 UTC
Andrej Šmigala <asmigala> updated the status of jira TEIIDDES-2422 to Reopened

Comment 12 Andrej Smigala 2015-05-19 13:36:41 UTC
This is not fully fixed:

When following the steps as described, the schema model is created in the correct folder, however, an extra empty web service model is created in the root of the project (in addition to the one created in web_services folder, which contains the operation from the wsdl).

Additionally, when creating the model by right clicking the web_services folder and selecting New -> Teiid Metadata Model, the import shows the same behaviour as before, i.e. the schema model is created in <project>/web_services/schemas instead of <project>/schemas

Comment 13 JBoss JIRA Server 2015-07-20 17:51:15 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-2422 to Resolved

Comment 14 JBoss JIRA Server 2015-08-03 11:51:35 UTC
Andrej Šmigala <asmigala> updated the status of jira TEIIDDES-2422 to Closed