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

nabble.com | 8 months 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

    Metro - Users - Unsupported Content Type

    nabble.com | 8 months ago
    com.sun.xml.ws.server.UnsupportedMediaException: Unsupported Content-Type: application/soap+xml Supported ones are: [text/xml]

    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()
    2. JAX-WS RI Runtime Bundle
      WSHttpHandler.handle
      1. com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:291)
      2. com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:128)
      3. com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:287)
      4. com.sun.xml.ws.transport.http.HttpAdapter.decodePacket(HttpAdapter.java:276)
      5. com.sun.xml.ws.transport.http.HttpAdapter.access$500(HttpAdapter.java:93)
      6. com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:432)
      7. com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244)
      8. com.sun.xml.ws.transport.http.server.WSHttpHandler.handleExchange(WSHttpHandler.java:106)
      9. com.sun.xml.ws.transport.http.server.WSHttpHandler.handle(WSHttpHandler.java:91)
      9 frames
    3. Java RT
      Thread.run
      1. com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:65)
      2. sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:65)
      3. com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:68)
      4. sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:552)
      5. com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:65)
      6. sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:524)
      7. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
      8. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
      9. java.lang.Thread.run(Thread.java:619)
      9 frames