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 st...@apache.org on 2003/10/05 09:04:34 UTC
cvs commit: ws-axis/java/test/encoding PackageTests.java
stevel 2003/10/05 00:04:34
Modified: java/src/org/apache/axis/components/encoding
AbstractXMLEncoder.java
java/src/org/apache/axis Constants.java
java/test/encoding PackageTests.java
Log:
having got the package tests to run, they were failing all day with an error, that forced me to resort to hex dumps of strings.
Turns out we were transposing \n and \r in the new (post Axis1.1) encoder.
Revision Changes Path
1.3 +2 -2 ws-axis/java/src/org/apache/axis/components/encoding/AbstractXMLEncoder.java
Index: AbstractXMLEncoder.java
===================================================================
RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/components/encoding/AbstractXMLEncoder.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- AbstractXMLEncoder.java 15 Aug 2003 18:12:55 -0000 1.2
+++ AbstractXMLEncoder.java 5 Oct 2003 07:04:34 -0000 1.3
@@ -76,8 +76,8 @@
private static final byte[] QUOTE = """.getBytes();
private static final byte[] LESS = "<".getBytes();
private static final byte[] GREATER = ">".getBytes();
- private static final byte[] LF = "\r".getBytes();
- private static final byte[] CR = "\n".getBytes();
+ private static final byte[] LF = "\n".getBytes();
+ private static final byte[] CR = "\r".getBytes();
private static final byte[] TAB = "\t".getBytes();
/**
1.123 +11 -0 ws-axis/java/src/org/apache/axis/Constants.java
Index: Constants.java
===================================================================
RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/Constants.java,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -r1.122 -r1.123
--- Constants.java 26 Sep 2003 06:09:29 -0000 1.122
+++ Constants.java 5 Oct 2003 07:04:34 -0000 1.123
@@ -130,6 +130,10 @@
/** The name of the field which accepts xsd:any content in Beans */
public static final String ANYCONTENT = "_any";
+ /**
+ * The size of the buffer size for
+ */
+ public static final int HTTP_TXR_BUFFER_SIZE = 8 * 1024;
/**
* Returns true if SOAP_ENV Namespace
@@ -692,4 +696,11 @@
* also needs updating.
*/
public static final String JWS_DEFAULT_FILE_EXTENSION = ".jws";
+
+ /**
+ * the default timeout for messages
+ * @since Axis1.2
+ */
+ public static final int DEFAULT_MESSAGE_TIMEOUT=60*1000*10;
+
}
1.29 +1 -0 ws-axis/java/test/encoding/PackageTests.java
Index: PackageTests.java
===================================================================
RCS file: /home/cvs/ws-axis/java/test/encoding/PackageTests.java,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- PackageTests.java 2 Jul 2003 19:35:57 -0000 1.28
+++ PackageTests.java 5 Oct 2003 07:04:34 -0000 1.29
@@ -41,6 +41,7 @@
suite.addTestSuite(TestArray.class);
suite.addTestSuite(TestCircularRefs.class);
suite.addTestSuite(TestAutoTypes.class);
+ suite.addTestSuite(EncodingTest.class);
return suite;
}
}