Bug 1174648 - Cannot set Content via Element in Webservice operation input and output
Summary: Cannot set Content via Element in Webservice operation input and output
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Virtualization 6
Classification: JBoss
Component: Tooling
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Barry LaFond
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-16 09:04 UTC by Andrej Smigala
Modified: 2015-11-17 18:05 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
When trying to set Content via element for a web service operation input or output, the list of available elements was empty, even when there are XML Schema models in the project. As a consequence without the Content via Element set, the Web Service model was not valid and therefore web services could not be modeled. This was caused by the table editor having a load flag set in ModelObjectTableModel. This is causing the PropertyEditorFactory to skip loading the choices and resulting in an empty List Dialog, rather than a combo box. Setting it to false fixes this issue. As a result, users can now model web services.
Clone Of:
Environment:
Last Closed: 2015-11-17 18:05:58 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Project to import (2.10 KB, application/zip)
2014-12-16 09:05 UTC, Andrej Smigala
no flags Details
Screencap of workaround. Editing the value in the Properties View (68.05 KB, image/png)
2015-01-08 19:45 UTC, Barry LaFond
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker TEIIDDES-2409 0 Blocker Closed Cannot set Content via Element in Webservice operation input and output 2015-09-08 02:47:47 UTC

Description Andrej Smigala 2014-12-16 09:04:32 UTC
When trying to set Content via element for a web service operation input or output, the list of available elements is empty, even when there are XML Schema models in the project.


Steps to reproduce:
1. Import the attached project
2. Open the WsModel
3. Switch to the Table Editor tab
4. Switch to the Inputs tab
5. Click in the Content via Element column



Windows, Linux
JBDS 8.0.1 GA
Designer 9.0.1 Beta2

Comment 1 Andrej Smigala 2014-12-16 09:05:20 UTC
Created attachment 969472 [details]
Project to import

Comment 4 Barry LaFond 2015-01-08 19:44:39 UTC
Work around is user selects the message object in the tree and change the same property via the Properties View. (Screenshot attached)

Comment 5 Barry LaFond 2015-01-08 19:45:18 UTC
Created attachment 977898 [details]
Screencap of workaround. Editing the value in the Properties View

Comment 6 Len DiMaggio 2015-01-08 19:55:41 UTC
From Barry - The WS model actually references it [the XSD file] so the cell editor in the view will discover available schema elements to choose from.

Comment 7 JBoss JIRA Server 2015-01-08 20:01:00 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-2409 to Resolved

Comment 8 JBoss JIRA Server 2015-02-12 08:49:29 UTC
Andrej Šmigala <asmigala> updated the status of jira TEIIDDES-2409 to Closed


Note You need to log in before you can comment on or make changes to this bug.