Hi Nodet, I think detecting wrapped operation is related to jaxws specification . According to jax-ws section 2.3 and 2.6.2 ,the hello operation in the attached wsdl will be mapped to no-wrapper style .
So , do we need to add a parameter which specify whether it is jaxws front-end in isUnwrapped() operation ? Regards Jim > -----Original Message----- > From: Guillaume Nodet [mailto:[EMAIL PROTECTED] > Sent: Friday, September 15, 2006 10:58 PM > To: [email protected] > Subject: Re: Wrapped operation info > > > On a related point, the > MessagePartInfo.isInSoapHeader() > information is part of the binding and not part of > the abstract model ... > This information should also be moved on the > BindingOperationInfo somehow. > > On 9/15/06, Guillaume Nodet <[EMAIL PROTECTED]> wrote: > > I've raised a JIRA issue about wrapping informations [1]. > > The wrapping informations for an operation is an effect of > > the binding, not of the abstract operation. > > All informations from the OperationInfo should be removed > > and put in the BindingOperationInfo. > > > > It seems that actually the only information needed is wether > > the bound operation is wrappable or not, which should be > > a simple boolean on the BindingOperationInfo > > > > boolean isUnwrapped() > > > > The WSDLServiceFactory should be modified accordingly to > > detect wrapped operation when the binding is built and > > set this boolean flag if only one part is bound to the soap body. > > Currently, it only check the number of parts in the message, > > but fails to check if some of them are mapped to soap > > headers. > > > > [1] http://issues.apache.org/jira/browse/CXF-90 > > > > -- > > Cheers, > > Guillaume Nodet > > > > > -- > Cheers, > Guillaume Nodet
