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 2001/05/04 08:28:22 UTC
cvs commit: xml-axis/java/test/encoding TestDeser2000.java
rubys 01/05/03 23:28:21
Modified: java/samples/stock GetQuote.java
java/test/encoding TestDeser2000.java
Log:
A few stragglers...
Revision Changes Path
1.17 +2 -2 xml-axis/java/samples/stock/GetQuote.java
Index: GetQuote.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/stock/GetQuote.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- GetQuote.java 2001/05/01 11:53:28 1.16
+++ GetQuote.java 2001/05/04 06:28:20 1.17
@@ -59,13 +59,13 @@
import java.io.*;
import java.util.*;
-import org.apache.axis.Constants;
import org.apache.axis.AxisFault ;
import org.apache.axis.client.HTTPCall ;
import org.apache.axis.utils.Debug ;
import org.apache.axis.utils.Options ;
import org.apache.axis.utils.QName ;
import org.apache.axis.encoding.ServiceDescription;
+import org.apache.axis.encoding.SOAPTypeMappingRegistry;
/**
*
@@ -91,7 +91,7 @@
HTTPCall call = new HTTPCall( opts.getURL(),
"urn:xmltoday-delayed-quotes" );
ServiceDescription sd = new ServiceDescription("stockQuotes", true);
- sd.addOutputParam("return", new QName(Constants.URI_SCHEMA_XSD, "float"));
+ sd.addOutputParam("return", SOAPTypeMappingRegistry.XSD_FLOAT);
call.setServiceDescription(sd);
if ( opts.isFlagSet('t') > 0 ) call.doLocal = true ;
1.2 +2 -2 xml-axis/java/test/encoding/TestDeser2000.java
Index: TestDeser2000.java
===================================================================
RCS file: /home/cvs/xml-axis/java/test/encoding/TestDeser2000.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- TestDeser2000.java 2001/05/04 06:09:54 1.1
+++ TestDeser2000.java 2001/05/04 06:28:21 1.2
@@ -6,9 +6,9 @@
/**
* Test deserialization of SOAP responses
*/
-public class TestDeser2001 extends TestDeser {
+public class TestDeser2000 extends TestDeser {
- public TestDeser2001(String name) {
+ public TestDeser2000(String name) {
super(name, Constants.URI_2000_SCHEMA_XSI,
Constants.URI_2000_SCHEMA_XSD);
}