cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Moesel (JIRA)" <>
Subject [jira] Updated: (CXF-502) xsd:any in wrapped type causes wsdl2java to generate as bare.
Date Thu, 29 Mar 2007 16:52:25 GMT


Chris Moesel updated CXF-502:

    Attachment: pizza.wsdl

Example WSDL that demonstrates a doc/literal wrapped definition that CXF generates as bare.

> xsd:any in wrapped type causes wsdl2java to generate as bare.
> -------------------------------------------------------------
>                 Key: CXF-502
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.0-RC
>         Environment: Using 2.0 RC-Snapshot from Maven Repo.
>            Reporter: Chris Moesel
>         Attachments: pizza.wsdl,
> CXF 2.0 RC SNAPSHOT:  If a doc/literal wrapped WSDL uses xsd:any in the wrapped request
or response type, then the WSDL2Java tool will generate the interface with style SOAPBinding.ParameterStyle.BARE.
> I will attach a maven project that demonstrates this, as well as a separate WSDL document.
> To see this in action, run: "mvn generate-sources" on the attached example project.
> The WSDL can be found at src/main/resources/pizza.wsdl.
> The incorrectly generated interface can be found (after executing maven) at target/generated/src/main/java/com/mypizzaco/service/
> If you comment out the xsd:any element in the WSDL and regenerate the source code, you
will see it correctly generated as WRAPPED.

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

View raw message