Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Java-SCA-1.x
-
None
Description
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.