Thanks Luciano.

I have started making import level changes & namespace fixes in my
composite.xml file to start using tuscany 2.0M5.

I am currently getting the following exception:

Caused by: java.lang.NoSuchMethodException:
org.apache.tuscany.sca.extensibility.ServiceDiscovery.getServiceDeclaration(java.lang.Class)
at java.lang.Class.getMethod(Class.java:1605)
at
org.apache.tuscany.sca.node.NodeFactory.getFactoryImplClass(NodeFactory.java:324)
at org.apache.tuscany.sca.node.NodeFactory.newInstance(NodeFactory.java:179)
... 25 more


Can someone help what's going wrong?

This is how I am creating my Node:

  Contribution contrib1 = new Contribution(compositeName + "1",
getContributionJarFile()); Contribution contrib2 = new
Contribution(compositeName + "2", ContributionLocationHelper
.getContributionLocation(UnifiedConnectorService.class)); Node node =
NodeFactory.newInstance().createNode(compositeXml, contrib1, contrib2);



Thanks & Regards,
Anil

On Thu, Oct 7, 2010 at 8:46 PM, Luciano Resende <[email protected]>wrote:

> On Thu, Oct 7, 2010 at 6:37 AM, Blue Diamond <[email protected]> wrote:
> > Thanks a lot for answering my queries Simon.
> > Please confirm my understanding of 2.0M5.
> > 3. REST + JSON is supported (i don't know the internals, but as long as
> it
> > is supported, its fine)
> Yes
>
> > I have another question.
> > We are currently using SDO data binding model. So, if we want to use REST
> > with JSON on the same service interfaces that uses SDO, will it work? Is
> the
> > SDO-JSON-SDO transformation supported internally? Are there any
> limitations?
> > Eagerly awaiting any response :)
>
> I don't think we have extensively tested this path in 2.x, but the
> databinding should be able to make the transformations for you.
>
>
> --
> Luciano Resende
> http://people.apache.org/~lresende
> http://twitter.com/lresende1975
> http://lresende.blogspot.com/
>

Reply via email to