You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by ch...@apache.org on 2005/09/04 14:55:02 UTC
svn commit: r278588 - in
/webservices/sandesha/branches/sandesha_1_0/samples/org/apache/sandesha/samples:
AsyncPingClient.java SyncPingClient.java
Author: chamikara
Date: Sun Sep 4 05:54:21 2005
New Revision: 278588
URL: http://svn.apache.org/viewcvs?rev=278588&view=rev
Log:
needed this change to avoid build failure.
Modified:
webservices/sandesha/branches/sandesha_1_0/samples/org/apache/sandesha/samples/AsyncPingClient.java
webservices/sandesha/branches/sandesha_1_0/samples/org/apache/sandesha/samples/SyncPingClient.java
Modified: webservices/sandesha/branches/sandesha_1_0/samples/org/apache/sandesha/samples/AsyncPingClient.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/branches/sandesha_1_0/samples/org/apache/sandesha/samples/AsyncPingClient.java?rev=278588&r1=278587&r2=278588&view=diff
==============================================================================
--- webservices/sandesha/branches/sandesha_1_0/samples/org/apache/sandesha/samples/AsyncPingClient.java (original)
+++ webservices/sandesha/branches/sandesha_1_0/samples/org/apache/sandesha/samples/AsyncPingClient.java Sun Sep 4 05:54:21 2005
@@ -24,6 +24,7 @@
import org.apache.sandesha.RMReport;
import org.apache.sandesha.SandeshaContext;
+import javax.wsdl.OperationType;
import javax.xml.namespace.QName;
import javax.xml.rpc.ParameterMode;
@@ -49,7 +50,7 @@
ctx.setAcksToURL("http://127.0.0.1:" + defaultClientPort + "/axis/services/RMService");
ctx.setReplyToURL("http://127.0.0.1:" + defaultClientPort + "/axis/services/RMService");
ctx.initCall(call, targetURL, "urn:wsrm:ping", Constants.ClientProperties.IN_ONLY);
-
+
call.setOperationName(new QName("http://tempuri.org", "Ping"));
call.addParameter("Text", XMLType.XSD_STRING, ParameterMode.IN);
Modified: webservices/sandesha/branches/sandesha_1_0/samples/org/apache/sandesha/samples/SyncPingClient.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/branches/sandesha_1_0/samples/org/apache/sandesha/samples/SyncPingClient.java?rev=278588&r1=278587&r2=278588&view=diff
==============================================================================
--- webservices/sandesha/branches/sandesha_1_0/samples/org/apache/sandesha/samples/SyncPingClient.java (original)
+++ webservices/sandesha/branches/sandesha_1_0/samples/org/apache/sandesha/samples/SyncPingClient.java Sun Sep 4 05:54:21 2005
@@ -24,6 +24,7 @@
import org.apache.sandesha.RMReport;
import org.apache.sandesha.SandeshaContext;
+import javax.wsdl.OperationType;
import javax.xml.namespace.QName;
import javax.xml.rpc.ParameterMode;
@@ -54,7 +55,7 @@
call.setOperationName(new QName("http://tempuri.org/", "Ping"));
call.addParameter("arg1", XMLType.XSD_STRING, ParameterMode.IN);
-
+
call.invoke(new Object[]{"Ping Message Number One"});
call.invoke(new Object[]{"Ping Message Number Two"});
ctx.setLastMessage(call);
---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org