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 bu...@apache.org on 2002/03/13 18:06:34 UTC

cvs commit: xml-axis/java/samples/userguide/example2 CalcClient.java

butek       02/03/13 09:06:33

  Modified:    java/samples/userguide/example2 CalcClient.java
  Log:
  Fixed the sample.
  
  Revision  Changes    Path
  1.9       +1 -0      xml-axis/java/samples/userguide/example2/CalcClient.java
  
  Index: CalcClient.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/samples/userguide/example2/CalcClient.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- CalcClient.java	4 Jan 2002 22:30:03 -0000	1.8
  +++ CalcClient.java	13 Mar 2002 17:06:33 -0000	1.9
  @@ -93,6 +93,7 @@
          call.setOperationName( method );
          call.addParameter( "op1", XMLType.XSD_INT, ParameterMode.PARAM_MODE_IN );
          call.addParameter( "op2", XMLType.XSD_INT, ParameterMode.PARAM_MODE_IN );
  +       call.setReturnType( XMLType.XSD_INT );
   
          Integer ret = (Integer) call.invoke( new Object [] { i1, i2 });