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

Bug 1168123

Summary: Web Service Input Variables not shown after opening the model
Product: [JBoss] JBoss Data Virtualization 6 Reporter: Andrej Smigala <asmigala>
Component: ToolingAssignee: Barry LaFond <blafond>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: anmahaja, atangrin, mmakovy, vhalbert
Target Milestone: ER2   
Target Release: 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
When you try to open a web service model editor in the model explorer, the application fails to display the input variables. However, variables are already declared in the procedure SQL. This behaviour persists in JBoss Data Virtualization 6.1.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-17 18:08:05 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
project none

Description Andrej Smigala 2014-11-26 08:21:15 UTC
Created attachment 961533 [details]
project

When opening a Web Service model editor by double-clicking the model in the model explorer, the Input Variables section is empty, even when there are variable declarations in the procedure SQL.
Trying to add the variables using the Add or Remove variables button results in multiple identical declarations in the procedure SQL.

When opening the model editor by double clicking the child interface or operation, the input variables are shown as expected.


Steps to reproduce:
1. import the attached project
2. double click the OrderCheckingWs in model explorer, the model editor will open
3. notice the Input Variables section is empty
4. close the editor
5. expand the model and double click the Service1Soap interface
6. notice Input Variables now contains the declared variables

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

Comment 4 Andrej Smigala 2015-05-13 10:24:25 UTC
This is not fully fixed. The variables are now shown after opening the model, however, clicking Add or Remove variables shows the Edit Input Variables editor with all the variables deselected. Selecting some of the variables adds them to the transformation, resulting in invalid SQL.

New steps to reproduce:
1. import the attached project
2. double click the OrderCheckingWs in model explorer, the model editor will open 
3. click Add or Remove variables
4. notice all variables are deselected
5. select OrderDate, click OK
6. save the model, the following validation error is shown:
      ERROR: Variable VARIABLES.IN_OrderDate was previously declared.

Comment 5 JBoss JIRA Server 2015-05-13 10:25:11 UTC
Andrej Šmigala <asmigala> updated the status of jira TEIIDDES-2402 to Reopened

Comment 6 JBoss JIRA Server 2015-05-15 17:03:42 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-2402 to Resolved

Comment 7 JBoss JIRA Server 2015-05-27 10:17:14 UTC
Matus Makovy <mmakovy> updated the status of jira TEIIDDES-2402 to Closed

Comment 8 Matus Makovy 2015-05-27 10:18:49 UTC
verified TD 9.0.2.Final - new bug added - TEIIDDES-2523

Comment 9 JBoss JIRA Server 2015-06-15 11:41:24 UTC
Andrej Šmigala <asmigala> updated the status of jira TEIIDDES-2402 to Reopened

Comment 10 JBoss JIRA Server 2015-06-15 11:41:34 UTC
Andrej Šmigala <asmigala> updated the status of jira TEIIDDES-2402 to Closed