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

Owen Farrell commented on CXF-5728:
-----------------------------------

I know they're two different technologies, but consider the fact that the 
popular JSON libraries leverage JAXB annotations to perform their magic. In 
that light, I don't know that it is unreasonable to think that clients would be 
unable or unwilling to leverage structure definitions independently of 
serialization.

I wasn't aware that you could already link JSON to the XML schema by injecting 
a WADLGenerator property. Is that same JSON linking property available in 
reverse - in the wadl2java scenario?

BTW - the idea of extending that extension to cover all MIME types is a great 
idea!


> 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)

Reply via email to