[
https://issues.jboss.org/browse/TEIIDDES-987?page=com.atlassian.jira.plug...
]
Barry LaFond commented on TEIIDDES-987:
---------------------------------------
Example of the Web Service Translator procedure is:
CREATE VIRTUAL PROCEDURE
BEGIN
SELECT t.* FROM TABLE(EXEC StateService.invoke(binding => 'SOAP11', request
=> '<states:GetAllStateInfo
xmlns:states="http://www.teiid.org/stateService/"/>')) AS response,
TABLE(EXEC StateServiceXML.GetAllStateInfo.extract_AllStateInfo(response.result)) AS t;
END
Add ability to edit/generate Create Virtual Procedure statements for
RestEasy XML, File Translator and Web Service Translator procedures
----------------------------------------------------------------------------------------------------------------------------------------
Key: TEIIDDES-987
URL:
https://issues.jboss.org/browse/TEIIDDES-987
Project: Teiid Designer
Issue Type: Enhancement
Components: Editors, Transformations
Affects Versions: 7.4
Reporter: Barry LaFond
Fix For: 7.5
Designer includes "Generate xxxx procedures" options in the New Model Wizard.
Also have a RestEasy use-case that requires getXXXX virtual procedures that contain SQL
like:
CREATE VIRTUAL PROCEDURE
BEGIN
SELECT XMLELEMENT(NAME parts, XMLAGG(XMLELEMENT(NAME part,
XMLFOREST(VirtualParts_Supplier.PARTS.PART_ID, VirtualParts_Supplier.PARTS.PART_NAME,
VirtualParts_Supplier.PARTS.PART_COLOR, VirtualParts_Supplier.PARTS.PART_WEIGHT)))) AS
result FROM VirtualParts_Supplier.PARTS WHERE VirtualParts_Supplier.getParts.partId_in =
VirtualParts_Supplier.PARTS.PART_ID;
END
Would be nice to have a framework where "wizards" can be accessed to
create/edit the content of this SQL if the basic structure is a Set Query (SELECT * FROM
XXX)for these specific use-cases.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira