[
https://issues.jboss.org/browse/TEIID-2694?page=com.atlassian.jira.plugin...
]
Ramesh Reddy commented on TEIID-2694:
-------------------------------------
Using multipart you can enter small string values along with any binary/large payloads.
The only difference in calling style. Other option is, only *if* one of the parameter type
is LOB/VARBINARY we can take the "mulitpart" approach. Let me know if you think
that is better approach, I will make the modifications.
Each payload one can define the content-type that can define payload type, however I have
tied that with the expected types on the procedure. In case of blobs, clobs and xml, I
just passed the inputstream content as is to the Teiid. This should also support varbinary
as designed.
Support for Blob Input in Teiid REST services
---------------------------------------------
Key: TEIID-2694
URL:
https://issues.jboss.org/browse/TEIID-2694
Project: Teiid
Issue Type: Enhancement
Affects Versions: 8.5
Environment: EAP 6.1 Alpha , Teiid 8.5
Reporter: Madhu Garimilla
Assignee: Ramesh Reddy
Labels: Final
Fix For: 8.10
We are trying to upload large files as Blobs using Teiid REST service through VDB. Though
we are writing the Blob objects to HttpUrlConnection object, it is not received on REST
method. As per the conversation in the thread
"https://community.jboss.org/thread/232840" Current parameter handling is done
through strings and needs be enhanced to support Blob objects.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)