com.sun.xml.ws.server.UnsupportedMediaException: Unsupported >> Content-Type: application/soap+xml Supported ones are: [text/xml] >> at >> com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:295) >> at >> com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:129) >> at >> com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:360) >> >> at >> com.sun.xml.ws.transport.http.HttpAdapter.decodePacket(HttpAdapter.java:318) >> >> at >> com.sun.xml.ws.transport.http.HttpAdapter.access$500(HttpAdapter.java:92) >> >> at >> com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:501) >> >> at >> com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:285) >> at >> com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:143) >> >> at >> com.sun.enterprise.webservice.JAXWSServlet.doPost(JAXWSServlet.java:176) >>

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: application/soap+xml Supported ones are: [text/xml] >> at >> com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:295) >> at >> com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:129
com.sun.xml.ws.server.UnsupportedMediaException: Unsupported >> Content-Type: application/soap+xml Supported ones are: [text/xml] >> at >> com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:295) >> at >> com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:129) >> at >> com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:360) >> >> at >> com.sun.xml.ws.transport.http.HttpAdapter.decodePacket(HttpAdapter.java:318) >> >> at >> com.sun.xml.ws.transport.http.HttpAdapter.access$500(HttpAdapter.java:92) >> >> at >> com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:501) >> >> at >> com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:285) >> at >> com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:143) >> >> at >> com.sun.enterprise.webservice.JAXWSServlet.doPost(JAXWSServlet.java:176) >>
at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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