axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From axis-...@ws.apache.org
Subject [jira] Commented: (AXIS-1545) Adding SOAPAction MimeHeader generates 2 SOAPAction's in the actual message
Date Fri, 03 Sep 2004 17:41:50 GMT
The following comment has been added to this issue:

     Author: Ias
    Created: Fri, 3 Sep 2004 10:41 AM
       Body:
Could you apply this patch and test your case?

Index: HTTPSender.java
===================================================================
RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/transport/http/HTTPSender.java,v
retrieving revision 1.118
diff -u -r1.118 HTTPSender.java
--- HTTPSender.java	4 Jun 2004 12:05:48 -0000	1.118
+++ HTTPSender.java	3 Sep 2004 17:38:48 -0000
@@ -350,7 +350,9 @@
         if (mimeHeaders != null) {
             for (Iterator i = mimeHeaders.getAllHeaders(); i.hasNext(); ) {
                 MimeHeader mimeHeader = (MimeHeader) i.next();
-                if (mimeHeader.getName().equals(HTTPConstants.HEADER_CONTENT_TYPE)) {
+                String headerName = mimeHeader.getName();
+                if (headerName.equals(HTTPConstants.HEADER_CONTENT_TYPE)
+                        || headerName.equals(HTTPConstants.HEADER_SOAP_ACTION)) {
                 	continue;
                 }
                 header2.append(mimeHeader.getName())

Thanks,

Ias
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/AXIS-1545?page=comments#action_52809

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

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1545
    Summary: Adding SOAPAction MimeHeader generates 2 SOAPAction's in the actual message
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Axis
 Components: 
             Basic Architecture
   Versions:
             1.2 Beta

   Assignee: 
   Reporter: Erich Oliphant

    Created: Fri, 3 Sep 2004 7:56 AM
    Updated: Fri, 3 Sep 2004 10:41 AM

Description:
Some code that worked with an older Sun JAXM RI is not working properly w/ the latest AXIS.
 Setting the SOAPAction via MimeHeader.addHeader() seems to create 2 copies of the header
in the request message.

This code:





---------------------------------------------------------------------
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