[
https://jira.jboss.org/jira/browse/TEIIDDES-119?page=com.atlassian.jira.p...
]
Greg Haber commented on TEIIDDES-119:
-------------------------------------
Other than inst2xsd, another great tool for building XSDs from sample XMLs is trang
(
http://www.thaiopensource.com/relaxng/trang.html). If we go the best practices approach
for producing we should discuss both trang and inst2xsd.
What would be really slick would be to have one of these tools under the covers in
Designer (both have BSD-style licenses so we could do this). inst2xsd (part of Apache
XMLBeans) is designed to be called either from the command line or programmatically (see
http://svn.apache.org/viewvc/xmlbeans/trunk/src/tools/org/apache/xmlbeans...)
- we could hide it behind a Designer import wizard.
And, on the topic of REST services, one thing we should doc clearly is how to deal with
best-case REST services (those where the input parameters are encoded in the URL, and an
XSD is available to describe the returned XML doc). One such example is the Yahoo
Geocoding service (
http://developer.yahoo.com/maps/rest/V1/geocode.html).
XML-Relaional modeling needs to be easier for sources that do not
provide an XSD.
---------------------------------------------------------------------------------
Key: TEIIDDES-119
URL:
https://jira.jboss.org/jira/browse/TEIIDDES-119
Project: Teiid Designer
Issue Type: Feature Request
Components: Modeling
Reporter: John Doyle
Assignee: John Doyle
The main case for this is REST services. REST services do not have a standard
description mechanism like WSDL for SOAP services. The inputs and outputs of the service
might be documented in a HTML help page, with sample XML documents, with WADL, etc. Hand
modeling is too difficult, so we need to come up with other assists. The solution is
probably a mix of new features and documented best practices.
For example:
Add WADL support to the importer.
Document use of a schema from XML tool (like inst2XSD)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira