[ https://issues.apache.org/jira/browse/TUSCANY-1559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ant elder updated TUSCANY-1559: ------------------------------- Fix Version/s: (was: Java-SCA-0.99) Java-SCA-Next Didn't make 0.99 so moving to SCA-next > Exception flowing a simple Java bean through a Web service with no WSDL > ----------------------------------------------------------------------- > > Key: TUSCANY-1559 > URL: https://issues.apache.org/jira/browse/TUSCANY-1559 > Project: Tuscany > Issue Type: Bug > Components: Java SCA Java Implementation Extension > Reporter: Jean-Sebastien Delfino > Fix For: Java-SCA-Next > > Attachments: helloworld-bean.zip > > > To reproduce the problem, replace the string in the helloworld-ws-service > sample with a simple JavaBean. > You'll get the following exception when you run the test case in the sample: > Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.995 sec <<< > FAILURE! > testServiceCall(helloworld.HelloWorldServerTestCase) Time elapsed: 1.184 sec > <<< ERROR! > java.lang.reflect.UndeclaredThrowableException > at $Proxy5.getGreetings(Unknown Source) > at > helloworld.HelloWorldServerTestCase.testServiceCall(HelloWorldServerTestCase.java:56) > 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 > org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99) > at > org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81) > at > org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34) > at > org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75) > at > org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45) > at > org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:75) > at > org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:36) > at > org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42) > at > org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34) > at > org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52) > 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:64) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:615) > at > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290) > at > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818) > Caused by: org.apache.axis2.AxisFault: Pass-by-value is not supported for the > given object > at > org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:434) > at > org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:373) > at > org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:294) > at > org.apache.tuscany.sca.binding.axis2.Axis2BindingInvoker.invokeTarget(Axis2BindingInvoker.java:87) > at > org.apache.tuscany.sca.binding.axis2.Axis2BindingInvoker.invoke(Axis2BindingInvoker.java:67) > at > org.apache.tuscany.sca.core.databinding.wire.DataTransformationInteceptor.invoke(DataTransformationInteceptor.java:68) > at > org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:231) > at > org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:92) > ... 26 more > Results : > Tests in error: > testServiceCall(helloworld.HelloWorldServerTestCase) > Tests run: 2, Failures: 0, Errors: 1, Skipped: 0 -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]