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 gd...@apache.org on 2001/10/15 23:05:32 UTC
cvs commit: xml-axis/java/samples/transport/tcp GetQuote.java
gdaniels 01/10/15 14:05:32
Modified: java/samples/echo TestClient.java
java/samples/transport/tcp GetQuote.java
Log:
Fix samples to use setReturnType()
Revision Changes Path
1.30 +1 -1 xml-axis/java/samples/echo/TestClient.java
Index: TestClient.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/echo/TestClient.java,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- TestClient.java 2001/10/12 11:46:05 1.29
+++ TestClient.java 2001/10/15 21:05:32 1.30
@@ -151,7 +151,7 @@
// Default return type based on what we expect
ServiceDescription sd = new ServiceDescription(method, true);
- sd.setOutputType(map.getTypeQName(toSend.getClass()));
+ sd.setReturnType(map.getTypeQName(toSend.getClass()));
call.setServiceDescription(sd);
}
1.7 +1 -1 xml-axis/java/samples/transport/tcp/GetQuote.java
Index: GetQuote.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/transport/tcp/GetQuote.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- GetQuote.java 2001/09/05 17:22:58 1.6
+++ GetQuote.java 2001/10/15 21:05:32 1.7
@@ -97,7 +97,7 @@
call.setTransport(new TCPTransport());
ServiceDescription sd = new ServiceDescription("stockQuotes", true);
sd.addInputParam("symbol", SOAPTypeMappingRegistry.XSD_STRING);
- sd.setOutputType(SOAPTypeMappingRegistry.XSD_FLOAT);
+ sd.setReturnType(SOAPTypeMappingRegistry.XSD_FLOAT);
call.setServiceDescription(sd);
// TESTING HACK BY ROBJ