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

Stack Overflow | Newb | 2 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    How to fix Invalid Content-Type:text/html in SOAP client using Java

    Stack Overflow | 2 months ago | Newb
    com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?
  2. 0

    Calling W3C's Validator SOAP Service Using Java

    Stack Overflow | 3 years ago | kirbycope
    com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?
  3. 0

    SOAP webservice connection through SSL

    Stack Overflow | 4 months ago | Shane
    com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    "SAAJ0537: Invalid Content-Type" Exception

    Oracle Community | 3 years ago | 866bc5a0-f68d-48ea-824b-a3a169aa031e
    com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?

  1. treefolk 18 times, last 3 months ago
19 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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()
  2. Java RT
    HttpSOAPConnection.call
    1. com.sun.xml.internal.messaging.saaj.soap.MessageImpl.identifyContentType(MessageImpl.java:602)
    2. com.sun.xml.internal.messaging.saaj.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:86)
    3. com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:328)
    4. com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:144)
    4 frames
  3. com.hpe.snow
    Main2.main
    1. com.hpe.snow.utils.snowwstester.Main2.main(Main2.java:109)
    1 frame