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

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

Fundamentally, doesn't the grammar section of the WADL define the "what" and 
the representation define the "how"? How an object is serialized (and which 
provider handles that) shouldn't have any impact on the class structure that is 
generated off of the grammar.

That way a service should could define 1 object structure which it can accept 
via JSON or XML - maximizing service reuse regardless of the type of client 
being developed.


> 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