Yes, we have a JIRA for this ( http://issues.apache.org/jira/browse/TUSCANY-1881). It doesn't look like the suggested fix was made. Maybe Ram can comment. I think we should check in the builder if a non-remotable service has anything but binding.sca associated with it. If so raise a warning.
Simon On Mon, Aug 4, 2008 at 7:02 PM, Luciano Resende <[EMAIL PROTECTED]>wrote: > I have indeed seen myself in this same situation with different bindings. > > Is there anything we can do to more clearly tell the user that there > is a potential problem with the service interface in use ? > > On Mon, Aug 4, 2008 at 10:36 AM, Dhaval Chauhan > <[EMAIL PROTECTED]> wrote: > > 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. > Share > > now! > > > > -- > Luciano Resende > Apache Tuscany Committer > http://people.apache.org/~lresende <http://people.apache.org/%7Elresende> > http://lresende.blogspot.com/ >
