From 2811d859dec55a0be1669fb12fdb10ddc625cc0b Mon Sep 17 00:00:00 2001 From: slaws Date: Fri, 15 May 2009 20:54:27 +0000 Subject: TUSCANY-3031 Ensure that JMS wire formats that don't required a data transformation work when interface.wsdl is used. Use the component type interface rather than the service git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@775328 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/resources/jmsobject/helloworld.composite | 3 +- .../src/main/resources/jmsobject/helloworld.wsdl | 452 +++++++++++++++------ .../jms/format/FormatJMSObjectTestCase.java | 11 + 3 files changed, 352 insertions(+), 114 deletions(-) (limited to 'branches/sca-java-1.x/itest/jms-format') diff --git a/branches/sca-java-1.x/itest/jms-format/src/main/resources/jmsobject/helloworld.composite b/branches/sca-java-1.x/itest/jms-format/src/main/resources/jmsobject/helloworld.composite index 81be76510c..3ca541c9fb 100644 --- a/branches/sca-java-1.x/itest/jms-format/src/main/resources/jmsobject/helloworld.composite +++ b/branches/sca-java-1.x/itest/jms-format/src/main/resources/jmsobject/helloworld.composite @@ -21,7 +21,7 @@ targetNamespace="http://helloworld" xmlns:hw="http://helloworld" xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0" - name="helloworld"> + name="jmsobject"> @@ -42,6 +42,7 @@ + diff --git a/branches/sca-java-1.x/itest/jms-format/src/main/resources/jmsobject/helloworld.wsdl b/branches/sca-java-1.x/itest/jms-format/src/main/resources/jmsobject/helloworld.wsdl index 092c56b31d..a2af528e9e 100644 --- a/branches/sca-java-1.x/itest/jms-format/src/main/resources/jmsobject/helloworld.wsdl +++ b/branches/sca-java-1.x/itest/jms-format/src/main/resources/jmsobject/helloworld.wsdl @@ -1,129 +1,355 @@ - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + - - - - + + + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + \ No newline at end of file diff --git a/branches/sca-java-1.x/itest/jms-format/src/test/java/org/apache/tuscany/sca/binding/jms/format/FormatJMSObjectTestCase.java b/branches/sca-java-1.x/itest/jms-format/src/test/java/org/apache/tuscany/sca/binding/jms/format/FormatJMSObjectTestCase.java index 7c535773b7..f22eacf93d 100644 --- a/branches/sca-java-1.x/itest/jms-format/src/test/java/org/apache/tuscany/sca/binding/jms/format/FormatJMSObjectTestCase.java +++ b/branches/sca-java-1.x/itest/jms-format/src/test/java/org/apache/tuscany/sca/binding/jms/format/FormatJMSObjectTestCase.java @@ -59,6 +59,17 @@ public class FormatJMSObjectTestCase { helloWorldService.getGreetingsDontWrapSingle("Fred", "Bloggs")); } + + @Ignore + @Test + public void testWaitForInput() { + System.out.println("Press a key to end"); + try { + System.in.read(); + } catch (Exception ex) { + } + System.out.println("Shutting down"); + } @After public void end() { -- cgit v1.2.3