[
https://jira.jboss.org/browse/TEIID-1138?page=com.atlassian.jira.plugin.s...
]
Steven Hawkins resolved TEIID-1138.
-----------------------------------
Fix Version/s: 7.1.1
(was: 7.2)
Resolution: Done
Added an invokeHttp procedure to the ws translator. It has a Blob return value and a
string out parameter to indicate the content type. This is an implementation path toward
supporting all sorts of possible incoming web data, such as JSON, or CSV.
An example of usage would be:
select convert(to_chars(result, 'UTF-8'), string) from (call weather.invokeHttp(
endpoint=>querystring('', '38.99,-77.02 39.70,-104.80 47.6,-122.30'
as listLatLon,
'time-series' as product, '2004-01-01T00:00:00' as "begin",
'2013-04-20T00:00:00' as "end", 'maxt' as maxt,
'mint' as mint)
)) w
here the result blob is converted to chars using UTF-8, then a string. Something more
compelling should be added to the kit.
Add support to call binary web services
---------------------------------------
Key: TEIID-1138
URL:
https://jira.jboss.org/browse/TEIID-1138
Project: Teiid
Issue Type: Feature Request
Components: Misc. Connectors
Affects Versions: 7.1
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 7.1.1
We should add support to call http web services that return binary results.
One problem is that JBoss WS does not support DataSource based calls.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira