Hi Raymond, Thanks for your response.
Actually the issue was not with the databingind but it was with the interface I created for the testcases. I missed the fact that the databinding only supports remotable interfaces. I have made the interface remotable and now all the testcases are working. Hence, the existing implementation of JSON-RPC binding currently supports Java primitive datatypes and the collections as well. I have also updated the JIRA with the latest patch. Thanks, Dhaval > From: [EMAIL PROTECTED] > To: [email protected] > Subject: Re: Issue with the Java Datatype support for JSON-RPC binding > Date: Thu, 31 Jul 2008 15:46:16 -0700 > > Hi, > > We start with the simple steps. Say, you first want to understand how Java > is mapped to JSON. You can write test cases to use the Java2JSON transformer > [1][2] , pass in simple types, complex types, arrays, collections and maps > to see what JSON objects are produced. > > [1] > tuscany-databinding-json/src/main/java/org/apache/tuscany/sca/databinding/json/JavaBean2JSON.java > [2] > tuscany-databinding-json/src/main/java/org/apache/tuscany/sca/databinding/json/JSON2JavaBean.java > > Thanks, > Raymond > > From: Dhaval Chauhan > Sent: Thursday, July 31, 2008 3:26 PM > To: [email protected] > Subject: Issue with the Java Datatype support for JSON-RPC binding > > > Hi, > > I am investigating following JIRA: > > TUSCANY-2488 (https://issues.apache.org/jira/browse/TUSCANY-2488) > > It looks to me that this issue is related with the databinding. > > Where should I start looking to solve this issue? > > Thanks, > Dhaval > > > > > > > > > > > > Stay in touch when you're away with Windows Live Messenger. IM anytime > you're online. > _________________________________________________________________ Reveal your inner athlete and share it with friends on Windows Live. http://revealyourinnerathlete.windowslive.com?locale=en-us&ocid=TXT_TAGLM_WLYIA_whichathlete_us
