cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eivind Berg Johannessen (JIRA)" <>
Subject [jira] Commented: (CXF-1905) WSDL2Java can't handle JAXB-bindings with split WSDLs
Date Mon, 16 Mar 2009 10:07:50 GMT


Eivind Berg Johannessen commented on CXF-1905:

I still get the exception from JAXB that "(...) is not a part of this compilation. Is this
a mistake for (...) ?". As this issue is closed, I was assuming that CXF now accepts the binding
files directly, but running the cxf-codegen maven plugin with the example project provided
with this issue, I still need to supply the binding files directly to xjc through and not
via the <bindingFiles> configuration paramters.

> WSDL2Java can't handle JAXB-bindings with split WSDLs
> -----------------------------------------------------
>                 Key: CXF-1905
>                 URL:
>             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.

View raw message