Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Jersey » atom+xml request type support with Jersey 2.35 (Jeresey 2.35 is not able to tunderstand atom+xml type of requests)
atom+xml request type support with Jersey 2.35 [message #1847081] Thu, 14 October 2021 06:44
pradeep reguri is currently offline pradeep reguriFriend
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.
Previous Topic:Jersey/Jetty API Handler/Container re-sends the GET request every 1 min
Goto Forum:
  


Current Time: Thu Jun 30 19:14:36 GMT 2022

Powered by FUDForum. Page generated in 0.02322 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top