atom+xml request type support with Jersey 2.35 [message #1847081] |
Thu, 14 October 2021 06:44 |
pradeep reguri![Friend of Eclipse Friend](png/friends_decorator0bf2.png) Messages: 1 Registered: October 2021 |
Junior Member |
|
|
we recently upgraded Jersey from 1.19.4 to 2.35 version. For the requests of type atom+xml (with Content-Type:application/atom+xml, Accept:application/atom+xml) , Jersey 2.35 is throwing the following error.
"HTTP Status 415 Unsupported Media Type. The origin server is refusing to service the request because the payload is in a format not supported by this method on the target resource."
with Jersey 1.19.4 version of jars, we used jersey-atom-abdera-1.19.4.jar and its dependencies (abdera-core-1.1.3.jar, abdera-parser-1.1.3.jar). and the use cases (where the request type is atom+xml) were working fine. Now after upgrading Jersey tp 2.35 we are using same set of abdera jars as we don't see any latest version of jersey-atom-abdera. Also there is no mention of atom/abdera related support in Jersey 2.35 documentation unlike Jersey 1.19.4 documentation where it clearly mentioned about atom support.
can some one hep us in resolving this issue. does jersey-atom-abdera-1.19.4.jar still work fine with Jersey 2.35 or not? is it is not supported, what is the alternate to use with 2.35? if it supports then am i missing few more required jars which are introduced in 2.35 related to atom media.
|
|
|
Powered by
FUDForum. Page generated in 0.01446 seconds