From issues at jboss.org Tue Jan 1 20:57:00 2019 From: issues at jboss.org (Christoph John (Jira)) Date: Tue, 1 Jan 2019 20:57:00 -0500 (EST) Subject: [teiid-issues] [JBoss JIRA] (TEIID-5545) Odata V4 Batch processing does not work as teiid/olingo rejects "Accept: multipart/mixed" request header In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/TEIID-5545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13677378#comment-13677378 ] Christoph John commented on TEIID-5545: --------------------------------------- Hello and happy new year Ramesh, I am currently quite stuck with getting my OpenUI5 running without batch processing against my Teiid instance. I would therefore like to try to build Olingo myself and replace it in Teiid. Could you please give me some directions on how to do it. I am not very familiar with Java and actually do not know where to start. Thx for your help Best regards, Christoph > Odata V4 Batch processing does not work as teiid/olingo rejects "Accept: multipart/mixed" request header > -------------------------------------------------------------------------------------------------------- > > Key: TEIID-5545 > URL: https://issues.jboss.org/browse/TEIID-5545 > Project: Teiid > Issue Type: Bug > Components: OData > Affects Versions: 11.2 > Reporter: Christoph John > Assignee: Ramesh Reddy > Priority: Critical > Fix For: 12.1 > > > When using Teiid together with SAPUI5/OpenUI5 Odata V4 model, batch processing does not work as Teiid rejects the "Accept: multipart/mixed" header. The issue has been described in > https://developer.jboss.org/message/986421#986421 > It has been stated that Olingo in general does support multipart messages and it was recommended to remove the header from the request. > https://developer.jboss.org/message/986425#986425 > Unfortunately this seems to be not easily possible when using the SAPUI5 framework. I addressed the issue in the SAPUI5 forum under the following issue: > https://github.com/SAP/openui5/issues/2288 > The result of this discussion was, that the header is valid for the send content. As I am no expert in the topic I do not really have an opinion on that. However, > https://www.w3.org/Protocols/rfc1341/7_2_Multipart.html > suggests that the header is required. So I am not sure if it is correct or an error to reject the message. However, if Olingo can process the content, it would be great to have a fix for the accept header, or alternatively a config option to enable handling of the Accept header in a way that Olingo processes these data. -- This message was sent by Atlassian Jira (v7.12.1#712002) From issues at jboss.org Wed Jan 2 08:44:00 2019 From: issues at jboss.org (Steven Hawkins (Jira)) Date: Wed, 2 Jan 2019 08:44:00 -0500 (EST) Subject: [teiid-issues] [JBoss JIRA] (TEIID-5581) No @nextlink for virtualized procedure In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/TEIID-5581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13677562#comment-13677562 ] Steven Hawkins commented on TEIID-5581: --------------------------------------- It appears that it was only an early cs draft of the spec that specified entities with server driven paging: http://docs.oasis-open.org/odata/odata/v4.0/cs01/part1-protocol/odata-v4.0-cs01-part1-protocol.html That is then echoed in microsoft and other documentation. However later revisions switched to use the more general term items: http://docs.oasis-open.org/odata/odata/v4.0/os/part1-protocol/odata-v4.0-os-part1-protocol.html#_Server-Driven_Paging http://docs.oasis-open.org/odata/odata/v4.0/errata03/os/complete/part1-protocol/odata-v4.0-errata03-os-part1-protocol-complete.html#_Server-Driven_Paging http://docs.oasis-open.org/odata/odata/v4.01/cs01/part1-protocol/odata-v4.01-cs01-part1-protocol.html#_Toc505771215 So the fix here should be to implement the next link over complex type collections as well. > No @nextlink for virtualized procedure > -------------------------------------- > > Key: TEIID-5581 > URL: https://issues.jboss.org/browse/TEIID-5581 > Project: Teiid > Issue Type: Bug > Components: OData > Affects Versions: 8.12.16.6_4 > Reporter: Colin Mondesir > Assignee: Steven Hawkins > Priority: Major > Attachments: example.xmi, procExample_Odata_Results.xml, procExample_SELECT.sql > > > If we query a table "Field" via VDB, we get the following line in XML : >