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 di...@apache.org on 2002/10/30 16:40:28 UTC

cvs commit: xml-axis/java/samples/userguide/example3 Client.java

dims        2002/10/30 07:40:28

  Modified:    java/samples/userguide/example3 Client.java
  Log:
  Bug 13387 - Missing service name in userguide/example3/Client.java in AXIS 1.0
  from vishy@borland.com (Vishy Kasar)
  
  Revision  Changes    Path
  1.13      +1 -1      xml-axis/java/samples/userguide/example3/Client.java
  
  Index: Client.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/samples/userguide/example3/Client.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- Client.java	24 Sep 2002 13:12:26 -0000	1.12
  +++ Client.java	30 Oct 2002 15:40:28 -0000	1.13
  @@ -85,7 +85,7 @@
               Call     call    = (Call) service.createCall();
   
               call.setTargetEndpointAddress( new java.net.URL(endpointURL) );
  -            call.setOperationName( "serviceMethod" );
  +            call.setOperationName( new QName("MyService", "serviceMethod") );
               call.addParameter( "arg1", XMLType.XSD_STRING, ParameterMode.IN);
               call.setReturnType( org.apache.axis.encoding.XMLType.XSD_STRING );