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 he...@apache.org on 2005/07/04 13:00:30 UTC
svn commit: r209057 -
/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPTransportSender.java
Author: hemapani
Date: Mon Jul 4 04:00:25 2005
New Revision: 209057
URL: http://svn.apache.org/viewcvs?rev=209057&view=rev
Log:
fixed the error in HTTP transport Sender error handling and fix the chuncking error
Modified:
webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPTransportSender.java
Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPTransportSender.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPTransportSender.java?rev=209057&r1=209056&r2=209057&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPTransportSender.java (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/transport/http/HTTPTransportSender.java Mon Jul 4 04:00:25 2005
@@ -149,6 +149,7 @@
if(chuncked || msgContext.isDoingMTOM()){
if (chuncked) {
((ChunkedOutputStream) out).eos();
+ in = new ChunkedInputStream(transportInfo.in);
}
in = transportInfo.in;
}else{
@@ -191,12 +192,8 @@
}
}
}
- } catch (AxisFault e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- } catch (IOException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
+ }catch (IOException e) {
+ throw new AxisFault(e);
}
}