[JBoss JIRA] (TEIIDSB-134) OData 2 source fails with default headers
by Tomohiro Kamata (Jira)
[ https://issues.jboss.org/browse/TEIIDSB-134?page=com.atlassian.jira.plugi... ]
Tomohiro Kamata updated TEIIDSB-134:
------------------------------------
Description:
The translator sets the content type by default: https://github.com/teiid/teiid/blob/06b9828a3fd6dafa358ff93f0a4803e69a3bf...
This seems to be handled differently by CXF and spring webservice sources. A user is reporting that a simple request (without a payload) succeeds with CXF, but fails with spring.
the translator throw org.springframework.web.client.HttpClientErrorException$UnsupportedMediaType: 415 Unsupported Media Type by executing Query, for example "Select * from categories", by jdbc client such as SQuirrel.
was:
The translator sets the content type by default: https://github.com/teiid/teiid/blob/06b9828a3fd6dafa358ff93f0a4803e69a3bf...
This seems to be handled differently by CXF and spring webservice sources. A user is reporting that a simple request (without a payload) succeeds with CXF, but fails with spring.
You execute A Query, for example "Select * from categories", by jdbc client such as SQuirrel, then the translator throw org.springframework.web.client.HttpClientErrorException$UnsupportedMediaType: 415 Unsupported Media Type.
> OData 2 source fails with default headers
> -----------------------------------------
>
> Key: TEIIDSB-134
> URL: https://issues.jboss.org/browse/TEIIDSB-134
> Project: Teiid Spring Boot
> Issue Type: Bug
> Components: core, OData
> Affects Versions: 1.2.0
> Reporter: Steven Hawkins
> Priority: Major
> Fix For: 1.3.0
>
> Attachments: example-odata.zip
>
>
> The translator sets the content type by default: https://github.com/teiid/teiid/blob/06b9828a3fd6dafa358ff93f0a4803e69a3bf...
> This seems to be handled differently by CXF and spring webservice sources. A user is reporting that a simple request (without a payload) succeeds with CXF, but fails with spring.
> the translator throw org.springframework.web.client.HttpClientErrorException$UnsupportedMediaType: 415 Unsupported Media Type by executing Query, for example "Select * from categories", by jdbc client such as SQuirrel.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 2 months
[JBoss JIRA] (TEIIDSB-134) OData 2 source fails with default headers
by Tomohiro Kamata (Jira)
[ https://issues.jboss.org/browse/TEIIDSB-134?page=com.atlassian.jira.plugi... ]
Tomohiro Kamata updated TEIIDSB-134:
------------------------------------
Description:
The translator sets the content type by default: https://github.com/teiid/teiid/blob/06b9828a3fd6dafa358ff93f0a4803e69a3bf...
This seems to be handled differently by CXF and spring webservice sources. A user is reporting that a simple request (without a payload) succeeds with CXF, but fails with spring.
You execute A Query, for example "Select * from categories", by jdbc client such as SQuirrel, then the translator throw org.springframework.web.client.HttpClientErrorException$UnsupportedMediaType: 415 Unsupported Media Type.
was:
The translator sets the content type by default: https://github.com/teiid/teiid/blob/06b9828a3fd6dafa358ff93f0a4803e69a3bf...
This seems to be handled differently by CXF and spring webservice sources. A user is reporting that a simple request (without a payload) succeeds with CXF, but fails with spring.
> OData 2 source fails with default headers
> -----------------------------------------
>
> Key: TEIIDSB-134
> URL: https://issues.jboss.org/browse/TEIIDSB-134
> Project: Teiid Spring Boot
> Issue Type: Bug
> Components: core, OData
> Affects Versions: 1.2.0
> Reporter: Steven Hawkins
> Priority: Major
> Fix For: 1.3.0
>
> Attachments: example-odata.zip
>
>
> The translator sets the content type by default: https://github.com/teiid/teiid/blob/06b9828a3fd6dafa358ff93f0a4803e69a3bf...
> This seems to be handled differently by CXF and spring webservice sources. A user is reporting that a simple request (without a payload) succeeds with CXF, but fails with spring.
> You execute A Query, for example "Select * from categories", by jdbc client such as SQuirrel, then the translator throw org.springframework.web.client.HttpClientErrorException$UnsupportedMediaType: 415 Unsupported Media Type.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 2 months