You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Fabian González (JIRA)" <ji...@apache.org> on 2018/04/04 20:11:00 UTC
[jira] [Updated] (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 ]
Fabian González updated CXF-7699:
---------------------------------
Affects Version/s: 2.7.18
> 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
> Environment: 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}
>
> Reporter: Fabian González
> Priority: Major
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)