[
https://issues.jboss.org/browse/TEIIDDES-2055?page=com.atlassian.jira.plu...
]
Ted Jones edited comment on TEIIDDES-2055 at 2/17/14 4:49 PM:
--------------------------------------------------------------
This is due to TeiidXmlImportSourcePage hard-coding the Content-Type on the HttpConnection
to application/xml. The generated REST service sets the charset and so the 406 is thrown.
Changing TeiidXmlImportSourcePage to use Content-Type=application/xml;charset=MacRoman (in
my case) fixes this. This will be an issue for any REST service that specifies anything
other than application/xml. We should allow the user to override the HTTP Headers in the
importer.
was (Author: tejones):
This is due to TeiidXmlImportSourcePage hard-coding the Content-Type on the
HttpConnection to application/xml. The generated REST service sets the charset and so the
406 is thrown. Changing TeiidXmlImportSourcePage to use
Content-Type=application/xml;charset=MacRoman (in my case) fixes this. This will be an
issue for any REST service that specifies We should allow the user to override the HTTP
Headers in the importer.
HTTP 406 Importing Generated REST Service as Source
---------------------------------------------------
Key: TEIIDDES-2055
URL:
https://issues.jboss.org/browse/TEIIDDES-2055
Project: Teiid Designer
Issue Type: Bug
Components: Web Services Support
Affects Versions: 8.3.1
Reporter: Ted Jones
Assignee: Ted Jones
Fix For: 8.4, 8.3.2
I generated a REST service from Designer and then tried to use as a source. I received a
406 (Not acceptable) error.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira