com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Unable to internalize message

Stack Overflow | Amit | 5 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

    Cannot create message: incorrect content-type for SOAP version. Got text/xml; charset=UTF-8, but expected application/soap+xml

    Stack Overflow | 5 years ago | Amit
    com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Unable to internalize message
  2. 0

    incorrect content-type for SOAP version

    Coderanch | 5 years ago | amitynwa jadhav
    com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Unable to internalize message

    Root Cause Analysis

    1. com.sun.xml.internal.messaging.saaj.soap.SOAPVersionMismatchException

      Cannot create message: incorrect content-type for SOAP version. Got: text/xml; charset=UTF-8 Expected: application/soap+xml

      at com.sun.xml.internal.messaging.saaj.soap.MessageImpl.init()
    2. Java RT
      SOAPConnectionUtil.getSOAPMessage
      1. com.sun.xml.internal.messaging.saaj.soap.MessageImpl.init(MessageImpl.java:356)
      2. com.sun.xml.internal.messaging.saaj.soap.MessageImpl.init(MessageImpl.java:475)
      3. com.sun.xml.internal.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:278)
      4. com.sun.xml.internal.messaging.saaj.soap.ver1_2.Message1_2Impl.<init>(Message1_2Impl.java:61)
      5. com.sun.xml.internal.messaging.saaj.soap.ver1_2.SOAPMessageFactory1_2Impl.createMessage(SOAPMessageFactory1_2Impl.java:62)
      6. com.sun.xml.internal.ws.util.SOAPUtil.createMessage(SOAPUtil.java:152)
      7. com.sun.xml.internal.ws.util.SOAPUtil.createMessage(SOAPUtil.java:154)
      8. com.sun.xml.internal.ws.util.SOAPConnectionUtil.getSOAPMessage(SOAPConnectionUtil.java:78)
      8 frames