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 2004/03/23 17:24:24 UTC
cvs commit: ws-axis/java/samples/userguide/example3 Client.java
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 );