Bug 780375 (SOA-2786) - Teiid Designer should create models for the WS translator invoke and invokeHttp procedures and the File translator getFiles procedure.
Summary: Teiid Designer should create models for the WS translator invoke and invokeHt...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-2786
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: Tooling
Version: 5.1.0.ER6
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 5.1.0 GA
Assignee: Dana Mison
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-14 20:44 UTC by John Doyle
Modified: 2011-02-16 00:52 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-15 21:32:24 UTC
Type: Bug


Attachments (Terms of Use)
SOA-2786.patch.txt (5.47 KB, text/plain)
2011-02-11 22:21 UTC, John Doyle
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-2786 0 Major Closed Teiid Designer should create models for the WS translator invoke and invokeHttp procedures and the File translator getFi... 2013-03-06 03:41:04 UTC
Red Hat Issue Tracker TEIIDDES-781 0 Critical Closed CLONE - Teiid Designer should create models for the WS translator invoke and invokeHttp procedures and the File translat... 2013-03-06 03:41:04 UTC

Description John Doyle 2011-01-14 20:44:43 UTC
Affects: Documentation (Ref Guide, User Guide, etc.)
Workaround: Workaround Exists
Workaround Description: Users can create the procedures manually.
project_key: SOA

If a user models a SOAP service defined by a WSDL using the WSDL to Relational Model importer, the importer creates the invoke() physical procedure for the user.  The execute procedure is required to execute the translator/connector.  

If the service is not defined by a WSDL (ie. REST service, XML RPC service, ...), or is File based, then the user  currently has to go through the error prone process of creating the physical models that define the procedures for the File and WS translators.  Since the declaration of these procedures is static and known, JBDS/Teiid Designer should create the models for the user.

For the File Translator we should define getFiles, getTextFiles, and saveFile.
For the WS Translator we should define invoke and invokeHttp.

Comment 1 John Doyle 2011-01-18 18:15:25 UTC
Link: Added: This issue Cloned to SOA-2803


Comment 2 John Doyle 2011-01-18 18:16:06 UTC
Link: Removed: This issue Cloned to SOA-2803 


Comment 3 John Doyle 2011-01-18 18:52:50 UTC
Link: Added: This issue Cloned to SOA-2805


Comment 4 Barry LaFond 2011-01-20 21:10:27 UTC
Patch/fix is now available from TEIIDDES-781 that introduces an option in the New Model > Relational model wizard to "Create File Translator procecdures". This simplifies the use-case and prevents user-error.

Recommend applying patch and getting in to JBDS CR2.

Comment 5 Steven Hawkins 2011-02-11 21:13:50 UTC
on the trunk version I'm seeing invoke/invokeHttp with result parameter modeled as IN rather than as a result.  invokeHttp contenttype should also be an OUT parameter.

Comment 6 Steven Hawkins 2011-02-11 21:16:36 UTC
also all parameters to invoke/invokeHttp should be nullable.

Comment 7 John Doyle 2011-02-11 22:21:36 UTC
A patch for shawkins comments.  Fear that this may have missed the boat.  User can modify these operations manually as a workaround.

Comment 8 John Doyle 2011-02-11 22:21:36 UTC
Attachment: Added: SOA-2786.patch.txt


Comment 9 John Doyle 2011-02-15 21:28:16 UTC
Adding remaining bug to Teiid Designer queue.

Comment 10 John Doyle 2011-02-15 21:28:16 UTC
Link: Added: This issue is related to TEIIDDES-869


Comment 11 John Doyle 2011-02-15 21:32:24 UTC
Release Notes Docs Status: Added: Not Yet Documented
Release Notes Text: Added: The procedures created by the Teiid Designer's New Model Wizard for the Web Service Translator models the 'result' and 'contentype' parameters as IN parameters.  They should be modeled as OUT parameters.  Also, all the parameters should be modeled as 'nullable'.  The user can edit these properties on the procedures to correct the model.


Comment 12 Dana Mison 2011-02-16 00:52:11 UTC
Release Notes Docs Status: Removed: Not Yet Documented Added: Documented as Known Issue
Writer: Added: Darrin
Release Notes Text: Removed: The procedures created by the Teiid Designer's New Model Wizard for the Web Service Translator models the 'result' and 'contentype' parameters as IN parameters.  They should be modeled as OUT parameters.  Also, all the parameters should be modeled as 'nullable'.  The user can edit these properties on the procedures to correct the model. Added: https://issues.jboss.org/browse/TEIIDDES-869
The procedures created by the JBoss Developer Studio Teiid Designer's "New Model Wizard" for the Web Service Translator models the 'result' and 'contentype' parameters as IN parameters.  They should be modeled as OUT parameters.  Also, all the parameters should be modeled as 'nullable'.  As a workaround you must edit these properties on the procedures to correct the model.



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