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>

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via cxf-users by xetrix, 1 year ago
="/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
via mulesoft.com by Unknown author, 1 year ago
Response was of unexpected text/html ContentType. Incoming portion of HTML stream: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd"> <HTML><HEAD><TITLE>Bad Request</TITLE> <META HTTP-EQUIV="Content-Type
via Stack Overflow by urbanusjam
, 2 years ago
Response was of unexpected text/html ContentType. Incoming portion of HTML stream: &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt
via Google Groups by renga nathan, 5 months ago
Response was of unexpected text/html ContentTy pe. Incoming portion of HTML stream: <h1>Length Required</h1>
via Coderanch by Oscar G. Rodriguez, 11 months ago
Response was of unexpected text/html ContentType. Incoming portion of HTML stream: <html><head><title>Apache Tomcat/7.0.42 - Informe de Error</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size
via atlassian.com by Unknown author, 1 year ago
Response was of unexpected text/html ContentType. Incoming portion of HTML stream: <html><head><title>Object moved</title></head><body> <h2>Object moved to <a href="https://internalcommunities.amadeus.com/sites/dev-sep-psp/oau/_layouts/1033
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(StaxInInterceptor.java:77)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:243)

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, 2 years ago

Write tip

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