cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet" <gno...@gmail.com>
Subject Re: Wrapped operation info
Date Fri, 15 Sep 2006 14:57:43 GMT
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 <gnodet@gmail.com> 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

Mime
View raw message