com.ctc.wstx.exc.WstxParsingException: Unexpected '<' in attribute value  at [row,col {unknown-source}]: [2,2]

mulesoft.org | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [MULE-7372] Can't process the response of a Web Service with more than one part - JIRA

    mulesoft.org | 7 months ago
    com.ctc.wstx.exc.WstxParsingException: Unexpected '<' in attribute value  at [row,col {unknown-source}]: [2,2]
  2. 0

    JAX-WS how to intercept HTTP string before it gets unmarshalled

    Stack Overflow | 2 years ago
    com.ctc.wstx.exc.WstxParsingException: Illegal character entity: expansion character (code 0x1b at [row,col {unknown-source}]: [1,891]
  3. 0

    namespace and entity resolving

    Google Groups | 3 years ago | George Karakatsiotis
    com.ctc.wstx.exc.WstxParsingException: Undeclared general entity "dollar" at [row,col {unknown-source}]: [10,24] at com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamScanner.java:606)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Integration tests for XLIFF files

    Google Groups | 2 months ago | Yves Savourel
    net.sf.okapi.common.exceptions.OkapiBadFilterInputException: Failed to parse XLIFF for ITS annotations Unexpected close tag </mrk>; expected </g>. at [row,col,system-id]: [78,220,"file:/home/jimh/Code/Okapi/okapi-integration-tests/target/test-classes/xliff/sdlxliff/home15985.sdlxliff.tkitMerged"]
  6. 0

    In my set-up, the Web Service will pass on a string containing the client code from clients to the Generic Service. This will use the data to query a database and return a result in XML format (using the ObjectToXML transformer). The XML will be passed back to the web service which may convert it into a custom format. To do this, I'm using the XsltTransformer. I tried the same set up with both axis and xfire, but whereas it succeeds on Axis, with the correct data being returned to the client, it fails on Xfire, giving the following error. 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 This is thrown after that the message is transformed by the XsltTransformer.

    MuleSoft JIRA | 1 decade ago | Marie Claire Rizzo
    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

    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. com.ctc.wstx.exc.WstxParsingException

      Unexpected '<' in attribute value  at [row,col {unknown-source}]: [2,2]

      at com.ctc.wstx.sr.StreamScanner.constructWfcException()
    2. Woodstox
      StreamScanner.throwParseError
      1. com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamScanner.java:606)
      2. com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:479)
      3. com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:464)
      3 frames