Thanks! I'll look at this next. Glen
Am Samstag, den 29.09.2007, 19:23 -0700 schrieb maomaode (JIRA): > [ > https://issues.apache.org/jira/browse/CXF-927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12531288 > ] > > maomaode commented on CXF-927: > ------------------------------ > > * > cxf/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customization/CustomizationParser.java > This is class is used to parse the binding file, and will merge the > bindinding file as embedded customization rules into the wsdl. check if the > enableWrapperStyle is set there > > The customization is done after the wsdlDefinition is built , see > > * > tools/wsdlto/core/src/main/java/org/apache/cxf/tools/wsdlto/WSDLToJavaContainer.java > > The customized definition will be a input to the ServiceBuilder, which build > the CXF wsdlModel, which will pass in to a processor chain which generate the > artifacts. > > You probably should look at the > * rt/core/src/main/java/org/apache/cxf/wsdl11/WSDLServiceBuilder.java, the > build determine if the parameter style is in bare or wrapped, just make sure > the enableWrappedStyle is passed to this builder. > > > > > > jaxws:enableWrapperStyle apparently not working > > ----------------------------------------------- > > > > Key: CXF-927 > > URL: https://issues.apache.org/jira/browse/CXF-927 > > Project: CXF > > Issue Type: Bug > > Components: Tooling > > Affects Versions: 2.0.1 > > Reporter: Glen Mazza > > Priority: Minor > > > > jaxws:enableWrapperStyle is working for Metro but not CXF for the Amazon E > > Commerce Service[1]'s WSDL[2]. CXF's output is always in non-wrapped > > format (ParameterStyle.BARE) when generated by CXF. For Metro, this WSDL > > is in wrapper style by default. (It is apparently OK that CXF defaults to > > non-wrapped, because Section 2.3.1.2 of the JAX-WS spec apparently does not > > mandate wrapper style by default, but the enableWrapperStyle flag should > > still be able to work.) > > [1] > > http://www.amazon.com/E-Commerce-Service-AWS-home-page/b?ie=UTF8&node=12738641 > > [2] > > http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl? > > [3] <portType name="AWSECommerceServicePortType"> > > <jaxws:bindings xmlns:jaxws="http://java.sun.com/xml/ns/jaxws"> > > <jaxws:enableWrapperStyle>false</jaxws:enableWrapperStyle> > > </jaxws:bindings> > > .... >
