You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Eamonn Dwyer (JIRA)" <ji...@apache.org> on 2009/03/30 19:04:50 UTC

[jira] Created: (CXF-2144) wsdl2java -p compile error message should be updated

wsdl2java -p compile error message should be updated
----------------------------------------------------

                 Key: CXF-2144
                 URL: https://issues.apache.org/jira/browse/CXF-2144
             Project: CXF
          Issue Type: Bug
          Components: Tooling
    Affects Versions: 2.2
            Reporter: Eamonn Dwyer
             Fix For: 2.2.1


If a wsdl file imports an xsd and you try to specify a package name using -p, then the following error is given.
"-p option cannot be used when wsdl contains mutiple schemas"

While this is correct, it would be more useful to say
"-p option cannot be used when wsdl contains mutiple schemas, unless a namespace to package mapping is specified, 
 for example -p http://blah.com=com.blah  -p http://foo.com=com.foo"

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


[jira] Resolved: (CXF-2144) wsdl2java -p compile error message should be updated

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

Daniel Kulp resolved CXF-2144.
------------------------------

    Resolution: Fixed


The error was removed as the issue is fixed in the latest JAXB implementations.

> wsdl2java -p compile error message should be updated
> ----------------------------------------------------
>
>                 Key: CXF-2144
>                 URL: https://issues.apache.org/jira/browse/CXF-2144
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.2
>            Reporter: Eamonn Dwyer
>             Fix For: 2.2.1
>
>
> If a wsdl file imports an xsd and you try to specify a package name using -p, then the following error is given.
> "-p option cannot be used when wsdl contains mutiple schemas"
> While this is correct, it would be more useful to say
> "-p option cannot be used when wsdl contains mutiple schemas, unless a namespace to package mapping is specified, 
>  for example -p http://blah.com=com.blah  -p http://foo.com=com.foo"

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