axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From axis-...@ws.apache.org
Subject [jira] Updated: (AXIS-1523) Adding mime headers to SOAPPart does not propagate to client
Date Sat, 21 Aug 2004 11:22:19 GMT
The following issue has been updated:

    Updater: Shantanu Sen (mailto:ssen@pacbell.net)
       Date: Sat, 21 Aug 2004 4:21 AM
    Comment:
I had added this test case for another patch. This can also be used to test this patch. Basically,
a server side handler adds a specific mime-header to the SOAPPart. A client side handler prints
out the headers. Please go to the end of the readme file present in the zip to get instructions
to run the test.
    Changes:
             Attachment changed to handler-test.zip
    ---------------------------------------------------------------------
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: 
             Basic Architecture
   Versions:
             current (nightly)
             beta-3

   Assignee: 
   Reporter: Shantanu Sen

    Created: Sat, 21 Aug 2004 4:17 AM
    Updated: Sat, 21 Aug 2004 4:21 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


Mime
View raw message