javax.xml.soap.SOAPException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Using JAXM
    via by Unknown author,
  • jaxm provider
    via by 843834,
  • Basic JAXM Example
    via by 843834,
    • javax.xml.soap.SOAPException: Unable to internalize message at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:135) at com.sun.xml.messaging.saaj.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:32) at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:333) at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:142) at java.security.AccessController.doPrivileged(Native Method) at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:115) at mypackage3.ClientMessage.sendMessage(ClientMessage.java:79) at mypackage3.ClientMessage.addMessageContent(ClientMessage.java:68) at mypackage3.ClientMessage.createMessage(ClientMessage.java:37) at mypackage3.ClientMessage.main(ClientMessage.java:150) Caused by: javax.xml.soap.SOAPException: Invalid Content-Type:text/html at com.sun.xml.messaging.saaj.soap.MessageImpl.verify(MessageImpl.java:159) at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:91) ... 9 more
    No Bugmate found.