cxf-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/CXF-5728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14004622#comment-14004622
] 

Sergey Beryozkin commented on CXF-5728:
---------------------------------------

See https://issues.apache.org/jira/browse/CXF-5757, 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: https://issues.apache.org/jira/browse/CXF-5728
>             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
(v6.2#6252)

Mime
View raw message