i found this
http://cwiki.apache.org/TUSCANYxDOCx2x/converting-tuscany-1x-extensions.html

Changed client code to


String contribution = ContributionLocationHelper.*getContributionLocation*
(HelloWorldService.*class*);

Node node = NodeFactory.*newInstance*().createNode(
"helloworldwsclient.composite",

*new* Contribution("test", contribution));

node.start();

HelloWorldService helloWorldService = node.getService(HelloWorldService.*
class*, "HelloTuscanyServiceComponent");

And Now I got hit by the bug
http://issues.apache.org/jira/browse/TUSCANY-2664

Is there a workaround?

Thanks

Dec 4, 2009 10:23:32 AM
org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl addEndpoint

INFO: Add endpoint - (@622863648)Endpoint: URI =
HelloWorldServiceComponent#service-binding(HelloWorldService/HelloWorldService)

class org.apache.axiom.om.impl.llom.OMElementImpl

class org.apache.axiom.om.impl.llom.OMTextImpl

Injected helloWorldService

Called getGreetings

Exception in thread "main" *java.lang.IllegalArgumentException*:
Pass-by-value is not supported for the given object: *
org.apache.tuscany.sca.databinding.TransformationException
*

at org.apache.tuscany.sca.databinding.javabeans.JavaBeansDataBinding.copy(*
JavaBeansDataBinding.java:128*)

at
org.apache.tuscany.sca.databinding.DefaultDataBindingExtensionPoint$LazyDataBinding.copy(
*DefaultDataBindingExtensionPoint.java:169*)

Reply via email to