[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 Fri Dec 15 04:13:30 UTC 2017 using JIRA 6.4.14#64029-sha1:ae256fe0fbb912241490ff1cecfb323ea0905ca5.