You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Jean-Sebastien Delfino (JIRA)" <tu...@ws.apache.org> on 2007/08/21 01:37:30 UTC

[jira] Created: (TUSCANY-1559) Exception flowing a simple Java bean through a Web service with no WSDL

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 Axis Binding Extension
            Reporter: Jean-Sebastien Delfino
             Fix For: Java-SCA-Next


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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1559) Exception flowing a simple Java bean through a Web service with no WSDL

Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
     [ 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-Next)
                   Java-SCA-0.99

> 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-0.99
>
>         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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Assigned: (TUSCANY-1559) Pass-by-value interceptor not necessary with the Axis2 WS binding

Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ant elder reassigned TUSCANY-1559:
----------------------------------

    Assignee: ant elder

> Pass-by-value interceptor not necessary with the Axis2 WS binding 
> ------------------------------------------------------------------
>
>                 Key: TUSCANY-1559
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1559
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Java Implementation Extension
>    Affects Versions: Java-SCA-0.99, Java-SCA-Next
>            Reporter: Jean-Sebastien Delfino
>            Assignee: ant elder
>             Fix For: Java-SCA-1.0
>
>         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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1559) Exception flowing a simple Java bean through a Web service with no WSDL

Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12522243 ] 

ant elder commented on TUSCANY-1559:
------------------------------------

A way to "fix" this for now that i think would help a lot of users would be for the pass-by-value interceptor to not be inserted when the java component is wired from/to a binding or just  the axis2 binding or when the databinding is different or the axiom databinding. Need to change the interfaces around where the interceptor is inserted as that type of information ins't available in that part of the code right now.

> 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-0.99
>
>         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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1559) Pass-by-value interceptor not necessary with the Axis2 WS binding

Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ant elder updated TUSCANY-1559:
-------------------------------

    Summary: Pass-by-value interceptor not necessary with the Axis2 WS binding   (was: Exception flowing a simple Java bean through a Web service with no WSDL)

Edit the JIRA summary

> Pass-by-value interceptor not necessary with the Axis2 WS binding 
> ------------------------------------------------------------------
>
>                 Key: TUSCANY-1559
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1559
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Java Implementation Extension
>    Affects Versions: Java-SCA-0.99, Java-SCA-Next
>            Reporter: Jean-Sebastien Delfino
>             Fix For: Java-SCA-1.0
>
>         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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1559) Exception flowing a simple Java bean through a Web service with no WSDL

Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ant elder updated TUSCANY-1559:
-------------------------------

    Component/s:     (was: Java SCA Axis Binding Extension)
                 Java SCA Java Implementation Extension

Nothing to do with the WS binding, this is the old problem of implementation.java pass-by-value support only working with remotable services when the arguments are serializable

> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1559) Exception flowing a simple Java bean through a Web service with no WSDL

Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
     [ 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1559) Exception flowing a simple Java bean through a Web service with no WSDL

Posted by "Jean-Sebastien Delfino (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Sebastien Delfino updated TUSCANY-1559:
--------------------------------------------

    Affects Version/s: Java-SCA-Next
                       Java-SCA-0.99

Deferred for after the 0.99 release.

> 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
>    Affects Versions: Java-SCA-0.99, Java-SCA-Next
>            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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1559) Pass-by-value interceptor not necessary with the Axis2 WS binding

Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
     [ 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-1.0)
                   Java-SCA-Next

Deferring all the non-critical JIRAs from 1.0

> Pass-by-value interceptor not necessary with the Axis2 WS binding 
> ------------------------------------------------------------------
>
>                 Key: TUSCANY-1559
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1559
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Java Implementation Extension
>    Affects Versions: Java-SCA-0.99, Java-SCA-Next
>            Reporter: Jean-Sebastien Delfino
>            Assignee: ant elder
>             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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Resolved: (TUSCANY-1559) Pass-by-value interceptor not necessary with the Axis2 WS binding

Posted by "Raymond Feng (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raymond Feng resolved TUSCANY-1559.
-----------------------------------

    Resolution: Fixed

Fixed as part of the PBV optimization

> Pass-by-value interceptor not necessary with the Axis2 WS binding 
> ------------------------------------------------------------------
>
>                 Key: TUSCANY-1559
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1559
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Java Implementation Extension
>    Affects Versions: Java-SCA-0.99, Java-SCA-Next
>            Reporter: Jean-Sebastien Delfino
>            Assignee: ant elder
>             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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1559) Exception flowing a simple Java bean through a Web service with no WSDL

Posted by "Jean-Sebastien Delfino (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Sebastien Delfino updated TUSCANY-1559:
--------------------------------------------

    Attachment: helloworld-bean.zip

Added test case to help reproduce the problem.

> 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 Axis Binding 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org