You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Brian DePradine (JIRA)" <ji...@apache.org> on 2008/01/27 20:37:34 UTC

[jira] Created: (AXIS2-3479) The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing

The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing
------------------------------------------------------------------

                 Key: AXIS2-3479
                 URL: https://issues.apache.org/jira/browse/AXIS2-3479
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: jaxws
            Reporter: Brian DePradine


It keeps failing whenever I run a maven build, but when I run it on it's own, inside Eclipse, it passes every time! To get around this issue I have commented out that test for now. The failure I get is captured below.

testSendImageAttachmentProperty12(org.apache.axis2.jaxws.sample.MtomSampleTests)  Time elapsed: 0.219 sec  <<< FAILURE!
junit.framework.AssertionFailedError: Was expecting an exception due to sending SOAP12 message to SOAP11 endpoint.
	at junit.framework.Assert.fail(Assert.java:47)
	at org.apache.axis2.jaxws.sample.MtomSampleTests.testSendImageAttachmentProperty12(MtomSampleTests.java:224)
	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:585)
	at junit.framework.TestCase.runTest(TestCase.java:168)
	at junit.framework.TestCase.runBare(TestCase.java:134)
	at junit.framework.TestResult$1.protect(TestResult.java:110)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at junit.framework.TestResult.run(TestResult.java:113)
	at junit.framework.TestCase.run(TestCase.java:124)
	at junit.framework.TestSuite.runTest(TestSuite.java:232)
	at junit.framework.TestSuite.run(TestSuite.java:227)
	at junit.framework.TestSuite.runTest(TestSuite.java:232)
	at junit.framework.TestSuite.run(TestSuite.java:227)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at junit.extensions.TestSetup.run(TestSetup.java:27)
	at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:76)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
	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:585)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)

Now that I think about it the test is probably passing in Eclipse because it does not check what exception gets thrown, so I am not sure that the exception that is being thrown is the 'expected' one.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Assigned: (AXIS2-3479) [Break] MtomSampleTests - The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rich Scheuerle reassigned AXIS2-3479:
-------------------------------------

    Assignee: Davanum Srinivas  (was: Rich Scheuerle)

The new problems were actually due to the endpoints having the wrong @BindingType settings.
Some of these settings were work-arounds to get the integration layer working

Dims and Roy Wood are going to fix the endpoints (add the appropriate SOAPBinding and WSDL location)
and re-enable the (version checking) code.

Thanks,
Rich

> [Break] MtomSampleTests - The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing
> --------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3479
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3479
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Brian DePradine
>            Assignee: Davanum Srinivas
>            Priority: Critical
>             Fix For: 1.4
>
>
> It keeps failing whenever I run a maven build, but when I run it on it's own, inside Eclipse, it passes every time! To get around this issue I have commented out that test for now. The failure I get is captured below.
> testSendImageAttachmentProperty12(org.apache.axis2.jaxws.sample.MtomSampleTests)  Time elapsed: 0.219 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Was expecting an exception due to sending SOAP12 message to SOAP11 endpoint.
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at org.apache.axis2.jaxws.sample.MtomSampleTests.testSendImageAttachmentProperty12(MtomSampleTests.java:224)
> 	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:585)
> 	at junit.framework.TestCase.runTest(TestCase.java:168)
> 	at junit.framework.TestCase.runBare(TestCase.java:134)
> 	at junit.framework.TestResult$1.protect(TestResult.java:110)
> 	at junit.framework.TestResult.runProtected(TestResult.java:128)
> 	at junit.framework.TestResult.run(TestResult.java:113)
> 	at junit.framework.TestCase.run(TestCase.java:124)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:232)
> 	at junit.framework.TestSuite.run(TestSuite.java:227)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:232)
> 	at junit.framework.TestSuite.run(TestSuite.java:227)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
> 	at junit.framework.TestResult.runProtected(TestResult.java:128)
> 	at junit.extensions.TestSetup.run(TestSetup.java:27)
> 	at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:76)
> 	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
> 	at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
> 	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:585)
> 	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
> 	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
> Now that I think about it the test is probably passing in Eclipse because it does not check what exception gets thrown, so I am not sure that the exception that is being thrown is the 'expected' one.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3479) [Break] MtomSampleTests - The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12579615#action_12579615 ] 

Rich Scheuerle commented on AXIS2-3479:
---------------------------------------

The goal of this defect will be to enable all of the tests and make sure it works.

There seems to be a number of problems.
1) The endpoint wsdl is not packaged correctly.
2) There is an extraneous Provider endpoint, which should be removed
3) More ?

I am looking at this now.

Thanks,
Rich

> [Break] MtomSampleTests - The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing
> --------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3479
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3479
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Brian DePradine
>            Assignee: Rich Scheuerle
>            Priority: Critical
>             Fix For: 1.4
>
>
> It keeps failing whenever I run a maven build, but when I run it on it's own, inside Eclipse, it passes every time! To get around this issue I have commented out that test for now. The failure I get is captured below.
> testSendImageAttachmentProperty12(org.apache.axis2.jaxws.sample.MtomSampleTests)  Time elapsed: 0.219 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Was expecting an exception due to sending SOAP12 message to SOAP11 endpoint.
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at org.apache.axis2.jaxws.sample.MtomSampleTests.testSendImageAttachmentProperty12(MtomSampleTests.java:224)
> 	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:585)
> 	at junit.framework.TestCase.runTest(TestCase.java:168)
> 	at junit.framework.TestCase.runBare(TestCase.java:134)
> 	at junit.framework.TestResult$1.protect(TestResult.java:110)
> 	at junit.framework.TestResult.runProtected(TestResult.java:128)
> 	at junit.framework.TestResult.run(TestResult.java:113)
> 	at junit.framework.TestCase.run(TestCase.java:124)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:232)
> 	at junit.framework.TestSuite.run(TestSuite.java:227)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:232)
> 	at junit.framework.TestSuite.run(TestSuite.java:227)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
> 	at junit.framework.TestResult.runProtected(TestResult.java:128)
> 	at junit.extensions.TestSetup.run(TestSetup.java:27)
> 	at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:76)
> 	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
> 	at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
> 	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:585)
> 	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
> 	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
> Now that I think about it the test is probably passing in Eclipse because it does not check what exception gets thrown, so I am not sure that the exception that is being thrown is the 'expected' one.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Assigned: (AXIS2-3479) [Break] MtomSampleTests - The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rich Scheuerle reassigned AXIS2-3479:
-------------------------------------

    Assignee: Rich Scheuerle

> [Break] MtomSampleTests - The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing
> --------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3479
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3479
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Brian DePradine
>            Assignee: Rich Scheuerle
>            Priority: Critical
>             Fix For: 1.4
>
>
> It keeps failing whenever I run a maven build, but when I run it on it's own, inside Eclipse, it passes every time! To get around this issue I have commented out that test for now. The failure I get is captured below.
> testSendImageAttachmentProperty12(org.apache.axis2.jaxws.sample.MtomSampleTests)  Time elapsed: 0.219 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Was expecting an exception due to sending SOAP12 message to SOAP11 endpoint.
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at org.apache.axis2.jaxws.sample.MtomSampleTests.testSendImageAttachmentProperty12(MtomSampleTests.java:224)
> 	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:585)
> 	at junit.framework.TestCase.runTest(TestCase.java:168)
> 	at junit.framework.TestCase.runBare(TestCase.java:134)
> 	at junit.framework.TestResult$1.protect(TestResult.java:110)
> 	at junit.framework.TestResult.runProtected(TestResult.java:128)
> 	at junit.framework.TestResult.run(TestResult.java:113)
> 	at junit.framework.TestCase.run(TestCase.java:124)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:232)
> 	at junit.framework.TestSuite.run(TestSuite.java:227)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:232)
> 	at junit.framework.TestSuite.run(TestSuite.java:227)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
> 	at junit.framework.TestResult.runProtected(TestResult.java:128)
> 	at junit.extensions.TestSetup.run(TestSetup.java:27)
> 	at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:76)
> 	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
> 	at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
> 	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:585)
> 	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
> 	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
> Now that I think about it the test is probably passing in Eclipse because it does not check what exception gets thrown, so I am not sure that the exception that is being thrown is the 'expected' one.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Reopened: (AXIS2-3479) [Break] MtomSampleTests - The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas reopened AXIS2-3479:
-------------------------------------


Rich,

https://svn.apache.org/viewvc?view=rev&revision=638383 causes a build break.

org.apache.axis2.jaxws.dispatch.SOAP12DispatchTest.txt:Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 8.89 sec <<< FAILURE!
org.apache.axis2.jaxws.dispatch.SOAPMessageDispatchTests.txt:Tests run: 3, Failures: 1, Errors: 2, Skipped: 0, Time elapsed: 11.687 sec <<< FAILURE!
org.apache.axis2.jaxws.provider.JAXBProviderTests.txt:Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 8.937 sec <<< FAILURE!
org.apache.axis2.jaxws.provider.SourceProviderTests.txt:Tests run: 10, Failures: 1, Errors: 9, Skipped: 0, Time elapsed: 9.328 sec <<< FAILURE!
org.apache.axis2.jaxws.provider.StringMessageProviderTests.txt:Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 8.718 sec <<< FAILURE!
org.apache.axis2.jaxws.provider.StringProviderTests.txt:Tests run: 8, Failures: 0, Errors: 8, Skipped: 0, Time elapsed: 9.11 sec <<< FAILURE!
org.apache.axis2.jaxws.proxy.ProxyNonWrappedTests.txt:Tests run: 4, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 10.703 sec <<< FAILURE!
org.apache.axis2.jaxws.security.BasicAuthSecurityTests.txt:Tests run: 4, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 16.719 sec <<< FAILURE!
org.apache.axis2.jaxws.dispatch.SOAPMessageDispatchTests.txt:Tests run: 3, Failures: 1, Errors: 2, Skipped: 0, Time elapsed: 11.687 sec <<< FAILURE!
org.apache.axis2.jaxws.provider.SOAPFaultProviderTests.txt:Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 10.765 sec <<< FAILURE!
org.apache.axis2.jaxws.provider.SourceMessageProviderTests.txt:Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 8.546 sec <<< FAILURE!
org.apache.axis2.jaxws.provider.SourceProviderTests.txt:Tests run: 10, Failures: 1, Errors: 9, Skipped: 0, Time elapsed: 9.328 sec <<< FAILURE!
org.apache.axis2.jaxws.proxy.ProxyTests.txt:Tests run: 11, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 15.312 sec <<< FAILURE!

Reverting it for now..

thanks,
dims

> [Break] MtomSampleTests - The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing
> --------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3479
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3479
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Brian DePradine
>            Assignee: Rich Scheuerle
>            Priority: Critical
>             Fix For: 1.4
>
>
> It keeps failing whenever I run a maven build, but when I run it on it's own, inside Eclipse, it passes every time! To get around this issue I have commented out that test for now. The failure I get is captured below.
> testSendImageAttachmentProperty12(org.apache.axis2.jaxws.sample.MtomSampleTests)  Time elapsed: 0.219 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Was expecting an exception due to sending SOAP12 message to SOAP11 endpoint.
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at org.apache.axis2.jaxws.sample.MtomSampleTests.testSendImageAttachmentProperty12(MtomSampleTests.java:224)
> 	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:585)
> 	at junit.framework.TestCase.runTest(TestCase.java:168)
> 	at junit.framework.TestCase.runBare(TestCase.java:134)
> 	at junit.framework.TestResult$1.protect(TestResult.java:110)
> 	at junit.framework.TestResult.runProtected(TestResult.java:128)
> 	at junit.framework.TestResult.run(TestResult.java:113)
> 	at junit.framework.TestCase.run(TestCase.java:124)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:232)
> 	at junit.framework.TestSuite.run(TestSuite.java:227)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:232)
> 	at junit.framework.TestSuite.run(TestSuite.java:227)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
> 	at junit.framework.TestResult.runProtected(TestResult.java:128)
> 	at junit.extensions.TestSetup.run(TestSetup.java:27)
> 	at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:76)
> 	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
> 	at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
> 	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:585)
> 	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
> 	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
> Now that I think about it the test is probably passing in Eclipse because it does not check what exception gets thrown, so I am not sure that the exception that is being thrown is the 'expected' one.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Work started: (AXIS2-3479) [Break] MtomSampleTests - The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on AXIS2-3479 started by Rich Scheuerle.

> [Break] MtomSampleTests - The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing
> --------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3479
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3479
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Brian DePradine
>            Assignee: Rich Scheuerle
>            Priority: Critical
>             Fix For: 1.4
>
>
> It keeps failing whenever I run a maven build, but when I run it on it's own, inside Eclipse, it passes every time! To get around this issue I have commented out that test for now. The failure I get is captured below.
> testSendImageAttachmentProperty12(org.apache.axis2.jaxws.sample.MtomSampleTests)  Time elapsed: 0.219 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Was expecting an exception due to sending SOAP12 message to SOAP11 endpoint.
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at org.apache.axis2.jaxws.sample.MtomSampleTests.testSendImageAttachmentProperty12(MtomSampleTests.java:224)
> 	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:585)
> 	at junit.framework.TestCase.runTest(TestCase.java:168)
> 	at junit.framework.TestCase.runBare(TestCase.java:134)
> 	at junit.framework.TestResult$1.protect(TestResult.java:110)
> 	at junit.framework.TestResult.runProtected(TestResult.java:128)
> 	at junit.framework.TestResult.run(TestResult.java:113)
> 	at junit.framework.TestCase.run(TestCase.java:124)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:232)
> 	at junit.framework.TestSuite.run(TestSuite.java:227)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:232)
> 	at junit.framework.TestSuite.run(TestSuite.java:227)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
> 	at junit.framework.TestResult.runProtected(TestResult.java:128)
> 	at junit.extensions.TestSetup.run(TestSetup.java:27)
> 	at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:76)
> 	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
> 	at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
> 	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:585)
> 	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
> 	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
> Now that I think about it the test is probably passing in Eclipse because it does not check what exception gets thrown, so I am not sure that the exception that is being thrown is the 'expected' one.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-3479) [Break] MtomSampleTests - The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas updated AXIS2-3479:
------------------------------------

    Summary: [Break] MtomSampleTests - The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing  (was: [break] MtomSampleTests - The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing)

> [Break] MtomSampleTests - The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing
> --------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3479
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3479
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Brian DePradine
>            Priority: Critical
>             Fix For: 1.4
>
>
> It keeps failing whenever I run a maven build, but when I run it on it's own, inside Eclipse, it passes every time! To get around this issue I have commented out that test for now. The failure I get is captured below.
> testSendImageAttachmentProperty12(org.apache.axis2.jaxws.sample.MtomSampleTests)  Time elapsed: 0.219 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Was expecting an exception due to sending SOAP12 message to SOAP11 endpoint.
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at org.apache.axis2.jaxws.sample.MtomSampleTests.testSendImageAttachmentProperty12(MtomSampleTests.java:224)
> 	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:585)
> 	at junit.framework.TestCase.runTest(TestCase.java:168)
> 	at junit.framework.TestCase.runBare(TestCase.java:134)
> 	at junit.framework.TestResult$1.protect(TestResult.java:110)
> 	at junit.framework.TestResult.runProtected(TestResult.java:128)
> 	at junit.framework.TestResult.run(TestResult.java:113)
> 	at junit.framework.TestCase.run(TestCase.java:124)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:232)
> 	at junit.framework.TestSuite.run(TestSuite.java:227)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:232)
> 	at junit.framework.TestSuite.run(TestSuite.java:227)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
> 	at junit.framework.TestResult.runProtected(TestResult.java:128)
> 	at junit.extensions.TestSetup.run(TestSetup.java:27)
> 	at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:76)
> 	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
> 	at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
> 	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:585)
> 	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
> 	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
> Now that I think about it the test is probably passing in Eclipse because it does not check what exception gets thrown, so I am not sure that the exception that is being thrown is the 'expected' one.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-3479) [break] MtomSampleTests - The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas updated AXIS2-3479:
------------------------------------

    Summary: [break] MtomSampleTests - The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing  (was: MtomSampleTests break - The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing)

> [break] MtomSampleTests - The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing
> --------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3479
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3479
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Brian DePradine
>            Priority: Critical
>             Fix For: 1.4
>
>
> It keeps failing whenever I run a maven build, but when I run it on it's own, inside Eclipse, it passes every time! To get around this issue I have commented out that test for now. The failure I get is captured below.
> testSendImageAttachmentProperty12(org.apache.axis2.jaxws.sample.MtomSampleTests)  Time elapsed: 0.219 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Was expecting an exception due to sending SOAP12 message to SOAP11 endpoint.
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at org.apache.axis2.jaxws.sample.MtomSampleTests.testSendImageAttachmentProperty12(MtomSampleTests.java:224)
> 	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:585)
> 	at junit.framework.TestCase.runTest(TestCase.java:168)
> 	at junit.framework.TestCase.runBare(TestCase.java:134)
> 	at junit.framework.TestResult$1.protect(TestResult.java:110)
> 	at junit.framework.TestResult.runProtected(TestResult.java:128)
> 	at junit.framework.TestResult.run(TestResult.java:113)
> 	at junit.framework.TestCase.run(TestCase.java:124)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:232)
> 	at junit.framework.TestSuite.run(TestSuite.java:227)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:232)
> 	at junit.framework.TestSuite.run(TestSuite.java:227)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
> 	at junit.framework.TestResult.runProtected(TestResult.java:128)
> 	at junit.extensions.TestSetup.run(TestSetup.java:27)
> 	at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:76)
> 	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
> 	at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
> 	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:585)
> 	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
> 	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
> Now that I think about it the test is probably passing in Eclipse because it does not check what exception gets thrown, so I am not sure that the exception that is being thrown is the 'expected' one.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-3479) [Break] MtomSampleTests - The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rich Scheuerle resolved AXIS2-3479.
-----------------------------------

    Resolution: Fixed

638383

> [Break] MtomSampleTests - The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing
> --------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3479
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3479
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Brian DePradine
>            Assignee: Rich Scheuerle
>            Priority: Critical
>             Fix For: 1.4
>
>
> It keeps failing whenever I run a maven build, but when I run it on it's own, inside Eclipse, it passes every time! To get around this issue I have commented out that test for now. The failure I get is captured below.
> testSendImageAttachmentProperty12(org.apache.axis2.jaxws.sample.MtomSampleTests)  Time elapsed: 0.219 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Was expecting an exception due to sending SOAP12 message to SOAP11 endpoint.
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at org.apache.axis2.jaxws.sample.MtomSampleTests.testSendImageAttachmentProperty12(MtomSampleTests.java:224)
> 	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:585)
> 	at junit.framework.TestCase.runTest(TestCase.java:168)
> 	at junit.framework.TestCase.runBare(TestCase.java:134)
> 	at junit.framework.TestResult$1.protect(TestResult.java:110)
> 	at junit.framework.TestResult.runProtected(TestResult.java:128)
> 	at junit.framework.TestResult.run(TestResult.java:113)
> 	at junit.framework.TestCase.run(TestCase.java:124)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:232)
> 	at junit.framework.TestSuite.run(TestSuite.java:227)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:232)
> 	at junit.framework.TestSuite.run(TestSuite.java:227)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
> 	at junit.framework.TestResult.runProtected(TestResult.java:128)
> 	at junit.extensions.TestSetup.run(TestSetup.java:27)
> 	at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:76)
> 	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
> 	at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
> 	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:585)
> 	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
> 	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
> Now that I think about it the test is probably passing in Eclipse because it does not check what exception gets thrown, so I am not sure that the exception that is being thrown is the 'expected' one.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-3479) The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing

Posted by "Brian DePradine (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian DePradine updated AXIS2-3479:
-----------------------------------

    Priority: Critical  (was: Major)

Yes, someone should have a look at this. I just ran it again and it is still failing.

> The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing
> ------------------------------------------------------------------
>
>                 Key: AXIS2-3479
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3479
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Brian DePradine
>            Priority: Critical
>             Fix For: 1.4
>
>
> It keeps failing whenever I run a maven build, but when I run it on it's own, inside Eclipse, it passes every time! To get around this issue I have commented out that test for now. The failure I get is captured below.
> testSendImageAttachmentProperty12(org.apache.axis2.jaxws.sample.MtomSampleTests)  Time elapsed: 0.219 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Was expecting an exception due to sending SOAP12 message to SOAP11 endpoint.
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at org.apache.axis2.jaxws.sample.MtomSampleTests.testSendImageAttachmentProperty12(MtomSampleTests.java:224)
> 	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:585)
> 	at junit.framework.TestCase.runTest(TestCase.java:168)
> 	at junit.framework.TestCase.runBare(TestCase.java:134)
> 	at junit.framework.TestResult$1.protect(TestResult.java:110)
> 	at junit.framework.TestResult.runProtected(TestResult.java:128)
> 	at junit.framework.TestResult.run(TestResult.java:113)
> 	at junit.framework.TestCase.run(TestCase.java:124)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:232)
> 	at junit.framework.TestSuite.run(TestSuite.java:227)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:232)
> 	at junit.framework.TestSuite.run(TestSuite.java:227)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
> 	at junit.framework.TestResult.runProtected(TestResult.java:128)
> 	at junit.extensions.TestSetup.run(TestSetup.java:27)
> 	at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:76)
> 	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
> 	at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
> 	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:585)
> 	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
> 	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
> Now that I think about it the test is probably passing in Eclipse because it does not check what exception gets thrown, so I am not sure that the exception that is being thrown is the 'expected' one.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Assigned: (AXIS2-3479) [Break] MtomSampleTests - The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas reassigned AXIS2-3479:
---------------------------------------

    Assignee: Roy A. Wood Jr.  (was: Davanum Srinivas)

Roy,

Let's take org.apache.axis2.jaxws.dispatch.server.SOAP12Provider for example, there's an existing wsdl in our trunk svn test\org\apache\axis2\jaxws\dispatch\server\META-INF\SOAP12ProviderService.wsdl,

so steps would be
#1) remove HTTP Binding and add SOAP binding annotation
#2) Add wsdlLocation "META-INF\SOAP12ProviderService.wsdl"
#3) Edit the wsdl to make sure the targetNamespace, port and service names match what is in the service


Thanks,
dims

PS: if you don't find a wsdl it may have gotten lost when we separated the tests, try the 1.3 branch:
http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_3/modules/jaxws/test/org/apache/axis2/jaxws/dispatch/server/META-INF/

> [Break] MtomSampleTests - The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing
> --------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3479
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3479
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Brian DePradine
>            Assignee: Roy A. Wood Jr.
>            Priority: Critical
>             Fix For: 1.4
>
>
> It keeps failing whenever I run a maven build, but when I run it on it's own, inside Eclipse, it passes every time! To get around this issue I have commented out that test for now. The failure I get is captured below.
> testSendImageAttachmentProperty12(org.apache.axis2.jaxws.sample.MtomSampleTests)  Time elapsed: 0.219 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Was expecting an exception due to sending SOAP12 message to SOAP11 endpoint.
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at org.apache.axis2.jaxws.sample.MtomSampleTests.testSendImageAttachmentProperty12(MtomSampleTests.java:224)
> 	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:585)
> 	at junit.framework.TestCase.runTest(TestCase.java:168)
> 	at junit.framework.TestCase.runBare(TestCase.java:134)
> 	at junit.framework.TestResult$1.protect(TestResult.java:110)
> 	at junit.framework.TestResult.runProtected(TestResult.java:128)
> 	at junit.framework.TestResult.run(TestResult.java:113)
> 	at junit.framework.TestCase.run(TestCase.java:124)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:232)
> 	at junit.framework.TestSuite.run(TestSuite.java:227)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:232)
> 	at junit.framework.TestSuite.run(TestSuite.java:227)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
> 	at junit.framework.TestResult.runProtected(TestResult.java:128)
> 	at junit.extensions.TestSetup.run(TestSetup.java:27)
> 	at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:76)
> 	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
> 	at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
> 	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:585)
> 	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
> 	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
> Now that I think about it the test is probably passing in Eclipse because it does not check what exception gets thrown, so I am not sure that the exception that is being thrown is the 'expected' one.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-3479) The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas updated AXIS2-3479:
------------------------------------

    Fix Version/s: 1.4

> The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing
> ------------------------------------------------------------------
>
>                 Key: AXIS2-3479
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3479
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Brian DePradine
>             Fix For: 1.4
>
>
> It keeps failing whenever I run a maven build, but when I run it on it's own, inside Eclipse, it passes every time! To get around this issue I have commented out that test for now. The failure I get is captured below.
> testSendImageAttachmentProperty12(org.apache.axis2.jaxws.sample.MtomSampleTests)  Time elapsed: 0.219 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Was expecting an exception due to sending SOAP12 message to SOAP11 endpoint.
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at org.apache.axis2.jaxws.sample.MtomSampleTests.testSendImageAttachmentProperty12(MtomSampleTests.java:224)
> 	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:585)
> 	at junit.framework.TestCase.runTest(TestCase.java:168)
> 	at junit.framework.TestCase.runBare(TestCase.java:134)
> 	at junit.framework.TestResult$1.protect(TestResult.java:110)
> 	at junit.framework.TestResult.runProtected(TestResult.java:128)
> 	at junit.framework.TestResult.run(TestResult.java:113)
> 	at junit.framework.TestCase.run(TestCase.java:124)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:232)
> 	at junit.framework.TestSuite.run(TestSuite.java:227)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:232)
> 	at junit.framework.TestSuite.run(TestSuite.java:227)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
> 	at junit.framework.TestResult.runProtected(TestResult.java:128)
> 	at junit.extensions.TestSetup.run(TestSetup.java:27)
> 	at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:76)
> 	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
> 	at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
> 	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:585)
> 	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
> 	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
> Now that I think about it the test is probably passing in Eclipse because it does not check what exception gets thrown, so I am not sure that the exception that is being thrown is the 'expected' one.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3479) [Break] MtomSampleTests - The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12579821#action_12579821 ] 

Rich Scheuerle commented on AXIS2-3479:
---------------------------------------

Update:

I have 3 of the 5 tests working in my sandbox.

The two failing tests are the "negative tests" where a SOAP 1.2 message is sent to a SOAP 1.1 endpoint.



> [Break] MtomSampleTests - The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing
> --------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3479
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3479
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Brian DePradine
>            Assignee: Rich Scheuerle
>            Priority: Critical
>             Fix For: 1.4
>
>
> It keeps failing whenever I run a maven build, but when I run it on it's own, inside Eclipse, it passes every time! To get around this issue I have commented out that test for now. The failure I get is captured below.
> testSendImageAttachmentProperty12(org.apache.axis2.jaxws.sample.MtomSampleTests)  Time elapsed: 0.219 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Was expecting an exception due to sending SOAP12 message to SOAP11 endpoint.
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at org.apache.axis2.jaxws.sample.MtomSampleTests.testSendImageAttachmentProperty12(MtomSampleTests.java:224)
> 	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:585)
> 	at junit.framework.TestCase.runTest(TestCase.java:168)
> 	at junit.framework.TestCase.runBare(TestCase.java:134)
> 	at junit.framework.TestResult$1.protect(TestResult.java:110)
> 	at junit.framework.TestResult.runProtected(TestResult.java:128)
> 	at junit.framework.TestResult.run(TestResult.java:113)
> 	at junit.framework.TestCase.run(TestCase.java:124)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:232)
> 	at junit.framework.TestSuite.run(TestSuite.java:227)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:232)
> 	at junit.framework.TestSuite.run(TestSuite.java:227)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
> 	at junit.framework.TestResult.runProtected(TestResult.java:128)
> 	at junit.extensions.TestSetup.run(TestSetup.java:27)
> 	at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:76)
> 	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
> 	at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
> 	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:585)
> 	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
> 	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
> Now that I think about it the test is probably passing in Eclipse because it does not check what exception gets thrown, so I am not sure that the exception that is being thrown is the 'expected' one.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-3479) [Break] MtomSampleTests - The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas resolved AXIS2-3479.
-------------------------------------

    Resolution: Fixed

Fixed in svn revision 638686 (i hope!)

-- dims

> [Break] MtomSampleTests - The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing
> --------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3479
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3479
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Brian DePradine
>            Assignee: Roy A. Wood Jr.
>            Priority: Critical
>             Fix For: 1.4
>
>
> It keeps failing whenever I run a maven build, but when I run it on it's own, inside Eclipse, it passes every time! To get around this issue I have commented out that test for now. The failure I get is captured below.
> testSendImageAttachmentProperty12(org.apache.axis2.jaxws.sample.MtomSampleTests)  Time elapsed: 0.219 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Was expecting an exception due to sending SOAP12 message to SOAP11 endpoint.
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at org.apache.axis2.jaxws.sample.MtomSampleTests.testSendImageAttachmentProperty12(MtomSampleTests.java:224)
> 	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:585)
> 	at junit.framework.TestCase.runTest(TestCase.java:168)
> 	at junit.framework.TestCase.runBare(TestCase.java:134)
> 	at junit.framework.TestResult$1.protect(TestResult.java:110)
> 	at junit.framework.TestResult.runProtected(TestResult.java:128)
> 	at junit.framework.TestResult.run(TestResult.java:113)
> 	at junit.framework.TestCase.run(TestCase.java:124)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:232)
> 	at junit.framework.TestSuite.run(TestSuite.java:227)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:232)
> 	at junit.framework.TestSuite.run(TestSuite.java:227)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
> 	at junit.framework.TestResult.runProtected(TestResult.java:128)
> 	at junit.extensions.TestSetup.run(TestSetup.java:27)
> 	at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:76)
> 	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
> 	at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
> 	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:585)
> 	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
> 	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
> Now that I think about it the test is probably passing in Eclipse because it does not check what exception gets thrown, so I am not sure that the exception that is being thrown is the 'expected' one.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-3479) MtomSampleTests break - The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas updated AXIS2-3479:
------------------------------------

    Summary: MtomSampleTests break - The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing  (was: The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing)

> MtomSampleTests break - The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing
> ------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3479
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3479
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Brian DePradine
>            Priority: Critical
>             Fix For: 1.4
>
>
> It keeps failing whenever I run a maven build, but when I run it on it's own, inside Eclipse, it passes every time! To get around this issue I have commented out that test for now. The failure I get is captured below.
> testSendImageAttachmentProperty12(org.apache.axis2.jaxws.sample.MtomSampleTests)  Time elapsed: 0.219 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Was expecting an exception due to sending SOAP12 message to SOAP11 endpoint.
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at org.apache.axis2.jaxws.sample.MtomSampleTests.testSendImageAttachmentProperty12(MtomSampleTests.java:224)
> 	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:585)
> 	at junit.framework.TestCase.runTest(TestCase.java:168)
> 	at junit.framework.TestCase.runBare(TestCase.java:134)
> 	at junit.framework.TestResult$1.protect(TestResult.java:110)
> 	at junit.framework.TestResult.runProtected(TestResult.java:128)
> 	at junit.framework.TestResult.run(TestResult.java:113)
> 	at junit.framework.TestCase.run(TestCase.java:124)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:232)
> 	at junit.framework.TestSuite.run(TestSuite.java:227)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:232)
> 	at junit.framework.TestSuite.run(TestSuite.java:227)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
> 	at junit.framework.TestResult.runProtected(TestResult.java:128)
> 	at junit.extensions.TestSetup.run(TestSetup.java:27)
> 	at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:76)
> 	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
> 	at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
> 	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:585)
> 	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
> 	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
> Now that I think about it the test is probably passing in Eclipse because it does not check what exception gets thrown, so I am not sure that the exception that is being thrown is the 'expected' one.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3479) The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12576683#action_12576683 ] 

Davanum Srinivas commented on AXIS2-3479:
-----------------------------------------

Brian,

Do we need to fix this issue in 1.4?

thanks,
dims

> The org.apache.axis2.jaxws.sample.MtomSampleTests suite is failing
> ------------------------------------------------------------------
>
>                 Key: AXIS2-3479
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3479
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Brian DePradine
>             Fix For: 1.4
>
>
> It keeps failing whenever I run a maven build, but when I run it on it's own, inside Eclipse, it passes every time! To get around this issue I have commented out that test for now. The failure I get is captured below.
> testSendImageAttachmentProperty12(org.apache.axis2.jaxws.sample.MtomSampleTests)  Time elapsed: 0.219 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Was expecting an exception due to sending SOAP12 message to SOAP11 endpoint.
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at org.apache.axis2.jaxws.sample.MtomSampleTests.testSendImageAttachmentProperty12(MtomSampleTests.java:224)
> 	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:585)
> 	at junit.framework.TestCase.runTest(TestCase.java:168)
> 	at junit.framework.TestCase.runBare(TestCase.java:134)
> 	at junit.framework.TestResult$1.protect(TestResult.java:110)
> 	at junit.framework.TestResult.runProtected(TestResult.java:128)
> 	at junit.framework.TestResult.run(TestResult.java:113)
> 	at junit.framework.TestCase.run(TestCase.java:124)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:232)
> 	at junit.framework.TestSuite.run(TestSuite.java:227)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:232)
> 	at junit.framework.TestSuite.run(TestSuite.java:227)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
> 	at junit.framework.TestResult.runProtected(TestResult.java:128)
> 	at junit.extensions.TestSetup.run(TestSetup.java:27)
> 	at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:76)
> 	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
> 	at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
> 	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:585)
> 	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
> 	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
> Now that I think about it the test is probably passing in Eclipse because it does not check what exception gets thrown, so I am not sure that the exception that is being thrown is the 'expected' one.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org