com.sun.xml.internal.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 Stack Overflow by Vlad V
, 6 months ago
Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?
via Stack Overflow by Shane
, 11 months ago
Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?
via Stack Overflow by Plex Lex
, 2 years ago
Invalid Content- Type:application/xml. Is this an error message instead of a SOAP response?
via Stack Overflow by Wacław Borowiec
, 2 years ago
Invalid Content-Type:application/xml. Is this an error message instead of a SOAP response?
via java-forum.org by Unknown author, 1 year ago
Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?
via scriptscoop.com by Unknown author, 2 years ago
Invalid Content- Type:application/xml. Is this an error message instead of a SOAP response?
com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?
at com.sun.xml.internal.messaging.saaj.soap.MessageImpl.identifyContentType(MessageImpl.java:602)
at com.sun.xml.internal.messaging.saaj.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:86)
at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:328)
at com.hpe.snow.utils.snowwstester.Main2.main(Main2.java:109)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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