com.sun.xml.ws.server.UnsupportedMediaException: Unsupported Content-Type: text/plain; charset=iso-8859-1 Supported ones are: [text/xml]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 392 Guest, 1 year ago
Unsupported Content-Type: text/plain; charset=iso-8859-1 Supported ones are: [text/xml]
via nabble.com by Unknown author, 1 year ago
Unsupported Content-Type: text/plain; charset=iso-8859-1 Supported ones are: [text/xml]
via Oracle Community by 843833, 1 year ago
Unsupported Content-Type: text/html;charset=utf-8 Supported ones are: [text/xml]
via java.net by Unknown author, 2 years ago
Unsupported Content-Type: text/html Supported ones are: [text/xml]
via Oracle Community by 843833, 1 year ago
Unsupported Content-Type: text/html Supported ones are: [text/xml]
via Oracle Community by jong2012, 1 year ago
Unsupported Content-Type: application/soap+xml Supported ones are: [text/xml]
com.sun.xml.ws.server.UnsupportedMediaException: Unsupported Content-Type: text/plain; charset=iso-8859-1 Supported ones are: [text/xml]
at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:116)
at com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:280)
at com.sun.enterprise.webservice.ClientSecurityPipe.processSecureRequest(ClientSecurityPipe.java:159)
at com.sun.enterprise.webservice.ClientSecurityPipe.process(ClientSecurityPipe.java:147)
at com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:79)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:559)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:518)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:503)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:400)
at com.sun.xml.ws.client.Stub.process(Stub.java:235)
at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:120)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:230)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:210)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 9 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.