summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/testing/itest
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2012-03-23 13:04:42 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2012-03-23 13:04:42 +0000
commit49de8e6978a137718c71c99b00f4f48440f9e9ab (patch)
tree619dcaf30fe9468a82afdd0dfc640a69d2f70d01 /sca-java-2.x/trunk/testing/itest
parent0bc82d8baa98f2bf9055837a3bf9bfdaf1b91991 (diff)
TUSCANY-4033 - Don't generate WSDL when binding an EPR to a remote EP and the EPR and EP both use a Java interface.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1304327 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/testing/itest')
-rw-r--r--sca-java-2.x/trunk/testing/itest/interface-matching/src/test/java/org/apache/tuscany/sca/itest/interfaces/InerfaceMatchTestCase.java14
1 files changed, 3 insertions, 11 deletions
diff --git a/sca-java-2.x/trunk/testing/itest/interface-matching/src/test/java/org/apache/tuscany/sca/itest/interfaces/InerfaceMatchTestCase.java b/sca-java-2.x/trunk/testing/itest/interface-matching/src/test/java/org/apache/tuscany/sca/itest/interfaces/InerfaceMatchTestCase.java
index 28b1bc442f..6afb0ecd27 100644
--- a/sca-java-2.x/trunk/testing/itest/interface-matching/src/test/java/org/apache/tuscany/sca/itest/interfaces/InerfaceMatchTestCase.java
+++ b/sca-java-2.x/trunk/testing/itest/interface-matching/src/test/java/org/apache/tuscany/sca/itest/interfaces/InerfaceMatchTestCase.java
@@ -119,7 +119,6 @@ public class InerfaceMatchTestCase {
* @throws Exception
*/
@Test
- @Ignore("Can't get RMI binding working as a delegate for some reason")
public void testDistributedRemotableNonJAXB() throws Exception {
// Force the remote default binding to be rmi as I want something that doesn't depend on
@@ -145,21 +144,14 @@ public class InerfaceMatchTestCase {
ClientComponent local = node1.getService(ClientComponent.class, "DistributedClientComponent");
ParameterObject po = new ParameterObject();
+ po.field1 = "Test String";
try {
String response = local.foo1(po);
- Assert.assertEquals("AComponent", response);
+ Assert.assertEquals("Test String", response);
} catch (ServiceRuntimeException ex){
Assert.fail("Unexpected exception with foo " + ex.toString());
- }
-
- try {
- local.callback("Callback");
- String response = local.getCallbackValue();
- Assert.assertEquals("Callback", response);
- } catch (ServiceRuntimeException ex){
- Assert.fail("Unexpected exception with callback" + ex.toString());
- }
+ }
node1.stop();
node2.stop();