[ 
https://issues.apache.org/jira/browse/CXF-1905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Kulp resolved CXF-1905.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.4
                   2.0.10
         Assignee: Daniel Kulp

> WSDL2Java can't handle JAXB-bindings with split WSDLs
> -----------------------------------------------------
>
>                 Key: CXF-1905
>                 URL: https://issues.apache.org/jira/browse/CXF-1905
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.1.3
>            Reporter: Janko Heilgeist
>            Assignee: Daniel Kulp
>             Fix For: 2.0.10, 2.1.4
>
>         Attachments: hello-world-service.tar.gz
>
>
> The documentation on WSDL2Java says about the parameter "-b": "Specifies 
> zero, or more, JAXWS or JAXB binding files." In fact, WSDL2Java can not 
> handle specified JAXB binding files if the WSDL is split, i.e. it is given a 
> WSDL with service and binding definitions, which imports another WSDL with 
> port type and messages definitions, which in turn imports an XML schema file.
> The command line "wsdl2java -validate -b jaxb-custom.xjb 
> hello-world-service.wsdl" will fail with
> WSDLToJava Error: Thrown by JAXB : 
> "file:/home/jheilgei/DEV/workspaces/cxf-mini/hello-world-service.wsdl" is not 
> a part of this compilation. Is this a mistake for 
> "file:/home/jheilgei/DEV/workspaces/cxf-mini/hello-world-abstract.wsdl"?
> while the command line "wsdl2java -validate -xjc-b,jaxb-custom.xjb 
> hello-world-service.wsdl" which gives the binding file directly to the JAXB 
> binding compiler will succeed.

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