BareTests.testTwoWaySync test is failing yet still reporting success
--------------------------------------------------------------------
Key: AXIS2-1249
URL: http://issues.apache.org/jira/browse/AXIS2-1249
Project: Apache Axis 2.0 (Axis2)
Issue Type: Bug
Components: jaxws
Reporter: Jeff Barrett
The test org.apache.axis2.jaxws.sample.BareTests.testTwoWaySync is catching an
exception. I don't think that exception is expected.
It is printing the exception to
modules/jaxws/target\test-reports/TEST-org.apache.axis2.jaxws.framework.JAXWSTest.txt,
but the test is not failing.
The exception is:
javax.xml.ws.WebServiceException
at
org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException(ExceptionFactory.java:217)
at
org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:81)
at
org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:185)
at
org.apache.axis2.jaxws.core.controller.AxisInvocationController.invoke(AxisInvocationController.java:220)
at
org.apache.axis2.jaxws.client.proxy.BaseProxyHandler.InvokeSEIMethod(BaseProxyHandler.java:189)
at
org.apache.axis2.jaxws.client.proxy.BaseProxyHandler.invoke(BaseProxyHandler.java:125)
at $Proxy29.twoWaySimple(Unknown Source)
at
org.apache.axis2.jaxws.sample.BareTests.testTwoWaySync`(BareTests.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at junit.framework.TestCase.runTest(TestCase.java:164)
at junit.framework.TestCase.runBare(TestCase.java:130)
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:120)
at junit.framework.TestSuite.runTest(TestSuite.java:230)
at junit.framework.TestSuite.run(TestSuite.java:225)
at junit.framework.TestSuite.runTest(TestSuite.java:230)
at junit.framework.TestSuite.run(TestSuite.java:225)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.extensions.TestSetup.run(TestSetup.java:25)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
Caused by: org.apache.axis2.AxisFault: Operation Not found EPR is
/axis2/services/BareDocLitService and WSA Action =
at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:298)
at
org.apache.axis2.jaxws.core.controller.AxisInvocationController.invoke(AxisInvocationController.java:174)
... 25 more
Caused by: java.lang.Exception: org.apache.axis2.AxisFault: Operation Not found
EPR is /axis2/services/BareDocLitService and WSA Action =
at
org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:47)
at org.apache.axis2.engine.Phase.invoke(Phase.java:393)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:535)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:493)
at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:324)
at
org.apache.axis2.transport.http.HTTPWorker.service(HTTPWorker.java:238)
at
org.apache.axis2.transport.http.server.DefaultHttpServiceProcessor.doService(DefaultHttpServiceProcessor.java:179)
at
org.apache.http.protocol.HttpService.handleRequest(HttpService.java:123)
at
org.apache.axis2.transport.http.server.DefaultHttpServiceProcessor.run(DefaultHttpServiceProcessor.java:251)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
at java.lang.Thread.run(Thread.java:788)
at org.apache.axis2.AxisFault.<init>(AxisFault.java:159)
... 27 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]