Uploaded image for project: 'Axis'
  1. Axis
  2. AXIS-1523

Adding mime headers to SOAPPart does not propagate to client

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • beta-3
    • None
    • SAAJ
    • None
    • W2k

    Description

      If a customer mime header is added to a SOAP Part using the API SOAPPart.addMimeHeader, the header does not propagate as an HTTP header to the client.

      The issue is with org/apache/axis/transport/http/AxisServlet.java in the doPost method where it is adding mime headers to the HttpServletResponse if the headers are present in the response message, but it is not checking the SOAPPart to see if any mime headers have been set there.

      I am attaching a patch and a test case.

      Attachments

        1. handler-test.zip
          13 kB
          Shantanu Sen
        2. axis-servlet.zip
          12 kB
          Shantanu Sen

        Activity

          People

            Unassigned Unassigned
            ssen Shantanu Sen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: