Be very careful with the spelling of the flag used to turn on/turn off
wrapper style--it is also case-sensitive.  Also, make sure you have included
the jaxws: prefix to enableWrapperStyle if you are defining this within your
WSDL, and further, your WSDL is defined in a way that allows wrapper style
to occur, and that also, you understand the difference between wrapper and
non-wrapper style--I've always found it annoyingly counterintuitive.  More
info:

http://cwiki.apache.org/CXF20DOC/wsdl-to-java.html#WSDLtoJava-wrapperstyle

Glen


forda wrote:
> 
> Hello !
> 
> According to how doc-literal wrapped is written in the WSDL,
> it should generate the request and response wrapper for each
> messages, but it generates Bare instead. Using the maven-codegen-plugin.
> I also applied a binding enabling this option, it makes no difference.
> I scanned this forum seem to be a bug before but does it still exist in
> version 2.2 of CXF ?
> 

-- 
View this message in context: 
http://www.nabble.com/Wsdl2Java-Generating-BARE-not-WRAPPED-tp23138624p23139576.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to