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

Sean O'Callaghan commented on CXF-1662:
---------------------------------------

I tested this and it appears that a warning is being issued:

C:\CXFISSUES\CXF1662>wsdl2java -p test.sean hello_world.wsdl

WSDLToJava Error: Thrown by JAXB : A class/interface with the same name "test.se
an.FaultDetail" is already in use. Use a class customization to resolve this con
flict.



> wsdl2java should check if using -p is safe to use
> -------------------------------------------------
>
>                 Key: CXF-1662
>                 URL: https://issues.apache.org/jira/browse/CXF-1662
>             Project: CXF
>          Issue Type: Improvement
>          Components: Tooling
>            Reporter: Daniel Kulp
>            Assignee: Sean O'Callaghan
>
> If a wsdl has schemas in multiple namespaces and you use "-p package" to map 
> everything to one package, the result won't work with jaxb.   We need to 
> detect that and output a bunch of warnings about it.   Each schema needs it's 
> own package.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to