cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhar...@apache.org
Subject svn commit: r741879 - /cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapBindingFactory.java
Date Sat, 07 Feb 2009 11:34:43 GMT
Author: bharath
Date: Sat Feb  7 11:34:43 2009
New Revision: 741879

URL: http://svn.apache.org/viewvc?rev=741879&view=rev
Log:
While handling MIME part, if the extensibility element is a SOAP Header, the removal from
MessagePartInfo list was incorrect. Fixed this by passing the proper instance of MessagePartInfo.

Modified:
    cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapBindingFactory.java

Modified: cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapBindingFactory.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapBindingFactory.java?rev=741879&r1=741878&r2=741879&view=diff
==============================================================================
--- cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapBindingFactory.java
(original)
+++ cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapBindingFactory.java
Sat Feb  7 11:34:43 2009
@@ -712,7 +712,7 @@
 
                 if (mpi != null) {
                     headerInfo.setPart(mpi);
-                    messageParts.remove(mpart);
+                    messageParts.remove(mpi);
                     bmsg.getMessageParts().remove(mpi);
                     bmsg.addExtensor(headerInfo);
                 }



Mime
View raw message