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

Incoming message with with UTF-8 BOM is failing

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.3
    • Fix Version/s: 1.5.4
    • Component/s: XML
    • Labels:
      None
    • Environment:
      Reproduced on Windows & Solaris/AMD

      Description

      When submitting a SOAP request that contains a UTF BOM http://unicode.org/faq/utf_bom.html#22, the following fault string is returned: "Could not access envelope: Unable to create envelope from given source:"

      After removing the offending BOM, and not manipulating the XML in any other way, the message is is delivered to the defined Endpoint successfully.

      Per http://unicode.org/faq/utf_bom.html#29 , Spring-WS should be able to transparently ignore the BOM on UTF-8 files.

      1. STARExportSigned_no_BOM.xml
        4 kB
        Nayan Hajratwala
      2. STARExportSigned_with_BOM.xml
        4 kB
        Nayan Hajratwala

        Activity

        nhajratw Nayan Hajratwala created issue -
        nhajratw Nayan Hajratwala made changes -
        Field Original Value New Value
        Attachment STARExportSigned_with_BOM.xml [ 14349 ]
        nhajratw Nayan Hajratwala made changes -
        Attachment STARExportSigned_no_BOM.xml [ 14350 ]
        arjen.poutsma Arjen Poutsma made changes -
        Fix Version/s 1.5.4 [ 11016 ]
        arjen.poutsma Arjen Poutsma made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        arjen.poutsma Arjen Poutsma made changes -
        Resolution Fixed [ 1 ]
        Status In Progress [ 3 ] Resolved [ 5 ]
        arjen.poutsma Arjen Poutsma made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: