> > Doing a search for a cast to a java interface - "(JavaInterface)" - > shows quite a lot of hits probably most of which are fine but one > example of where it isn't is line 134 of > JSONRPCServiceBindingProvider. > > ...ant >
Interesting. I see your point. I'm not sure that the TODO comment is strictly accurate as it appears to be using the service contract rather than the implementation contract but even then the service contract may not be Java. If a conversion to Java is required then I think that's the responsibility of the binding in this case, i.e. I'm saying that we shouldn't generate/keep both forms on the off chance. To date we've gone with WSDL as the normalized form. If bindings need to convert from this to other forms to do their thing then so be it. Regards Simon -- Apache Tuscany committer: tuscany.apache.org Co-author of a book about Tuscany and SCA: tuscanyinaction.com
