butek 02/04/19 06:59:05
Modified: java/src/org/apache/axis/wsdl/toJava JavaTestCaseWriter.java
Log:
new QName("double, double", "toil and trouble") is NOT a valid QName!
(serves me right for trying to be literary)
I've changed it to:
new QName("http://double-double", "toil-and-trouble")
Revision Changes Path
1.21 +1 -1
xml-axis/java/src/org/apache/axis/wsdl/toJava/JavaTestCaseWriter.java
Index: JavaTestCaseWriter.java
===================================================================
RCS file:
/home/cvs/xml-axis/java/src/org/apache/axis/wsdl/toJava/JavaTestCaseWriter.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- JavaTestCaseWriter.java 2 Apr 2002 22:05:19 -0000 1.20
+++ JavaTestCaseWriter.java 19 Apr 2002 13:59:05 -0000 1.21
@@ -261,7 +261,7 @@
} else if (paramType.equals("java.util.Calendar")) {
pw.print("java.util.Calendar.getInstance()");
} else if (paramType.equals("javax.xml.rpc.namespace.QName")) {
- pw.print("new javax.xml.rpc.namespace.QName(\"double,
double\", \"toil and trouble\")");
+ pw.print("new
javax.xml.rpc.namespace.QName(\"http://double-double\", \"toil-and-trouble\")");
} else if (paramType.endsWith("[]")) {
pw.print("new "
+ JavaUtils.replace(paramType, "[]", "[0]"));