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

Make PayloadValidatingInterceptor more customizable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0 M1
    • Fix Version/s: 1.0 M2
    • Component/s: Core
    • Labels:
      None

      Description

      From the forum http://forum.springframework.org/showpost.php?p=67520&postcount=8

      "in PayloadValidatingInterceptor, the validation error string and the validation detail element qname should be optional properties, not fixed strings. I might have an existing convention for error names, or I might not want to expose implementation details."

      I will make the validation error string a settable property, and add a boolean property to disable the validation detail elements.

        Activity

        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        I've added a validationErrorFaultString property, a validationErrorDetailElementName, and a addValidationErrorDetail property.

        Show
        arjen.poutsma Arjen Poutsma added a comment - I've added a validationErrorFaultString property, a validationErrorDetailElementName, and a addValidationErrorDetail property.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: