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


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