[
https://issues.apache.org/jira/browse/CXF-7699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Fabian González updated CXF-7699:
---------------------------------
Environment: (was: 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]
It 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}
)
> 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
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)