org.apache.cxf.interceptor.Fault: Response was of unexpected text/html ContentType. Incoming portion of HTML stream: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><HTML><HEAD><LINK type="text/css" rel="stylesheet" href="/springremote/statescapitalservice/?stylesheet=1"><meta http-equiv=content-type content="text/html; charset=UTF-8"><title>CXF - Service list</title></head><body>Available SOAP services:<br/><table cellpadding="1" cellspacing="1" border="1" width="100%"><tr><td>StateCapitalServiceIF<ul><li>getCapital</li></ul></td><td>Endpoint address: http://localhost:8080/springremote/statescapitalservice/statescapitalservice<br/>WSDL : http://localhost:8080/springremote/statescapitalservice/statescapitalservice?wsdl {http://server.meinremotepckg/}StateCapitalServiceService <br/>Target namespace: http://server.meinremotepckg/</td></tr></table><br/><br/></body></html>

cxf-users | xetrix | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Interceptor ... has thrown exception, unwinding now: org.apache.cxf.interceptor.Fault: Response was of unexpected text/html ContentType

    cxf-users | 7 years ago | xetrix
    org.apache.cxf.interceptor.Fault: Response was of unexpected text/html ContentType. Incoming portion of HTML stream: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><HTML><HEAD><LINK type="text/css" rel="stylesheet" href="/springremote/statescapitalservice/?stylesheet=1"><meta http-equiv=content-type content="text/html; charset=UTF-8"><title>CXF - Service list</title></head><body>Available SOAP services:<br/><table cellpadding="1" cellspacing="1" border="1" width="100%"><tr><td>StateCapitalServiceIF<ul><li>getCapital</li></ul></td><td>Endpoint address: http://localhost:8080/springremote/statescapitalservice/statescapitalservice<br/>WSDL : http://localhost:8080/springremote/statescapitalservice/statescapitalservice?wsdl {http://server.meinremotepckg/}StateCapitalServiceService <br/>Target namespace: http://server.meinremotepckg/</td></tr></table><br/><br/></body></html>
  2. 0

    Consuming a JAX-WS in a Mule ESB flow

    Stack Overflow | 4 years ago | Crypto Boss
    org.apache.cxf.interceptor.Fault: Unexpected wrapper element {http://douane.ws/}find found. Expected {http://douane.ws/}findResponse.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Unexpected wrapper element when using CXF generated client

    Stack Overflow | 4 years ago | David Nedrow
    org.apache.cxf.interceptor.Fault: Unexpected wrapper element getRecordsResponse found. Expected {http://www.service-now.com/foo}getRecordsResponse.
  5. 0

    How to troubleshoot SSL "bad record MAC" exception

    Stack Overflow | 5 years ago | Camilo Díaz Repka
    org.apache.cxf.interceptor.Fault: bad record MAC

    5 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. org.apache.cxf.interceptor.Fault

      Response was of unexpected text/html ContentType. Incoming portion of HTML stream: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><HTML><HEAD><LINK type="text/css" rel="stylesheet" href="/springremote/statescapitalservice/?stylesheet=1"><meta http-equiv=content-type content="text/html; charset=UTF-8"><title>CXF - Service list</title></head><body>Available SOAP services:<br/><table cellpadding="1" cellspacing="1" border="1" width="100%"><tr><td>StateCapitalServiceIF<ul><li>getCapital</li></ul></td><td>Endpoint address: http://localhost:8080/springremote/statescapitalservice/statescapitalservice<br/>WSDL : http://localhost:8080/springremote/statescapitalservice/statescapitalservice?wsdl {http://server.meinremotepckg/}StateCapitalServiceService <br/>Target namespace: http://server.meinremotepckg/</td></tr></table><br/><br/></body></html>

      at org.apache.cxf.interceptor.StaxInInterceptor.handleMessage()
    2. Apache CXF Core
      ClientImpl.onMessage
      1. org.apache.cxf.interceptor.StaxInInterceptor.handleMessage(StaxInInterceptor.java:77)
      2. org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:243)
      3. org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:672)
      3 frames