Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-699

XomPayloadMethodProcessor is not added methodReturnValueHandlers in DefaultMethodEndpointAdapter

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 2.0 GA
    • Fix Version/s: 2.0.1
    • Component/s: Core, XML
    • Labels:
      None
    • 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(...)

        Activity

        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        Fixed. Thanks for spotting this!

        Show
        arjen.poutsma Arjen Poutsma added a comment - Fixed. Thanks for spotting this!
        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        Closing old issues

        Show
        arjen.poutsma Arjen Poutsma added a comment - Closing old issues

          People

          • Assignee:
            arjen.poutsma Arjen Poutsma
            Reporter:
            sannies Sebastian Annies
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0d
              0d
              Logged:
              Time Spent - 0.2h
              0.2h