java.io.IOException: Wrong content type 'text/plain; charset=UTF-8'. It must be 'text/xml' or 'multipart/related'

MuleSoft JIRA | Yashwanth Gardas | 8 years ago
  1. 0

    The following is the error i get: Enter your name: test INFO 2008-08-06 13:12:44,414 [connector.stream.0.receiver.1] org.mule.providers.http.HttpClientMessageDispatcher: Connected: HttpClientMessageDispatcher{this=1bb326c, endpoint=http://10.48.186.232:7001/cs4/HelloWS?WSDL&method=hello} INFO 2008-08-06 13:12:44,523 [connector.stream.0.dispatcher.1] org.mule.providers.stream.StreamMessageDispatcher: Connected: StreamMessageDispatcher{this=189635d, endpoint=stream://System.out} <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header/><soapenv:Body> <soapenv:Faultxmlns:fault="soapenv"><faultcode>fault:VersionMismatch</faultcode><faultstring> Unable to parse the incoming request</faultstring><detail><bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0"/> java.io.IOException: Wrong content type 'text/plain; charset=UTF-8'. It must be 'text/xml' or 'multipart/related' at weblogic.wsee.connection.soap.SoapConnection.checkContentType(SoapConnection.java:168) at weblogic.wsee.connection.soap.SoapConnection.receive(SoapConnection.java:82) at weblogic.wsee.ws.dispatch.server.ConnectionHandler.handleRequest(ConnectionHandler.java:241) at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:127) at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:85) at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80) at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66) at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44) at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:165) at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:84) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3214) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1983) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1890) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1344) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:181) </detail></soapenv:Fault></soapenv:Body></soapenv:Envelope> Enter your name: Please provide me certain solution. Many Thanks

    MuleSoft JIRA | 8 years ago | Yashwanth Gardas
    java.io.IOException: Wrong content type 'text/plain; charset=UTF-8'. It must be 'text/xml' or 'multipart/related'
  2. 0

    The following is the error i get: Enter your name: test INFO 2008-08-06 13:12:44,414 [connector.stream.0.receiver.1] org.mule.providers.http.HttpClientMessageDispatcher: Connected: HttpClientMessageDispatcher{this=1bb326c, endpoint=http://10.48.186.232:7001/cs4/HelloWS?WSDL&method=hello} INFO 2008-08-06 13:12:44,523 [connector.stream.0.dispatcher.1] org.mule.providers.stream.StreamMessageDispatcher: Connected: StreamMessageDispatcher{this=189635d, endpoint=stream://System.out} <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header/><soapenv:Body> <soapenv:Faultxmlns:fault="soapenv"><faultcode>fault:VersionMismatch</faultcode><faultstring> Unable to parse the incoming request</faultstring><detail><bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0"/> java.io.IOException: Wrong content type 'text/plain; charset=UTF-8'. It must be 'text/xml' or 'multipart/related' at weblogic.wsee.connection.soap.SoapConnection.checkContentType(SoapConnection.java:168) at weblogic.wsee.connection.soap.SoapConnection.receive(SoapConnection.java:82) at weblogic.wsee.ws.dispatch.server.ConnectionHandler.handleRequest(ConnectionHandler.java:241) at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:127) at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:85) at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80) at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66) at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44) at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:165) at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:84) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3214) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1983) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1890) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1344) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:181) </detail></soapenv:Fault></soapenv:Body></soapenv:Envelope> Enter your name: Please provide me certain solution. Many Thanks

    MuleSoft JIRA | 8 years ago | Yashwanth Gardas
    java.io.IOException: Wrong content type 'text/plain; charset=UTF-8'. It must be 'text/xml' or 'multipart/related'
  3. 0

    weblogic 10.3 webservice Wrong content type application/x-www-form-urlencoded

    Stack Overflow | 2 years ago
    java.io.IOException: Wrong content type 'application/x-www-form-urlencoded'. It must be 'application/soap+xml', 'false', multipart/related' or 'application/xop+xml'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Proxy Plugin / Web Servers « WebLogic

    middlewaremagic.com | 4 months ago
    weblogic.wsee.handler.InvocationException: Failed to receive message java.io.IOException: The server at returned a 500 error code (Internal Server Error). Please ensure that your URL is correct, and the web service has deployed.
  6. 0

    Exceptions problems from WS on WLS 10.0MP2 to my Client

    Oracle Community | 6 years ago | mgaldames
    java.io.IOException: The server at http://localhost:7001/activacion/ActivacionWebServices returned a 500 error code (Internal Server Error). Please ensure that your URL is correct, and the web service has deployed.

    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. java.io.IOException

      Wrong content type 'text/plain; charset=UTF-8'. It must be 'text/xml' or 'multipart/related'

      at weblogic.wsee.connection.soap.SoapConnection.checkContentType()
    2. weblogic.wsee.connection
      SoapConnection.receive
      1. weblogic.wsee.connection.soap.SoapConnection.checkContentType(SoapConnection.java:168)
      2. weblogic.wsee.connection.soap.SoapConnection.receive(SoapConnection.java:82)
      2 frames
    3. weblogic.wsee.ws
      ConnectionHandler.handleRequest
      1. weblogic.wsee.ws.dispatch.server.ConnectionHandler.handleRequest(ConnectionHandler.java:241)
      1 frame
    4. weblogic.wsee.handler
      HandlerIterator.handleRequest
      1. weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:127)
      1 frame
    5. weblogic.wsee.ws
      WsSkel.invoke
      1. weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:85)
      2. weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
      2 frames
    6. weblogic.wsee.server
      BaseWSServlet.service
      1. weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
      2. weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
      3. weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:165)
      4. weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:84)
      4 frames
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      1 frame
    8. Atmosphere weblogic
      WebAppServletContext$ServletInvocationAction.run
      1. weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
      2. weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
      3. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
      4. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
      5. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3214)
      5 frames
    9. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      1 frame
    10. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      1 frame
    11. Atmosphere weblogic
      ServletRequestImpl.run
      1. weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1983)
      2. weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1890)
      3. weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1344)
      3 frames
    12. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      2. weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
      2 frames