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 807567, 1 year ago
Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?
via Oracle Community by 843834, 1 year ago
Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?
via Oracle Community by 843834, 1 year ago
Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?
via Oracle Community by 843834, 1 year ago
Invalid Content-Type:text/html. Is this an error message instead of a SOAP respons e? [java]
via Oracle Community by 843834, 1 year ago
Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?
via scalix.com by Unknown author, 1 year ago
Invalid Content-Type:text/plain. 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 com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(MessageImpl.java:296)
at com.sun.xml.messaging.saaj.soap.MessageImpl.(MessageImpl.java:146)
at com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.(Message1_1Impl.java:43)
at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.createMessage(SOAPMessageFactory1_1Impl.java:32)
at com.sun.xml.rpc.client.http.HttpClientTransport.readResponse(HttpClientTransport.java:222)
at com.sun.xml.rpc.client.http.HttpClientTransport.invoke(HttpClientTransport.java:109)
at staticstub.GetPeopleIF_Stub.getPeople(GetPeopleIF_Stub.java:70)
at soap.TestClient.main(TestClient.java:18)

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.