[ https://issues.apache.org/jira/browse/TUSCANY-2002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Raymond Feng reassigned TUSCANY-2002: ------------------------------------- Assignee: Raymond Feng > SDO databinding doesn't have access to the SDO factories which are not > referenced by an component service/reference interface > ----------------------------------------------------------------------------------------------------------------------------- > > Key: TUSCANY-2002 > URL: https://issues.apache.org/jira/browse/TUSCANY-2002 > Project: Tuscany > Issue Type: Bug > Components: Java SCA Data Binding Runtime > Affects Versions: Java-SCA-Next > Reporter: Raymond Feng > Assignee: Raymond Feng > Fix For: Java-SDO-Next > > > In a doc-lit-wrapped WSDL (a.wsdl), we define the wrapper element > (http://ns1) in the inline schema which imports other XSD types (http://ns2) > from an XSD file (b.xsd), Running the SDO XSD2Java codegen on a.wsdl and > b.xsd will generate two SDO factories, one for http://ns1 and one for > http://ns2. > Now let's assume a java interface is used by the component, and it has the > following method. > Quote getQuote(String symbol); // Quote is a generated SDO class/interface, > getQuote and getQuoteResponse are the wrapper elements. > The SDO databinding gains access to the fatory for http://ns2 but not > http://ns1 since the getQuote/getQuoteResponse is not referenced on this > method. As a result, the SDO wrapping/unwrapping data transformation will be > broken as the SDO factory for http://ns2 is not registered. > The workaround is to use import.sdo. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]