Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-4791

JAX-WS: Support an option to allow invalid xml characters to be removed from an outbound JAXB serialization

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      Background:
      The JAX-WS engine uses JAXB data objects.
      The JAXB data objects are marshaled to xml using a JAXB provided Marshaler.
      The Marshaler writes information to an XMLStreamWriter (which will be the axiom provided MTOMXMLStreamWriter).

      Problem:
      If a customer populates the JAXB bean with non-xml characters (0x15), the JAXB Marshaler will write the illegal characters without errors.
      However the SOAP node receiving the message will fail.

      Solution:
      Provide a JAX-WS property that a customer can set (using the @WebServiceContext) to recognize and remove illegal characters.

      This solution will have an axiom and axis2 contribution.

      Attachments

        Activity

          People

            scheu@us.ibm.com Rich Scheuerle
            scheu@us.ibm.com Rich Scheuerle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 48h
                48h
                Remaining:
                Remaining Estimate - 48h
                48h
                Logged:
                Time Spent - Not Specified
                Not Specified