Hi,

Try with -bareMethods of wsdl2java

 -bareMethods<[=method1,method2,...]>*
                     Specifies a comma separated list of methods that should not
                     be unwrapped into individual parameters and instead be left
                     in their "bare" form.
-------------
Freeman(Yue) Fang

Red Hat, Inc. 
FuseSource is now part of Red Hat
Web: http://fusesource.com | http://www.redhat.com/
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: @Freeman小屋



On 2013-10-21, at 下午5:00, Lenden wrote:

> Hello,
> 
> currently, i'm setting the option "- b mybindingfile.xjb" in wsdl2java
> command to "enableWrapperStyle" to false.
> 
> This file look like this:
> <jaxws:bindings
>    xmlns:xsd="http://www.w3.org/2001/XMLSchema";
>    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
>    wsdlLocation="ws.wsdl"
>    xmlns="http://java.sun.com/xml/ns/jaxws";
>    xmlns:jaxws="http://java.sun.com/xml/ns/jaxws";>
>    <enableWrapperStyle>false</enableWrapperStyle>
> </jaxws:bindings>
> 
> I would like to know is it possible to set to false "enableWrapperStyle" in
> another way in wsdl2java command?
> Maybe something like wsdl2java -d src -enableWrapperStyle false myfile.wsdl
> (i know it doesn't exists, it's just an example :) )
> 
> Thank you
> 
> 
> 
> --
> View this message in context: 
> http://cxf.547215.n5.nabble.com/enableWrapperStyle-using-wsdl2java-tool-tp5735326.html
> Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to