javax.xml.soap.SOAPException: Invalid Content-Type:text/html

hivmr.com | 4 months ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Basic JAXM Example

    Oracle Community | 1 decade ago | 843834
    javax.xml.soap.SOAPException: Invalid Content-Type:text/html

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.xml.soap.SOAPException

      Invalid Content-Type:text/html

      at com.sun.xml.messaging.saaj.soap.MessageImpl.verify()
    2. Metro Web Services Runtime OSGi Bundle
      HttpSOAPConnection$PriviledgedPost.run
      1. com.sun.xml.messaging.saaj.soap.MessageImpl.verify(MessageImpl.java:159)
      2. com.sun.xml.messaging.saaj.soap.MessageImpl.init(MessageImpl.java:91)
      3. com.sun.xml.messaging.saaj.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:32)
      4. com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:333)
      5. com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:142)
      5 frames
    3. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    4. Metro Web Services Runtime OSGi Bundle
      HttpSOAPConnection.call
      1. com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:115)
      1 frame
    5. Unknown
      JAXMClient.main
      1. JAXMClient.main(JAXMClient.java:100)
      1 frame