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

Oracle Community | jong2012 | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Netbeans STS problem

    Oracle Community | 4 years ago | jong2012
    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
      HttpAdapter.decodePacket
      1. com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:130)
      2. com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:294)
      3. com.sun.xml.ws.transport.http.HttpAdapter.decodePacket(HttpAdapter.java:276)
      3 frames