You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org> on 2019/05/03 15:40:00 UTC
[jira] [Resolved] (CXF-7699) StaxDataBindingInterceptor does not
correctly resolve the Operation according to message
[ https://issues.apache.org/jira/browse/CXF-7699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Colm O hEigeartaigh resolved CXF-7699.
--------------------------------------
Resolution: Cannot Reproduce
Please supply a test-case and re-open.
> StaxDataBindingInterceptor does not correctly resolve the Operation according to message
> ----------------------------------------------------------------------------------------
>
> Key: CXF-7699
> URL: https://issues.apache.org/jira/browse/CXF-7699
> Project: CXF
> Issue Type: Bug
> Components: JAX-WS Runtime
> Affects Versions: 2.7.18
> Reporter: Fabian González
> Priority: Major
>
> StaxDataBindingInterceptor does not correctly resolve the Operation according to message.
> Notice that here:
> [https://github.com/apache/cxf/blob/master/core/src/main/java/org/apache/cxf/databinding/stax/StaxDataBindingInterceptor.java#L68]
> is not taking into account that there are times when the binding have multiple operations. So the Operation info has to be resolved according to the operation in the message.
> For example:
>
> {code:java}
> if (bop == null) {
> Endpoint ep = exchange.get(Endpoint.class);
> bop = ep.getBinding().getBindingInfo().getOperation(xmlReader.getName());
> if (bop == null) {
> bop = ep.getBinding().getBindingInfo().getOperations().iterator().next();
> }
> }
> {code}
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)