java.lang.AssertionError: Messages are different, org.custommonkey.xmlunit.Diff [different] Expected namespace URI 'http://schemas.xmlsoap.org/soap/envelope/' but was 'urn:org:samples:spring:ws:schemas:kalkulacka' - comparing <soapenv:Envelope...> at /Envelope[1] to <ns2:kalkulackaRequest...> at /kalkulackaRequest[1]

Spring JIRA | Tomas Hudec | 6 years ago
  1. 0

    expected and request XML are in attachment java.lang.AssertionError: Messages are different, org.custommonkey.xmlunit.Diff [different] Expected namespace URI 'http://schemas.xmlsoap.org/soap/envelope/' but was 'urn:org:samples:spring:ws:schemas:kalkulacka' - comparing <soapenv:Envelope...> at /Envelope[1] to <ns2:kalkulackaRequest...> at /kalkulackaRequest[1] at org.springframework.ws.mock.client.Assert.fail(Assert.java:34) at org.springframework.ws.mock.client.Assert.assertTrue(Assert.java:45) at org.springframework.ws.mock.client.DiffMatcher.match(DiffMatcher.java:47) at org.springframework.ws.mock.client.MockSenderConnection.send(MockSenderConnection.java:81) at org.springframework.ws.client.core.WebServiceTemplate.sendRequest(WebServiceTemplate.java:549) at org.springframework.ws.client.core.WebServiceTemplate.doSendAndReceive(WebServiceTemplate.java:512) at org.springframework.ws.client.core.WebServiceTemplate.sendAndReceive(WebServiceTemplate.java:465) at org.springframework.ws.client.core.WebServiceTemplate.marshalSendAndReceive(WebServiceTemplate.java:314) at org.springframework.ws.client.core.WebServiceTemplate.marshalSendAndReceive(WebServiceTemplate.java:304) at org.samples.spring.ws.KalkulackaKlient.operace(KalkulackaKlient.java:49) at org.samples.spring.ws.KalkulackaKlientTest1.testCall1(KalkulackaKlientTest1.java:90) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:240) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:44) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41) at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner.run(ParentRunner.java:220) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:180) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)

    Spring JIRA | 6 years ago | Tomas Hudec
    java.lang.AssertionError: Messages are different, org.custommonkey.xmlunit.Diff [different] Expected namespace URI 'http://schemas.xmlsoap.org/soap/envelope/' but was 'urn:org:samples:spring:ws:schemas:kalkulacka' - comparing <soapenv:Envelope...> at /Envelope[1] to <ns2:kalkulackaRequest...> at /kalkulackaRequest[1]
  2. 0

    expected and request XML are in attachment java.lang.AssertionError: Messages are different, org.custommonkey.xmlunit.Diff [different] Expected namespace URI 'http://schemas.xmlsoap.org/soap/envelope/' but was 'urn:org:samples:spring:ws:schemas:kalkulacka' - comparing <soapenv:Envelope...> at /Envelope[1] to <ns2:kalkulackaRequest...> at /kalkulackaRequest[1] at org.springframework.ws.mock.client.Assert.fail(Assert.java:34) at org.springframework.ws.mock.client.Assert.assertTrue(Assert.java:45) at org.springframework.ws.mock.client.DiffMatcher.match(DiffMatcher.java:47) at org.springframework.ws.mock.client.MockSenderConnection.send(MockSenderConnection.java:81) at org.springframework.ws.client.core.WebServiceTemplate.sendRequest(WebServiceTemplate.java:549) at org.springframework.ws.client.core.WebServiceTemplate.doSendAndReceive(WebServiceTemplate.java:512) at org.springframework.ws.client.core.WebServiceTemplate.sendAndReceive(WebServiceTemplate.java:465) at org.springframework.ws.client.core.WebServiceTemplate.marshalSendAndReceive(WebServiceTemplate.java:314) at org.springframework.ws.client.core.WebServiceTemplate.marshalSendAndReceive(WebServiceTemplate.java:304) at org.samples.spring.ws.KalkulackaKlient.operace(KalkulackaKlient.java:49) at org.samples.spring.ws.KalkulackaKlientTest1.testCall1(KalkulackaKlientTest1.java:90) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:240) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:44) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41) at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner.run(ParentRunner.java:220) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:180) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)

    Spring JIRA | 6 years ago | Tomas Hudec
    java.lang.AssertionError: Messages are different, org.custommonkey.xmlunit.Diff [different] Expected namespace URI 'http://schemas.xmlsoap.org/soap/envelope/' but was 'urn:org:samples:spring:ws:schemas:kalkulacka' - comparing <soapenv:Envelope...> at /Envelope[1] to <ns2:kalkulackaRequest...> at /kalkulackaRequest[1]
  3. 0

    GitHub comment 408#143253800

    GitHub | 1 year ago | aitorme
    java.lang.AssertionError: org.custommonkey.xmlunit.DetailedDiff [different] Expected text value 'zweeav??ierzeg' but was ' zweeav??????ierzeg ' - comparing <t ...>zweeav??ierzeg</t> at /maryxml[1]/p[1]/s[1]/phrase[1]/mtu[1]/t[1]/text()[1] to <t ...> zweeav??????ierzeg </t> at /maryxml[1]/p[1]/s[1]/phrase[1]/mtu[1]/t[1]/text()[1] expected [true] but found [false]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    test fail for Luxembourgish on OSX

    GitHub | 1 year ago | aitorme
    java.lang.AssertionError: org.custommonkey.xmlunit.DetailedDiff [different] Expected text value 'zweeav??ierzeg' but was ' zweeav??????ierzeg ' - comparing <t ...>zweeav??ierzeg</t> at /maryxml[1]/p[1]/s[1]/phrase[1]/mtu[1]/t[1]/text()[1] to <t ...> zweeav??????ierzeg </t> at /maryxml[1]/p[1]/s[1]/phrase[1]/mtu[1]/t[1]/text()[1] expected [true] but found [false]
  6. 0

    GitHub comment 408#143253800

    GitHub | 1 year ago | aitorme
    java.lang.AssertionError: org.custommonkey.xmlunit.DetailedDiff [different] Expected text value 'v??ieranzwanzeg' but was ' v??????ieranzwanzeg ' - comparing <t ...>v??ieranzwanzeg</t> at /maryxml[1]/p[1]/s[1]/phrase[1]/mtu[1]/t[1]/text()[1] to <t ...> v??????ieranzwanzeg </t> at /maryxml[1]/p[1]/s[1]/phrase[1]/mtu[1]/t[1]/text()[1] expected [true] but found [false]

    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.lang.AssertionError

      Messages are different, org.custommonkey.xmlunit.Diff [different] Expected namespace URI 'http://schemas.xmlsoap.org/soap/envelope/' but was 'urn:org:samples:spring:ws:schemas:kalkulacka' - comparing <soapenv:Envelope...> at /Envelope[1] to <ns2:kalkulackaRequest...> at /kalkulackaRequest[1]

      at org.springframework.ws.mock.client.Assert.fail()
    2. org.springframework.ws
      MockSenderConnection.send
      1. org.springframework.ws.mock.client.Assert.fail(Assert.java:34)
      2. org.springframework.ws.mock.client.Assert.assertTrue(Assert.java:45)
      3. org.springframework.ws.mock.client.DiffMatcher.match(DiffMatcher.java:47)
      4. org.springframework.ws.mock.client.MockSenderConnection.send(MockSenderConnection.java:81)
      4 frames
    3. Spring WS Core
      WebServiceTemplate.marshalSendAndReceive
      1. org.springframework.ws.client.core.WebServiceTemplate.sendRequest(WebServiceTemplate.java:549)
      2. org.springframework.ws.client.core.WebServiceTemplate.doSendAndReceive(WebServiceTemplate.java:512)
      3. org.springframework.ws.client.core.WebServiceTemplate.sendAndReceive(WebServiceTemplate.java:465)
      4. org.springframework.ws.client.core.WebServiceTemplate.marshalSendAndReceive(WebServiceTemplate.java:314)
      5. org.springframework.ws.client.core.WebServiceTemplate.marshalSendAndReceive(WebServiceTemplate.java:304)
      5 frames
    4. org.samples.spring
      KalkulackaKlientTest1.testCall1
      1. org.samples.spring.ws.KalkulackaKlient.operace(KalkulackaKlient.java:49)
      2. org.samples.spring.ws.KalkulackaKlientTest1.testCall1(KalkulackaKlientTest1.java:90)
      2 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    6. JUnit
      RunBefores.evaluate
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
      5. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
      5 frames
    7. Spring TestContext
      RunBeforeTestMethodCallbacks.evaluate
      1. org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
      1 frame
    8. JUnit
      RunAfters.evaluate
      1. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
      1 frame
    9. Spring TestContext
      SpringJUnit4ClassRunner.runChild
      1. org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
      2. org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
      3. org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:240)
      3 frames
    10. JUnit
      RunBefores.evaluate
      1. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:44)
      2. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
      3. org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
      4. org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
      5. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
      5 frames
    11. Spring TestContext
      RunBeforeTestClassCallbacks.evaluate
      1. org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
      1 frame
    12. JUnit
      RunAfters.evaluate
      1. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
      1 frame
    13. Spring TestContext
      RunAfterTestClassCallbacks.evaluate
      1. org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
      1 frame
    14. JUnit
      ParentRunner.run
      1. org.junit.runners.ParentRunner.run(ParentRunner.java:220)
      1 frame
    15. Spring TestContext
      SpringJUnit4ClassRunner.run
      1. org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:180)
      1 frame
    16. JUnit4 Runner
      JUnit4TestReference.run
      1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46)
      1 frame
    17. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
      5 frames