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 ru...@apache.org on 2005/08/12 12:34:44 UTC

svn commit: r232258 - in /webservices/axis/trunk/java/modules: core/src/org/apache/axis2/deployment/axis2.xml integration/test/org/apache/axis2/engine/CharctersetEncodingTest.java

Author: ruchithf
Date: Fri Aug 12 03:33:41 2005
New Revision: 232258

URL: http://svn.apache.org/viewcvs?rev=232258&view=rev
Log:
temporary fix for the conection reset problem in the CharSetEncoding test and adding https transport sender in axis2.xml

Modified:
    webservices/axis/trunk/java/modules/core/src/org/apache/axis2/deployment/axis2.xml
    webservices/axis/trunk/java/modules/integration/test/org/apache/axis2/engine/CharctersetEncodingTest.java

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis2/deployment/axis2.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis2/deployment/axis2.xml?rev=232258&r1=232257&r2=232258&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis2/deployment/axis2.xml (original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis2/deployment/axis2.xml Fri Aug 12 03:33:41 2005
@@ -54,7 +54,9 @@
     <transportSender name="http" class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">
         <parameter name="PROTOCOL" locked="xsd:false">HTTP/1.0</parameter>
     </transportSender>
-
+    <transportSender name="https" class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">
+        <parameter name="PROTOCOL" locked="xsd:false">HTTP/1.1</parameter>
+    </transportSender>
 
     <!-- Uncomment this one with the appropriate papameters to enable the SMTP transport Receiver
    <transportSender name="mail" class="org.apache.axis2.transport.mail.MailTransportSender">

Modified: webservices/axis/trunk/java/modules/integration/test/org/apache/axis2/engine/CharctersetEncodingTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/integration/test/org/apache/axis2/engine/CharctersetEncodingTest.java?rev=232258&r1=232257&r2=232258&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/integration/test/org/apache/axis2/engine/CharctersetEncodingTest.java (original)
+++ webservices/axis/trunk/java/modules/integration/test/org/apache/axis2/engine/CharctersetEncodingTest.java Fri Aug 12 03:33:41 2005
@@ -101,7 +101,15 @@
 			call.setTransportInfo(Constants.TRANSPORT_HTTP,
 					Constants.TRANSPORT_HTTP, false);
 
-
+			/**
+			 * Temporary Fix to occational connection reset problem 
+			 */
+			try {
+				Thread.sleep(200);
+			} catch (InterruptedException e1) {
+				log.error(e1,e1);
+			}
+			
 			OMElement resultElem = call.invokeBlocking(operationName
                     .getLocalPart(), payload);