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

xml:lang="en" attribute in <faultstring> element is not compliant to SOAP/1.1 schema

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.1
    • Fix Version/s: 1.5.7
    • Component/s: None
    • Labels:
      None

      Description

      There is xml:lang="en" attribute in <faultstring> element although SOAP/1.1 schema doesn't provide it.
      Yes, it may be suppressed if set faultStringOrReasonLocale property for all affected endpoints to null,
      set empty language for each and every exception mapping in SoapFaultMappingExceptionResolver (BTW, it is not
      very well documented how to do it), set to null faultStringOrReasonLocale for message dispatcher,
      oh did I forget something?

      Probably, it may as well be avoided by subclassing of each of above mentioned classes (and likely some others),
      but then each developer need to use them.

      See as well http://www.eviware.com/component/option,com_smf/Itemid,53/topic,1044.0

      IMHO, or it should comply with schema by default, or, in the worst case, it should exist some global setting
      "be compliant".

      Kind regards,
      Oleksandr

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          8m 12s 1 Arjen Poutsma 12/Feb/09 1:50 AM
          Resolved Resolved Reopened Reopened
          5d 18h 53m 1 Arjen Poutsma 17/Feb/09 8:44 PM
          Reopened Reopened In Progress In Progress
          85d 51m 1 Arjen Poutsma 13/May/09 9:35 PM
          In Progress In Progress Resolved Resolved
          1h 2m 1 Arjen Poutsma 13/May/09 10:38 PM
          Resolved Resolved Closed Closed
          1086d 8h 25m 1 Arjen Poutsma 04/May/12 7:03 AM

            People

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

              Dates

              • Created:
                Updated:
                Resolved: