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) >>

Oracle Community | 392 Guest | 8 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    com.sun.xml.ws.server.UnsupportedMediaException: Unsupported Content-Type: text/html Supported ones are: [text/xml]

    Oracle Community | 8 years ago | 392 Guest
    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) >>

    Root Cause Analysis

    1. 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()
    2. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
      1 frame