You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ax...@ws.apache.org on 2004/10/15 19:55:51 UTC

[jira] Updated: (AXIS-1523) Adding mime headers to SOAPPart does not propagate to client

The following issue has been updated:

    Updater: Davanum Srinivas (mailto:davanum@gmail.com)
       Date: Fri, 15 Oct 2004 10:55 AM
    Changes:
             Component changed to SAAJ
             Component changed from Basic Architecture
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/AXIS-1523?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXIS-1523

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1523
    Summary: Adding mime headers to SOAPPart does not propagate to client
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Axis
 Components: 
             SAAJ
   Versions:
             current (nightly)
             beta-3

   Assignee: 
   Reporter: Shantanu Sen

    Created: Sat, 21 Aug 2004 4:17 AM
    Updated: Fri, 15 Oct 2004 10:55 AM
Environment: 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. 


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira