org.mule.umo.provider.DispatchException

Failed to route event via endpoint: MuleEndpoint{connector=org.mule.providers.soap.xfire.XFireConnector@40ece0, endpointUri=http://localhost:82/ListOrders?method=query, transformer=null, name='_endpoint.http.localhost.82.ListOrders.method-query', type='sender', properties={method=query}, transactionConfig=Transaction{factory=null, action=NONE, timeout=30000}, filter=null, deleteUnacceptedMessages=false, initialised=false, securityFilter=null, synchronous=null, initialState=started, createConnector=0, remoteSync=null, remoteSyncTimeout=10000, endpointEncoding=null}. Message payload is of type: java.lang.String

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web43

  • via Unknown by Marie Claire Rizzo,
  • via Unknown by Marie Claire Rizzo,
  • via Stack Overflow by Alper
    ,
  • Stack trace

    • org.mule.umo.provider.DispatchException: Failed to route event via endpoint: MuleEndpoint{connector=org.mule.providers.soap.xfire.XFireConnector@40ece0, endpointUri=http://localhost:82/ListOrders?method=query, transformer=null, name='_endpoint.http.localhost.82.ListOrders.method-query', type='sender', properties={method=query}, transactionConfig=Transaction{factory=null, action=NONE, timeout=30000}, filter=null, deleteUnacceptedMessages=false, initialised=false, securityFilter=null, synchronous=null, initialState=started, createConnector=0, remoteSync=null, remoteSyncTimeout=10000, endpointEncoding=null}. Message payload is of type: java.lang.String at org.mule.providers.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:217) at org.mule.impl.MuleSession.sendEvent(MuleSession.java:336) at org.mule.extras.client.MuleClient.send(MuleClient.java:738) at org.mule.extras.client.MuleClient.send(MuleClient.java:715) at org.mule.extras.client.MuleClient.send(MuleClient.java:668) at com.mulesource.webservices.tests.WebServiceTestCase.testSendRequestToWebService(WebServiceTestCase.java:10) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) Caused by: org.codehaus.xfire.fault.XFireFault: Illegal to have multiple roots (start tag in epilog?). at [row,col {unknown-source}]: [3,2] at org.codehaus.xfire.fault.XFireFault.createFault(XFireFault.java:89) at org.codehaus.xfire.client.Client.onReceive(Client.java:386) at org.mule.providers.soap.xfire.transport.MuleUniversalChannel.sendViaClient(MuleUniversalChannel.java:317) at org.mule.providers.soap.xfire.transport.MuleUniversalChannel.send(MuleUniversalChannel.java:136) at org.codehaus.xfire.handler.OutMessageSender.invoke(OutMessageSender.java:26) at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131) at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:75) at org.codehaus.xfire.client.Client.invoke(Client.java:335) at org.codehaus.xfire.client.Client.invoke(Client.java:349) at org.mule.providers.soap.xfire.XFireMessageDispatcher.doSend(XFireMessageDispatcher.java:160) at org.mule.providers.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:198) ... 23 more Caused by: com.ctc.wstx.exc.WstxParsingException: Illegal to have multiple roots (start tag in epilog?). at [row,col {unknown-source}]: [3,2] at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:451) at com.ctc.wstx.sr.BasicStreamReader.handleExtraRoot(BasicStreamReader.java:2042) at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:1957) at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1056) at org.codehaus.xfire.soap.handler.ReadHeadersHandler.invoke(ReadHeadersHandler.java:44) at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131) at org.codehaus.xfire.client.Client.onReceive(Client.java:382) ... 32 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    balintnbalintn
    Once,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitor2 times, last one
    Unknown visitor
    Unknown visitorOnce,
    1 more bugmates