You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by an...@apache.org on 2010/07/20 14:10:59 UTC
svn commit: r965822 - in
/tuscany/sca-java-2.x/trunk/itest/jms/format-jmstextxml/src/main:
java/org/apache/tuscany/sca/binding/jms/format/jmstextxml/helloworld/
resources/jmstextxml/
Author: antelder
Date: Tue Jul 20 12:10:59 2010
New Revision: 965822
URL: http://svn.apache.org/viewvc?rev=965822&view=rev
Log:
Fix jms test interfaces to not match oneway and non-oneway operations
Modified:
tuscany/sca-java-2.x/trunk/itest/jms/format-jmstextxml/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmstextxml/helloworld/HelloWorldService.java
tuscany/sca-java-2.x/trunk/itest/jms/format-jmstextxml/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmstextxml/helloworld/HelloWorldServiceImpl.java
tuscany/sca-java-2.x/trunk/itest/jms/format-jmstextxml/src/main/resources/jmstextxml/helloworld.wsdl
Modified: tuscany/sca-java-2.x/trunk/itest/jms/format-jmstextxml/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmstextxml/helloworld/HelloWorldService.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/itest/jms/format-jmstextxml/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmstextxml/helloworld/HelloWorldService.java?rev=965822&r1=965821&r2=965822&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/itest/jms/format-jmstextxml/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmstextxml/helloworld/HelloWorldService.java (original)
+++ tuscany/sca-java-2.x/trunk/itest/jms/format-jmstextxml/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmstextxml/helloworld/HelloWorldService.java Tue Jul 20 12:10:59 2010
@@ -29,7 +29,7 @@ public interface HelloWorldService {
public String getGreetings(String name);
public String getPersonGreetings(Person person);
- public void throwChecked(String msg) throws CheckedException;
- public void throwUnChecked(String msg);
+ public String throwChecked(String msg) throws CheckedException;
+ public String throwUnChecked(String msg);
}
Modified: tuscany/sca-java-2.x/trunk/itest/jms/format-jmstextxml/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmstextxml/helloworld/HelloWorldServiceImpl.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/itest/jms/format-jmstextxml/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmstextxml/helloworld/HelloWorldServiceImpl.java?rev=965822&r1=965821&r2=965822&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/itest/jms/format-jmstextxml/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmstextxml/helloworld/HelloWorldServiceImpl.java (original)
+++ tuscany/sca-java-2.x/trunk/itest/jms/format-jmstextxml/src/main/java/org/apache/tuscany/sca/binding/jms/format/jmstextxml/helloworld/HelloWorldServiceImpl.java Tue Jul 20 12:10:59 2010
@@ -33,11 +33,11 @@ public class HelloWorldServiceImpl imple
return response;
}
- public void throwChecked(String msg) throws CheckedException {
+ public String throwChecked(String msg) throws CheckedException {
throw new CheckedException("foo");
}
- public void throwUnChecked(String msg) {
+ public String throwUnChecked(String msg) {
throw new RuntimeException("bla");
}
}
Modified: tuscany/sca-java-2.x/trunk/itest/jms/format-jmstextxml/src/main/resources/jmstextxml/helloworld.wsdl
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/itest/jms/format-jmstextxml/src/main/resources/jmstextxml/helloworld.wsdl?rev=965822&r1=965821&r2=965822&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/itest/jms/format-jmstextxml/src/main/resources/jmstextxml/helloworld.wsdl (original)
+++ tuscany/sca-java-2.x/trunk/itest/jms/format-jmstextxml/src/main/resources/jmstextxml/helloworld.wsdl Tue Jul 20 12:10:59 2010
@@ -108,10 +108,12 @@
</wsdl:operation>
<wsdl:operation name="throwChecked">
<wsdl:input message="tns:getPersonGreetingsRequest" name="getPersonGreetingsRequest"/>
+ <wsdl:output message="tns:getPersonGreetingsResponse" name="getPersonGreetingsResponse"/>
<wsdl:fault message="tns:CheckedException" name="CheckedException"/>
</wsdl:operation>
<wsdl:operation name="throwUnChecked">
<wsdl:input message="tns:getPersonGreetingsRequest" name="getPersonGreetingsRequest"/>
+ <wsdl:output message="tns:getPersonGreetingsResponse" name="getPersonGreetingsResponse"/>
</wsdl:operation>
</wsdl:portType>