org.mule.transport.http.components.RestServiceException: Failed to invoke REST service "http://localhost:8081/StockQuotesExample". Message payload is of type: String

MuleSoft JIRA | kishore kishore | 5 years ago
  1. 0

    I am getting the below error when i try to invoke a Rest full webservice. ERROR 2012-04-25 19:00:25,093 [connector.http.mule.default.receiver.02] org.mule.exception.DefaultMessagingExceptionStrategy: ******************************************************************************** Message : Failed to invoke REST service "http://localhost:8081/StockQuotesExample". Message payload is of type: String Code : MULE_ERROR--2 -------------------------------------------------------------------------------- Exception stack is: 1. Failed to invoke REST service "http://localhost:8081/StockQuotesExample". Message payload is of type: String (org.mule.transport.http.components.RestServiceException) org.mule.transport.http.components.RestServiceWrapper:216 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/transport/http/components/RestServiceException.html) -------------------------------------------------------------------------------- Root Exception stack trace: org.mule.transport.http.components.RestServiceException: Failed to invoke REST service "http://localhost:8081/StockQuotesExample". Message payload is of type: String at org.mule.transport.http.components.RestServiceWrapper.doInvoke(RestServiceWrapper.java:216) at org.mule.component.AbstractComponent.invokeInternal(AbstractComponent.java:126) at org.mule.component.AbstractComponent.access$000(AbstractComponent.java:61) + 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything) ********************************************************************************

    MuleSoft JIRA | 5 years ago | kishore kishore
    org.mule.transport.http.components.RestServiceException: Failed to invoke REST service "http://localhost:8081/StockQuotesExample". Message payload is of type: String
  2. 0

    I am getting the below error when i try to invoke a Rest full webservice. ERROR 2012-04-25 19:00:25,093 [connector.http.mule.default.receiver.02] org.mule.exception.DefaultMessagingExceptionStrategy: ******************************************************************************** Message : Failed to invoke REST service "http://localhost:8081/StockQuotesExample". Message payload is of type: String Code : MULE_ERROR--2 -------------------------------------------------------------------------------- Exception stack is: 1. Failed to invoke REST service "http://localhost:8081/StockQuotesExample". Message payload is of type: String (org.mule.transport.http.components.RestServiceException) org.mule.transport.http.components.RestServiceWrapper:216 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/transport/http/components/RestServiceException.html) -------------------------------------------------------------------------------- Root Exception stack trace: org.mule.transport.http.components.RestServiceException: Failed to invoke REST service "http://localhost:8081/StockQuotesExample". Message payload is of type: String at org.mule.transport.http.components.RestServiceWrapper.doInvoke(RestServiceWrapper.java:216) at org.mule.component.AbstractComponent.invokeInternal(AbstractComponent.java:126) at org.mule.component.AbstractComponent.access$000(AbstractComponent.java:61) + 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything) ********************************************************************************

    MuleSoft JIRA | 5 years ago | kishore kishore
    org.mule.transport.http.components.RestServiceException: Failed to invoke REST service "http://localhost:8081/StockQuotesExample". Message payload is of type: String
  3. 0

    Mule file download with HTTP Endpoint

    Stack Overflow | 4 years ago | Thaneofife
    org.mule.transport.http.components.RestServiceException: Failed to invoke REST service "http://santaclaraca.gov/modules/ShowDocument.aspx?documentid=108?followRedirects=true". Mess age payload is of type: LinkedHashMap
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.mule.transport.http.components.RestServiceException

      Failed to invoke REST service "http://localhost:8081/StockQuotesExample". Message payload is of type: String

      at org.mule.transport.http.components.RestServiceWrapper.doInvoke()
    2. HTTP Transport
      RestServiceWrapper.doInvoke
      1. org.mule.transport.http.components.RestServiceWrapper.doInvoke(RestServiceWrapper.java:216)
      1 frame
    3. Mule Core
      AbstractComponent.access$000
      1. org.mule.component.AbstractComponent.invokeInternal(AbstractComponent.java:126)
      2. org.mule.component.AbstractComponent.access$000(AbstractComponent.java:61)
      2 frames