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
Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?
at tcom.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(MessageImpl.java:258)
at tcom.sun.xml.messaging.saaj.soap.MessageImpl.(MessageImpl.java:127)
at tcom.sun.xml.messaging.saaj.soap.ver1_2.Message1_2Impl.(Message1_2Impl.java:36)
at tcom.sun.xml.messaging.saaj.soap.ver1_2.SOAPMessageFactory1_2Impl.createMessage(SOAPMessageFactory1_2Impl.java:32)
at tcom.sun.xml.rpc.client.http.HttpClientTransport.readResponse(HttpClientTransport.java:158)
at tcom.sun.xml.rpc.client.http.HttpClientTransport.invoke(HttpClientTransport.java:75)
at tcom.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:69)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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