You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2008/06/19 22:39:45 UTC

[jira] Created: (CXF-1662) wsdl2java should check if using -p is safe to use

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



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.


[jira] Commented: (CXF-1662) wsdl2java should check if using -p is safe to use

Posted by "Sean O'Callaghan (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Resolved: (CXF-1662) wsdl2java should check if using -p is safe to use

Posted by "Sean O'Callaghan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-1662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean O'Callaghan resolved CXF-1662.
-----------------------------------

    Resolution: Fixed

http://svn.apache.org/viewvc?rev=691237&view=rev

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


[jira] Assigned: (CXF-1662) wsdl2java should check if using -p is safe to use

Posted by "Sean O'Callaghan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-1662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean O'Callaghan reassigned CXF-1662:
-------------------------------------

    Assignee: Sean O'Callaghan

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