[
https://issues.apache.org/jira/browse/CXF-883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517739
]
Chris McClelland commented on CXF-883:
--------------------------------------
That's weird, because after I filed this bug, I switched the default in
org.apache.cxf.tools.wsdlto.frontend.jaxws.customization.JAXWSBinding, and
everything works fine. By default it does BARE, and I can switch it to WRAPPED
by doing:
<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>true</enableWrapperStyle>
</bindings>
</bindings>
Naturally that's no good to you because JAX-WS is supposed to default to
WRAPPED.
> 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.