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

maomaode closed CXF-502.
------------------------

    Resolution: Fixed

According to the JAX-WS spec 2.3.1.2 this is a bare style, So i closed this 
issue.

> xsd:any in wrapped type causes wsdl2java to generate as bare.
> -------------------------------------------------------------
>
>                 Key: CXF-502
>                 URL: https://issues.apache.org/jira/browse/CXF-502
>             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, pizza_service_cxf_wrapped_any_bug.zip
>
>
> 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/PizzaPortType.java.
> 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.

Reply via email to