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 15:02:37 UTC
svn commit: r278589 -
/webservices/sandesha/branches/sandesha_1_0/test/org/apache/sandesha/intergratedtest/TCScenarioTest.java
Author: chamikara
Date: Sun Sep 4 06:02:02 2005
New Revision: 278589
URL: http://svn.apache.org/viewcvs?rev=278589&view=rev
Log:
correct fix to avoid build failure.
Modified:
webservices/sandesha/branches/sandesha_1_0/test/org/apache/sandesha/intergratedtest/TCScenarioTest.java
Modified: webservices/sandesha/branches/sandesha_1_0/test/org/apache/sandesha/intergratedtest/TCScenarioTest.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/branches/sandesha_1_0/test/org/apache/sandesha/intergratedtest/TCScenarioTest.java?rev=278589&r1=278588&r2=278589&view=diff
==============================================================================
--- webservices/sandesha/branches/sandesha_1_0/test/org/apache/sandesha/intergratedtest/TCScenarioTest.java (original)
+++ webservices/sandesha/branches/sandesha_1_0/test/org/apache/sandesha/intergratedtest/TCScenarioTest.java Sun Sep 4 06:02:02 2005
@@ -30,6 +30,7 @@
import org.apache.sandesha.SandeshaContext;
import org.w3c.dom.Document;
+import javax.wsdl.OperationType;
import javax.xml.namespace.QName;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
@@ -99,6 +100,10 @@
call.setOperationName(new QName("http://tempuri.org/", "Ping"));
call.addParameter("arg1", XMLType.XSD_STRING, ParameterMode.IN);
+ //this is a temporary change to get the test working.
+ //Later set this using ctx.initCall
+ call.getOperation().setMep(OperationType.ONE_WAY);
+
call.invoke(new Object[]{"Ping One"});
ctx.setLastMessage(call);
@@ -133,6 +138,11 @@
call.setOperationName(new QName("http://tempuri.org", "Ping"));
call.addParameter("Text", XMLType.XSD_STRING, ParameterMode.IN);
+ //this is a temporary change to get the test working.
+ //Later set this using ctx.initCall
+ call.getOperation().setMep(OperationType.ONE_WAY);
+
+
call.invoke(new Object[]{"Ping One"});
ctx.setLastMessage(call);
call.invoke(new Object[]{"Ping Two"});
@@ -267,6 +277,7 @@
echoCall.addParameter("arg1", XMLType.XSD_STRING, ParameterMode.IN);
echoCall.addParameter("arg2", XMLType.XSD_STRING, ParameterMode.IN);
echoCall.setReturnType(org.apache.axis.encoding.XMLType.XSD_STRING);
+
//----------------------ECHO------------------------------------------------
//------------------------PING--------------------------------------------
@@ -280,6 +291,13 @@
pingCall.setOperationName(new QName("http://tempuri.org/", "ping"));
pingCall.addParameter("arg2", XMLType.XSD_STRING, ParameterMode.IN);
+
+
+ //this is a temporary change to get the test working.
+ //Later set this using ctx.initCall
+ pingCall.getOperation().setMep(OperationType.ONE_WAY);
+
+
//----------------------PING------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org