axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: ws-axis/java/samples/userguide/example3 Client.java
Date Tue, 23 Mar 2004 16:24:24 GMT
dims        2004/03/23 08:24:24

  Modified:    java/samples/userguide/example3 Client.java
  Log:
  Fix for AXIS-1217 - Axis accepts client requests for operations that are qualified with
the incorrect namespace
  
  Notes:
  Just fixing the example. NOT changing current behavior of the engine.
  
  Revision  Changes    Path
  1.17      +1 -1      ws-axis/java/samples/userguide/example3/Client.java
  
  Index: Client.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/samples/userguide/example3/Client.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- Client.java	25 Feb 2004 14:02:25 -0000	1.16
  +++ Client.java	23 Mar 2004 16:24:24 -0000	1.17
  @@ -45,7 +45,7 @@
               Call     call    = (Call) service.createCall();
   
               call.setTargetEndpointAddress( new java.net.URL(endpointURL) );
  -            call.setOperationName( new QName("MyService", "serviceMethod") );
  +            call.setOperationName( new QName("http://example3.userguide.samples", "serviceMethod")
);
               call.addParameter( "arg1", XMLType.XSD_STRING, ParameterMode.IN);
               call.setReturnType( org.apache.axis.encoding.XMLType.XSD_STRING );
   
  
  
  

Mime
View raw message