Author: chamikara
Date: Sat Mar 18 06:39:30 2006
New Revision: 386852
URL: http://svn.apache.org/viewcvs?rev=386852&view=rev
Log:
Updated interop clients
Modified:
webservices/sandesha/trunk/interop/src/org/apache/sandesha2/wsrm_2006_02/Scenario_1_1.java
webservices/sandesha/trunk/interop/src/org/apache/sandesha2/wsrm_2006_02/Scenario_1_2.java
webservices/sandesha/trunk/interop/src/org/apache/sandesha2/wsrm_2006_02/Scenario_1_3.java
webservices/sandesha/trunk/interop/src/org/apache/sandesha2/wsrm_2006_02/Scenario_1_4.java
webservices/sandesha/trunk/interop/src/org/apache/sandesha2/wsrm_2006_02/Scenario_2_1.java
webservices/sandesha/trunk/interop/src/org/apache/sandesha2/wsrm_2006_02/Scenario_2_2.java
webservices/sandesha/trunk/interop/src/org/apache/sandesha2/wsrm_2006_02/Scenario_2_3.java
Modified:
webservices/sandesha/trunk/interop/src/org/apache/sandesha2/wsrm_2006_02/Scenario_1_1.java
URL:
http://svn.apache.org/viewcvs/webservices/sandesha/trunk/interop/src/org/apache/sandesha2/wsrm_2006_02/Scenario_1_1.java?rev=386852&r1=386851&r2=386852&view=diff
==============================================================================
---
webservices/sandesha/trunk/interop/src/org/apache/sandesha2/wsrm_2006_02/Scenario_1_1.java
(original)
+++
webservices/sandesha/trunk/interop/src/org/apache/sandesha2/wsrm_2006_02/Scenario_1_1.java
Sat Mar 18 06:39:30 2006
@@ -34,6 +34,7 @@
import org.apache.ws.commons.om.OMElement;
import org.apache.ws.commons.om.OMFactory;
import org.apache.ws.commons.om.OMNamespace;
+import org.apache.ws.commons.soap.SOAP12Constants;
/**
* @author Chamikara Jayalath <[EMAIL PROTECTED]>
@@ -45,13 +46,12 @@
private static final String Text = "Text";
private String toIP = "127.0.0.1";
-
private String toPort = "8080";
+ private String transportToIP = "127.0.0.1";
private String transportToPort = "8070";
-
- private String toEPR = "http://" + toIP + ":" + toPort +
"/axis2/services/RMInteropService";
-
- private String transportToEPR = "http://" + toIP + ":" +
transportToPort + "/axis2/services/RMInteropService";
+ private String servicePart = "/axis2/services/RMInteropService";
+ private String toEPR = "http://" + toIP + ":" + toPort + servicePart;
+ private String transportToEPR = "http://" + transportToIP + ":" +
transportToPort + servicePart;
private static String SANDESHA2_HOME = "<SANDESHA2_HOME>"; //Change
this to ur path.
@@ -90,7 +90,7 @@
//
clientOptions.setProperty(MessageContextConstants.CHUNKED,Constants.VALUE_FALSE);
//uncomment this to send messages without chunking.
-//
clientOptions.setSoapVersionURI(SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI);
//uncomment this to send messages in SOAP 1.2
+
clientOptions.setSoapVersionURI(SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI);
//uncomment this to send messages in SOAP 1.2
clientOptions.setProperty(Sandesha2ClientAPI.RM_SPEC_VERSION,Sandesha2Constants.SPEC_VERSIONS.WSRX);
//uncomment this to send the messages according to the WSRX spec.
Modified:
webservices/sandesha/trunk/interop/src/org/apache/sandesha2/wsrm_2006_02/Scenario_1_2.java
URL:
http://svn.apache.org/viewcvs/webservices/sandesha/trunk/interop/src/org/apache/sandesha2/wsrm_2006_02/Scenario_1_2.java?rev=386852&r1=386851&r2=386852&view=diff
==============================================================================
---
webservices/sandesha/trunk/interop/src/org/apache/sandesha2/wsrm_2006_02/Scenario_1_2.java
(original)
+++
webservices/sandesha/trunk/interop/src/org/apache/sandesha2/wsrm_2006_02/Scenario_1_2.java
Sat Mar 18 06:39:30 2006
@@ -35,6 +35,7 @@
import org.apache.ws.commons.om.OMElement;
import org.apache.ws.commons.om.OMFactory;
import org.apache.ws.commons.om.OMNamespace;
+import org.apache.ws.commons.soap.SOAP12Constants;
/**
* @author Chamikara Jayalath <[EMAIL PROTECTED]>
@@ -46,13 +47,12 @@
private static final String Text = "Text";
private String toIP = "127.0.0.1";
-
private String toPort = "8080";
+ private String transportToIP = "127.0.0.1";
private String transportToPort = "8070";
-
- private String toEPR = "http://" + toIP + ":" + toPort +
"/axis2/services/RMInteropService";
-
- private String transportToEPR = "http://" + toIP + ":" +
transportToPort + "/axis2/services/RMInteropService";
+ private String servicePart = "/axis2/services/RMInteropService";
+ private String toEPR = "http://" + toIP + ":" + toPort + servicePart;
+ private String transportToEPR = "http://" + transportToIP + ":" +
transportToPort + servicePart;
private static String SANDESHA2_HOME = "<SANDESHA2_HOME>"; //Change
this to ur path.
@@ -92,7 +92,7 @@
//
clientOptions.setProperty(MessageContextConstants.CHUNKED,Constants.VALUE_FALSE);
//uncomment this to send messages without chunking.
-//
clientOptions.setSoapVersionURI(SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI);
//uncomment this to send messages in SOAP 1.2
+
clientOptions.setSoapVersionURI(SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI);
//uncomment this to send messages in SOAP 1.2
clientOptions.setProperty(Sandesha2ClientAPI.RM_SPEC_VERSION,Sandesha2Constants.SPEC_VERSIONS.WSRX);
//uncomment this to send the messages according to the WSRX spec.
Modified:
webservices/sandesha/trunk/interop/src/org/apache/sandesha2/wsrm_2006_02/Scenario_1_3.java
URL:
http://svn.apache.org/viewcvs/webservices/sandesha/trunk/interop/src/org/apache/sandesha2/wsrm_2006_02/Scenario_1_3.java?rev=386852&r1=386851&r2=386852&view=diff
==============================================================================
---
webservices/sandesha/trunk/interop/src/org/apache/sandesha2/wsrm_2006_02/Scenario_1_3.java
(original)
+++
webservices/sandesha/trunk/interop/src/org/apache/sandesha2/wsrm_2006_02/Scenario_1_3.java
Sat Mar 18 06:39:30 2006
@@ -35,6 +35,7 @@
import org.apache.ws.commons.om.OMElement;
import org.apache.ws.commons.om.OMFactory;
import org.apache.ws.commons.om.OMNamespace;
+import org.apache.ws.commons.soap.SOAP12Constants;
/**
* @author Chamikara Jayalath <[EMAIL PROTECTED]>
@@ -46,12 +47,12 @@
private static final String Text = "Text";
private String toIP = "127.0.0.1";
-
private String toPort = "8080";
+ private String transportToIP = "127.0.0.1";
private String transportToPort = "8070";
-
- private String toEPR = "http://" + toIP + ":" + toPort +
"/axis2/services/RMInteropService";
- private String transportToEPR = "http://" + toIP + ":" +
transportToPort + "/axis2/services/RMInteropService";
+ private String servicePart = "/axis2/services/RMInteropService";
+ private String toEPR = "http://" + toIP + ":" + toPort + servicePart;
+ private String transportToEPR = "http://" + transportToIP + ":" +
transportToPort + servicePart;
private static String SANDESHA2_HOME = "<SANDESHA2_HOME>"; //Change
this to ur path.
@@ -90,7 +91,7 @@
//
clientOptions.setProperty(MessageContextConstants.CHUNKED,Constants.VALUE_FALSE);
//uncomment this to send messages without chunking.
-//
clientOptions.setSoapVersionURI(SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI);
//uncomment this to send messages in SOAP 1.2
+
clientOptions.setSoapVersionURI(SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI);
//uncomment this to send messages in SOAP 1.2
clientOptions.setProperty(Sandesha2ClientAPI.RM_SPEC_VERSION,Sandesha2Constants.SPEC_VERSIONS.WSRX);
//uncomment this to send the messages according to the WSRX spec.
Modified:
webservices/sandesha/trunk/interop/src/org/apache/sandesha2/wsrm_2006_02/Scenario_1_4.java
URL:
http://svn.apache.org/viewcvs/webservices/sandesha/trunk/interop/src/org/apache/sandesha2/wsrm_2006_02/Scenario_1_4.java?rev=386852&r1=386851&r2=386852&view=diff
==============================================================================
---
webservices/sandesha/trunk/interop/src/org/apache/sandesha2/wsrm_2006_02/Scenario_1_4.java
(original)
+++
webservices/sandesha/trunk/interop/src/org/apache/sandesha2/wsrm_2006_02/Scenario_1_4.java
Sat Mar 18 06:39:30 2006
@@ -35,6 +35,7 @@
import org.apache.ws.commons.om.OMElement;
import org.apache.ws.commons.om.OMFactory;
import org.apache.ws.commons.om.OMNamespace;
+import org.apache.ws.commons.soap.SOAP12Constants;
/**
* @author Chamikara Jayalath <[EMAIL PROTECTED]>
@@ -48,20 +49,13 @@
private static final String Text = "Text";
private String toIP = "127.0.0.1";
-
private String toPort = "8080";
-
+ private String transportToIP = "127.0.0.1";
private String transportToPort = "8070";
+ private String servicePart = "/axis2/services/RMInteropService";
+ private String toEPR = "http://" + toIP + ":" + toPort + servicePart;
+ private String transportToEPR = "http://" + transportToIP + ":" +
transportToPort + servicePart;
- private String ackIP = "127.0.0.1";
-
- private String ackPort = "9070";
-
- private String toEPR = "http://" + toIP + ":" + toPort +
"/axis2/services/RMInteropService";
-
- private String transportToEPR = "http://" + toIP + ":" + transportToPort
- + "/axis2/services/RMInteropService";
-
private static String SANDESHA2_HOME = "<SANDESHA2_HOME>"; // Change
// this
// to
@@ -119,7 +113,7 @@
//
clientOptions.setProperty(MessageContextConstants.CHUNKED,Constants.VALUE_FALSE);
// //uncomment this to send messages without chunking.
- //
clientOptions.setSoapVersionURI(SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI);
+
clientOptions.setSoapVersionURI(SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI);
// //uncomment this to send messages in SOAP 1.2
clientOptions.setProperty(Sandesha2ClientAPI.RM_SPEC_VERSION,
Modified:
webservices/sandesha/trunk/interop/src/org/apache/sandesha2/wsrm_2006_02/Scenario_2_1.java
URL:
http://svn.apache.org/viewcvs/webservices/sandesha/trunk/interop/src/org/apache/sandesha2/wsrm_2006_02/Scenario_2_1.java?rev=386852&r1=386851&r2=386852&view=diff
==============================================================================
---
webservices/sandesha/trunk/interop/src/org/apache/sandesha2/wsrm_2006_02/Scenario_2_1.java
(original)
+++
webservices/sandesha/trunk/interop/src/org/apache/sandesha2/wsrm_2006_02/Scenario_2_1.java
Sat Mar 18 06:39:30 2006
@@ -52,20 +52,12 @@
private final static String EchoStringReturn = "EchoStringReturn";
private String toIP = "127.0.0.1";
-
- private String ackIP = "127.0.0.1";
-
- private String ackPort = "9070";
-
- private String toPort = "8070";
-
+ private String toPort = "8080";
+ private String transportToIP = "127.0.0.1";
private String transportToPort = "8070";
-
- private String toEPR = "http://" + toIP + ":" + toPort +
"/axis2/services/RMInteropService";
-
- private String transportToEPR = "http://" + toIP + ":" +
transportToPort + "/axis2/services/RMInteropService";
-
- //private String acksToEPR = "http://" + ackIP + ":" + ackPort +
"/axis2/services/" + "__ANONYMOUS_SERVICE__";
+ private String servicePart = "/axis2/services/RMInteropService";
+ private String toEPR = "http://" + toIP + ":" + toPort + servicePart;
+ private String transportToEPR = "http://" + transportToIP + ":" +
transportToPort + servicePart;
private static String SANDESHA2_HOME = "<SANDESHA2_HOME>"; //Change
this to ur path.
Modified:
webservices/sandesha/trunk/interop/src/org/apache/sandesha2/wsrm_2006_02/Scenario_2_2.java
URL:
http://svn.apache.org/viewcvs/webservices/sandesha/trunk/interop/src/org/apache/sandesha2/wsrm_2006_02/Scenario_2_2.java?rev=386852&r1=386851&r2=386852&view=diff
==============================================================================
---
webservices/sandesha/trunk/interop/src/org/apache/sandesha2/wsrm_2006_02/Scenario_2_2.java
(original)
+++
webservices/sandesha/trunk/interop/src/org/apache/sandesha2/wsrm_2006_02/Scenario_2_2.java
Sat Mar 18 06:39:30 2006
@@ -51,20 +51,12 @@
private final static String EchoStringReturn = "EchoStringReturn";
private String toIP = "127.0.0.1";
-
- private String ackIP = "127.0.0.1";
-
- private String ackPort = "9070";
-
- private String toPort = "8070";
-
+ private String toPort = "8080";
+ private String transportToIP = "127.0.0.1";
private String transportToPort = "8070";
-
- private String toEPR = "http://" + toIP + ":" + toPort +
"/axis2/services/RMInteropService";
-
- private String transportToEPR = "http://" + toIP + ":" +
transportToPort + "/axis2/services/RMInteropService";
-
- //private String acksToEPR = "http://" + ackIP + ":" + ackPort +
"/axis2/services/" + "__ANONYMOUS_SERVICE__";
+ private String servicePart = "/axis2/services/RMInteropService";
+ private String toEPR = "http://" + toIP + ":" + toPort + servicePart;
+ private String transportToEPR = "http://" + transportToIP + ":" +
transportToPort + servicePart;
private static String SANDESHA2_HOME = "<SANDESHA2_HOME>"; //Change
this to ur path.
Modified:
webservices/sandesha/trunk/interop/src/org/apache/sandesha2/wsrm_2006_02/Scenario_2_3.java
URL:
http://svn.apache.org/viewcvs/webservices/sandesha/trunk/interop/src/org/apache/sandesha2/wsrm_2006_02/Scenario_2_3.java?rev=386852&r1=386851&r2=386852&view=diff
==============================================================================
---
webservices/sandesha/trunk/interop/src/org/apache/sandesha2/wsrm_2006_02/Scenario_2_3.java
(original)
+++
webservices/sandesha/trunk/interop/src/org/apache/sandesha2/wsrm_2006_02/Scenario_2_3.java
Sat Mar 18 06:39:30 2006
@@ -51,20 +51,12 @@
private final static String EchoStringReturn = "EchoStringReturn";
private String toIP = "127.0.0.1";
-
- private String ackIP = "127.0.0.1";
-
- private String ackPort = "9070";
-
- private String toPort = "8070";
-
+ private String toPort = "8080";
+ private String transportToIP = "127.0.0.1";
private String transportToPort = "8070";
-
- private String toEPR = "http://" + toIP + ":" + toPort +
"/axis2/services/RMInteropService";
-
- private String transportToEPR = "http://" + toIP + ":" +
transportToPort + "/axis2/services/RMInteropService";
-
- //private String acksToEPR = "http://" + ackIP + ":" + ackPort +
"/axis2/services/" + "__ANONYMOUS_SERVICE__";
+ private String servicePart = "/axis2/services/RMInteropService";
+ private String toEPR = "http://" + toIP + ":" + toPort + servicePart;
+ private String transportToEPR = "http://" + transportToIP + ":" +
transportToPort + servicePart;
private static String SANDESHA2_HOME = "<SANDESHA2_HOME>"; //Change
this to ur path.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]