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

Emmanuel Texier commented on CXF-4932:
--------------------------------------

Thanks Sergey! I must say I am still learning the wadl syntax :) This wadl was 
taken from a suite of popular rest APIs found at 
https://github.com/apigee/wadl-library . Most of the time, I am able to tweak 
the WADLs to avoid some issues with generation. But I'll keep you posted if I 
found some other problems. Cheers!
                
> Illegal method arguments generated by Wadl2Java
> -----------------------------------------------
>
>                 Key: CXF-4932
>                 URL: https://issues.apache.org/jira/browse/CXF-4932
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS, Tooling
>    Affects Versions: 2.7.3
>            Reporter: Emmanuel Texier
>            Assignee: Sergey Beryozkin
>              Labels: patch
>             Fix For: 2.8.0, 2.7.4, 2.6.7, 2.5.10
>
>         Attachments: SourceGenerator.java.patch, twitter-wadl.xml
>
>
> I am trying to generate the JAX-RS interfaces from a public twitter wadl . 
> The generated methods contained arguments that conflicted with java reserved 
> keywords (ex: String long), or illegal ":" (ex: String 
> attribute:street_adress) .
> I looked at the original code (SourceGenerator.java), and will attach a 
> proposed patch that seems to work for me

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to