axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r513103 - in /webservices/axis/trunk/java: samples/wsa/wsaClient.java test/functional/TestWSA.java
Date Thu, 01 Mar 2007 01:55:37 GMT
Author: dug
Date: Wed Feb 28 17:55:36 2007
New Revision: 513103

URL: http://svn.apache.org/viewvc?view=rev&rev=513103
Log:
Fixed a bug - action is required for these tests

Modified:
    webservices/axis/trunk/java/samples/wsa/wsaClient.java
    webservices/axis/trunk/java/test/functional/TestWSA.java

Modified: webservices/axis/trunk/java/samples/wsa/wsaClient.java
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/java/samples/wsa/wsaClient.java?view=diff&rev=513103&r1=513102&r2=513103
==============================================================================
--- webservices/axis/trunk/java/samples/wsa/wsaClient.java (original)
+++ webservices/axis/trunk/java/samples/wsa/wsaClient.java Wed Feb 28 17:55:36 2007
@@ -25,12 +25,14 @@
       call.addParameter( "text", XMLType.XSD_STRING, ParameterMode.IN );
       call.setReturnType( XMLType.XSD_STRING );
       call.setEncodingStyle("");
+      call.setSOAPActionURI("ping");
 
       System.out.println( "Calling ping (one way)" );
       call.invokeOneWay( "ping", new Object[] { "hi" } );
 
       Thread.sleep(1000);
 
+      call.setSOAPActionURI("echo");
       call.setReplyTo( "http://localhost:81/axis/services/asyncService" );
       System.out.println( call.invoke( "echo", new Object[] { "hi" } ) );
 

Modified: webservices/axis/trunk/java/test/functional/TestWSA.java
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/java/test/functional/TestWSA.java?view=diff&rev=513103&r1=513102&r2=513103
==============================================================================
--- webservices/axis/trunk/java/test/functional/TestWSA.java (original)
+++ webservices/axis/trunk/java/test/functional/TestWSA.java Wed Feb 28 17:55:36 2007
@@ -38,6 +38,7 @@
       call.addParameter( "text", XMLType.XSD_STRING, ParameterMode.IN );
       call.setReturnType( XMLType.XSD_STRING );
       call.setEncodingStyle("");
+      call.setSOAPActionURI("echo");
 
       System.out.println( "Running non-WSA echo" );
       rc = call.invoke( "echo", new Object[] { "hi1" } );



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message