Web service client getting "javax.xml.soap.SOAPException: Unsupported content type: text/html"

Solution Unverified - Updated -

Issue

  • Web service client invocation/call is giving the following error:
javax.xml.soap.SOAPException: Unsupported content type: text/html
        at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:272)
        at org.jboss.ws.core.soap.SOAPMessageUnMarshallerHTTP.read(SOAPMessageUnMarshallerHTTP.java:82)
        at org.jboss.remoting.transport.http.HTTPClientInvoker.readResponse(HTTPClientInvoker.java:608)

Environment

  • JBoss Enterprise Web Platform 5
  • JBoss Enterprise Application Platform
    • 5
    • 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.