The flag a should be true for the BARE style. For the Java method (generated from WSDL or annotated with JAX-WS), the parameters are child elements by default. Only when the BARE is present for the doc-lit-wrapper style WSDL, the payload is a wrapper. For plain doc-lit WSDL case, it should be always bare, no need to wrap.
For example: QuoteResponse getQuote(Quote quote); Thanks, Raymond ________________________________________________________________ Raymond Feng rf...@apache.org Apache Tuscany PMC member and committer: tuscany.apache.org Co-author of Tuscany SCA In Action book: www.tuscanyinaction.com Personal Web Site: www.enjoyjava.com ________________________________________________________________ On Jan 28, 2011, at 11:55 AM, Scott Kurz wrote: > Raymond, > > Thanks for writing that up in such detail to move the discussion forward. > > Before I respond.. I got a bit lost when you said: > >> 2 When we introspect the Java interface (maybe with JAX-WS annotations), we >> can set the flag >> >> a) is set true only if the @SOAPBinding.parameterStyle == ParameterStyle.BARE > > Did you mean set to 'false' if the annotation was found set to BARE? > > It seems like based on your examples 3.1-3.4, this is what you must have > meant. > > Scott