You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2007/08/05 04:21:52 UTC

[jira] Commented: (CXF-883) wsdl2java in apache-cxf-2.1-incubator-20070729.204751-4 does not honour the enableWrapperStyle flag.

    [ https://issues.apache.org/jira/browse/CXF-883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517738 ] 

Daniel Kulp commented on CXF-883:
---------------------------------


Just to let you know, I can confirm this.    It works if you point the "node" to the portType node (or all the way to the operation), but seems to not be processed if top level.



> wsdl2java in apache-cxf-2.1-incubator-20070729.204751-4 does not honour the enableWrapperStyle flag.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: CXF-883
>                 URL: https://issues.apache.org/jira/browse/CXF-883
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.0, 2.1
>         Environment: Linux, SunJDK 1.6.0_01
>            Reporter: Chris McClelland
>             Fix For: 2.1
>
>
> When <enableWrapperStyle>false</enableWrapperStyle> appears in the binding file, wsdl2java should generate an SEI using ParameterStyle.BARE.
> <bindings xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>           xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>           wsdlLocation="hbp.wsdl"
>           xmlns="http://java.sun.com/xml/ns/jaxws">
>   <bindings node="wsdl:definitions">
>     <enableWrapperStyle>false</enableWrapperStyle>
>   </bindings>
> </bindings>
> JAVA_HOME=/usr/local/jdk1.6.0 /home/chris/apache-cxf-2.1-incubator-SNAPSHOT/bin/wsdl2java -b bindings.xml -d . -verbose -compile hbp.wsdl

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