java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 843833, 1 year ago
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?
via Coderanch by Tom Davis Sr, 1 year ago
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
via Google Groups by Dirk Schwarzmann, 4 months ago
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to parse content type: null
via oracle.com by Unknown author, 1 year ago
com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Error during saving a multipart message 08:46:08,390 ERROR [STDERR]      at java.security.AccessController.doPrivileged(Native Method)
via Oracle Community by 843833, 1 year ago
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
via Oracle Community by 745856, 6 months ago
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Bad response: (400Bad Request
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?
at com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(MessageImpl.java:581)
at com.sun.xml.messaging.saaj.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:70)
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:374)
at undefined.SendSOAPMessage.sendMessage(SendSOAPMessage.java:84)
at undefined.SendSOAPMessage.main(SendSOAPMessage.java:119)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.