Affects Version/s: 1.1.1
Fix Version/s: current
If you have a schema which look like this:
<xs:element name="foo" type="bar" />
<xs:complexType name="bar" />
Then the code needed to be generated for parameters, not returns, will be default require the enclosing JAXBElement, more on this here:
So the user can work around this by specifying the xjc:simple binding file, which are are probably going to do by default in JDeveloper - this won't cover all cases.
So we need to test in the case of a parameter; but not a return type, whether the type in question is XmlRootElement or XmlType so in order to generate the right parameter wrapped with a JAXBElement, I guess we are going to have to create a GenericType for this also.