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

debug logging will hide parsing error on non well formed xml, and continue processing with incomplete xml

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.5.7
    • Fix Version/s: 1.5.9
    • Component/s: XML
    • Labels:
      None
    • Environment:
      java version "1.6.0_07"
      Windows & Linux

      Description

      logResponse will call toString() on the message, this will trigger the parsing of the xml, parsing exceptions are suppressed by toString. However the message (SaajSoapMessage) will be partially filled.
      When getEnvelope() is called the incomplete message will be returned without any error or exception.

        Activity

        woltere Wolter Eldering created issue -
        woltere Wolter Eldering made changes -
        Field Original Value New Value
        Attachment MessageLazyLoadTest.java [ 15999 ]
        arjen.poutsma Arjen Poutsma made changes -
        Fix Version/s 1.5.9 [ 11296 ]
        arjen.poutsma Arjen Poutsma made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        arjen.poutsma Arjen Poutsma made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Cannot Reproduce [ 5 ]
        arjen.poutsma Arjen Poutsma made changes -
        Time Spent 14m [ 840 ]
        Remaining Estimate 0d [ 0 ]
        arjen.poutsma Arjen Poutsma made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            arjen.poutsma Arjen Poutsma
            Reporter:
            woltere Wolter Eldering
          • Votes:
            0 Vote for this issue
            Watchers:
            0 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 - 14m
              14m