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]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Spring JIRA by Tomas Hudec, 1 year ago
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]
via Spring JIRA by Tomas Hudec, 1 year ago
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]
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.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.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
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.runners.ParentRunner.run(ParentRunner.java:220)
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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.