-
Notifications
You must be signed in to change notification settings - Fork 38.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jaxb2XmlEncoder Support for Custom XML Media Types #26655
Milestone
Comments
spring-projects-issues
added
the
status: waiting-for-triage
An issue we've not yet triaged or decided on
label
Mar 9, 2021
rstoyanchev
added
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: bug
A general bug
and removed
status: waiting-for-triage
An issue we've not yet triaged or decided on
labels
Mar 10, 2021
I think it is just missing. By comparison, |
rstoyanchev
changed the title
Jaxb2XmlEncoder & custom xml media types
Jaxb2XmlEncoder Support for Custom XML Media Types
Mar 10, 2021
This was referenced Mar 16, 2021
This was referenced Mar 17, 2021
Closed
lxbzmy
pushed a commit
to lxbzmy/spring-framework
that referenced
this issue
Mar 26, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to use WebClient with custom media types and found that the Jaxb2XmlEncoder only supports application/xml and text/xml media. Is it possible to have it support "*+xml", and/or have a way to customize the types it supports?
Jaxb2XmlDecoder supports "*+xml" and also exposes a constructor where we can provide our own media types, but for some reason the Encoder doesn't.
Thanks for having a look.
The text was updated successfully, but these errors were encountered: