On Tue, Jul 6, 2010 at 7:25 PM, Simon Nash <[email protected]> wrote: > Raymond Feng wrote: >> >> Your proposal looks good. It should be able to deal with most of the >> cases. >> >> There might be some tricky things on the road: >> >> * How to check if two data types are compatible. For java types, we can >> check if two classes are the same. For XML types, we need to deal with >> element as well as types.
Can you say something about how the differences are repesented in the logical type. From what I see the XMLType has both element and type values. > >> > (Minor clarification) For Java interfaces we need to look at the individual > methods and not just whether it's the same interface class. > >> * How to make a remotable Java interface into WSDL 1.1. I'm not sure if >> all the remotable interfaces can be mapped into WSDL 1.1 though, for >> example, JAX-RS annotated interfaces, RMI or EJB interfaces. > > If they can't be mapped to WSDL then they can't be used in SCA to > interoperate with a different interface definition language. Yep, we have to rely on the mappings that the SCA specifications define as being valid otherwise we can't hope to do the matching. > > Simon > Simon -- Apache Tuscany committer: tuscany.apache.org Co-author of a book about Tuscany and SCA: tuscanyinaction.com
