[SWS-699] XomPayloadMethodProcessor is not added methodReturnValueHandlers in DefaultMethodEndpointAdapter Created: 24/Mar/11  Updated: 04/May/12  Resolved: 28/Mar/11

Status: Closed
Project: Spring Web Services
Component/s: Core, XML
Affects Version/s: 2.0 GA
Fix Version/s: 2.0.1

Type: Bug Priority: Minor
Reporter: Sebastian Annies Assignee: Arjen Poutsma
Resolution: Complete Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 0.2h
Original Estimate: Not Specified
Environment:

all



 Description   
      private void initMethodReturnValueHandlers() {
            ...
            if (isPresent(XOM_CLASS_NAME)) {
                methodArgumentResolvers.add(new XomPayloadMethodProcessor());
            }
            ...
      }

as you can see the XomPayloadMethodProcessor is added to the methodArgumentResolvers and not to the methodReturnValueHandlers.

To fix the problem just replace the methodArgumentResolvers.add(...) with methodReturnValueHandlers.add(...)



 Comments   
Comment by Arjen Poutsma [ 28/Mar/11 ]

Fixed. Thanks for spotting this!

Comment by Arjen Poutsma [ 04/May/12 ]

Closing old issues

Generated at Wed Oct 17 03:07:53 UTC 2018 using JIRA 7.9.2#79002-sha1:3bb15b68ecd99a30eb364c4c1a393359bcad6278.