Well, the Coaches2Names operation doesn't meet the requirements for unwrapping. The name of the request element must match the operation name (it doesn't, it's "Coaches2") and the response should be the operation name + "Response". That is why it's not unwrapping.
Dan On Sunday, October 16, 2011 7:01:54 PM Антон Щепелин wrote: > Hi everyone, > > I use Wsdl2Java (cxf-2.4.3) to create Java classes from wsdl (wsdl file is > attached). > I have 2 operations which actually has the same structure and differs only > by the names. > In the results : for one operation it generates wrapped style class for > another - unwrapped. > I tried to use option in the wsdl: > <jaxws:bindings xmlns:jaxws="http://java.sun.com/xml/ns/jaxws"> > <jaxws:enableWrapperStyle>...</jaxws:enableWrapperStyle> > </jaxws:bindings> > but it doesn't help. > > Why they differs? I want to have both in non-wrapper style... > Is it a bug or I misunderstand something? > > Thank you! > > Anton -- Daniel Kulp [email protected] http://dankulp.com/blog Talend - http://www.talend.com
