axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdani...@apache.org
Subject cvs commit: xml-axis/java/samples/transport/tcp GetQuote.java
Date Mon, 15 Oct 2001 21:05:32 GMT
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
  
  
  

Mime
View raw message