On Mar 20, 2013, at 1:57 PM, Richard Senior <[email protected]> wrote:
> Sorry if that was a bit long winded... > Two short questions : > 1) Why is it that cxf-codegen-plugin produces valid classes without > complaint but at runtime, schema validation fails. Honestly, not sure on that. We may be passing the schemas directly into JAXB without processing them ourselves first. I'd have to dig through. > 2) Why is schema validation occuring at runtime at all... when instantiating > a jaxws:endpoint since the classes are already generated? If you set the wsdlLocation for the jaxws:endpoint to null, it will generate a new schema based on the JAXB objects. For the most part though, if you want the original wsdl, then we will parse/process it and make sure everything maps up correctly and make sure it's valid. > 3) does the schema prohibit the 'use' attribute when it is used on a any > subobject of 'complex type' > So to be clear, it is used in my case on a simplecontent object that is > buried within a complex type. We'd need a full test case. If you can produce a test case, feel free to log a bug. We certainly have a bunch of test cases that have the use attribute on attributes of complexTypes. Thus, from what we have tests for, it's working. We'd need a new test that shows what exactly is not working. -- Daniel Kulp [email protected] - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com
