On 12 Mar 2014, at 7:17 PM, Sergey Beryozkin <[email protected]> wrote:
>> WADL can define a grammar to use for request and response formats, is >> wadl2java able to include these grammars into the generated code? > Yes Are there any working examples of how this is done? I find I'm struggling with a lot of documentation telling me that things are possible, but then losing interest when it gets to the "how is this possible" part. Do I have to configure the http://cxf.apache.org/cxf-xjc-plugin.html? I have tried an included XSD in the grammar, the code generation worked fine, but completely ignored the grammar. I then tried to inline the XSD, but ended up getting this: [ERROR] Failed to execute goal org.apache.cxf:cxf-wadl2java-plugin:2.7.10:wadl2java (generate-sources) on project users-api: java.lang.IllegalStateException: Unable to read wadl: Illegal processing instruction target ("xml"); xml (case insensitive) is reserved by the specs. [ERROR] at [row,col {unknown-source}]: [8,9] Regards, Graham --
