cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <>
Subject [jira] [Commented] (CXF-5728) wadl2java plugin does not create correctly typed parameters
Date Wed, 21 May 2014 12:41:38 GMT


Sergey Beryozkin commented on CXF-5728:

See, configuring WADLGenerator with a new "linkAnyMediaTypeToXmlSchema"
will enable the linking...

Now, I'm going to re-qualify this issue. It will be about an optional support for emulating
JSON arrays or rootless sequences (in java to wadl and wadl to java) with the help of XML
schema - the only way to do it is to use a single repeating typed representation parameter
as opposed to using the actual representation element link because XMLSchema can not emulate
such sequences. This will become an extension because WADL doc is clear enough about the role
of individual representation parameters

> wadl2java plugin does not create correctly typed parameters
> -----------------------------------------------------------
>                 Key: CXF-5728
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.7.11
>            Reporter: Owen Farrell
>             Fix For: 2.7.12
>         Attachments: myschema.xsd, wadl2JavaTest.wadl
> When interpreting a WADL with a fully-qualified parameter type, the wadl2java plugin
converts the parameter to a String in the stubbed interface instead of the class generated
from the grammar's schema.

This message was sent by Atlassian JIRA

View raw message