Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-1647

Text Node Preservation For Messages Sent Across The Wire

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jbossws-2.0.0
    • None
    • jbossws-native
    • None

      Issue JBWS-1511 added support for the MessageFactory to preserve comments and text nodes.

      This Jira issue is to add tests for these messages being sent across the wire and to fix the associated issues.

      • SOAPMessage.writeTo comments after body were not escaped.
      • SOAPElementImpl was trimming text nodes so they were getting dropped.

      Then running the test suite there were problems in the following areas: -

      • A number of areas did not expect child nodes to be text nodes and were thrown ClassCastExceptions so have changed to skip these.
      • A number of tests also did not expect this so have changed these tests to call getChildElements and pass in the expected name so the text nodes will not be returned.

              darran.lofthouse@redhat.com Darran Lofthouse
              darran.lofthouse@redhat.com Darran Lofthouse
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: