axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r733295 - /webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/saaj/SOAPPartImpl.java
Date Sat, 10 Jan 2009 16:10:22 GMT
Author: veithen
Date: Sat Jan 10 08:10:22 2009
New Revision: 733295

URL: http://svn.apache.org/viewvc?rev=733295&view=rev
Log:
Removed unreachable code: multipart/related is handled elsewhere. Note that the code is incorrect
anyway: XMLStreamReader/StAXSOAPModelBuilder can't handle multipart/related content directly.

Modified:
    webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/saaj/SOAPPartImpl.java

Modified: webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/saaj/SOAPPartImpl.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/saaj/SOAPPartImpl.java?rev=733295&r1=733294&r2=733295&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/saaj/SOAPPartImpl.java
(original)
+++ webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/saaj/SOAPPartImpl.java
Sat Jan 10 08:10:22 2009
@@ -191,10 +191,6 @@
                                                        new SOAP12Factory(),
                                                        SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI);
 
-                } else if (HTTPConstants.MEDIA_TYPE_MULTIPART_RELATED.equals(contentType))
{
-                    builder = new StAXSOAPModelBuilder(streamReader,
-                                                       new SOAP11Factory(),
-                                                       null);
                 } else {
                     builder = new StAXSOAPModelBuilder(streamReader,
                                                        new SOAP11Factory(),



Mime
View raw message