[teiid-issues] [JBoss JIRA] (TEIID-3471) unable to consume odata service deployed in teiid

Ramesh Reddy (JIRA) issues at jboss.org
Mon May 11 16:57:19 EDT 2015


    [ https://issues.jboss.org/browse/TEIID-3471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13067065#comment-13067065 ] 

Ramesh Reddy commented on TEIID-3471:
-------------------------------------

Resteasy library is being very strict about the "Accepts" header. The Olingo library when it defined the "$metadata" service it defined as "application/xml;charset=utf-8". Teiid when issues a $metadata call for metadata load it uses "application/xml" (omits the charset=utf-8), Resteasy while matching the requests it does not like it, it expects EXACTLY same header like "application/xml;charser=utf-8" not even "applicatoin/xml;charset=UTF-8"

I remember,  asking this RestEasy forums long time ago to loosen this restriction, but there was no any response at that time. I also believe, if omitted UTF-8 can be default, but never found in XML specification related text exactly describing the issue. 

> unable to consume odata service deployed in teiid
> -------------------------------------------------
>
>                 Key: TEIID-3471
>                 URL: https://issues.jboss.org/browse/TEIID-3471
>             Project: Teiid
>          Issue Type: Bug
>          Components: OData
>    Affects Versions: 8.7
>            Reporter: Mark Drilling
>            Assignee: Steven Hawkins
>         Attachments: deployment-exception.txt, MyVDB-vdb.xml, standalone-snippet.xml
>
>
> I am unable to consume odata service created in teiid.  
> Steps to reproduce and files are attached.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the teiid-issues mailing list