[
https://issues.apache.org/jira/browse/CXF-260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adi Sakala reassigned CXF-260:
------------------------------
Assignee: Daniel Kulp
> Clean up Soap headers usage
> ---------------------------
>
> Key: CXF-260
> URL: https://issues.apache.org/jira/browse/CXF-260
> Project: CXF
> Issue Type: Improvement
> Affects Versions: 2.0-M1
> Reporter: Dan Diephouse
> Assigned To: Daniel Kulp
> Fix For: 2.0-RC
>
>
> Currently ReadHeadersInterceptor does:
> message.setHeaders(Element.class, element);
> message.put(Element.class, element);
> (line 90)
> This should not happen. Only SoapMessage.headers should be set.
> In addition SoapInPostInterceptor uses message.get(Element.class) when it
> should be using SoapMEssage.getHeaders(). The SoapInPostInterceptor should
> probably be renamed something more useful like HeaderDatabindingInterceptor.
> We should also rework SoapHeader.getHeaders() to only return an Element. I
> don't think getHeaders(Class type) is the right way to handle multiple header
> formats.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.