diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2011-09-01 10:33:47 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2011-09-01 10:33:47 +0000 |
commit | 37133c34c8d53f1825c6dee7d45f0ecb02cc5569 (patch) | |
tree | 9d01e4ef9cb1e59cddd457ecf8905383ff6bbfc4 /sca-java-2.x/trunk/testing/itest/interface-matching/src/main/java/org/apache/tuscany/sca/itest/interfaces/ServiceMissmatchComponentImpl.java | |
parent | 90fa91f0339f0836849f392908aa33c317bd9b40 (diff) |
TUSCANY-3916 - Turn on distributed matching tests and add an test where the service interface contains operation arguments that cannot be converted to XML using JAXB.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1163990 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sca-java-2.x/trunk/testing/itest/interface-matching/src/main/java/org/apache/tuscany/sca/itest/interfaces/ServiceMissmatchComponentImpl.java | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/sca-java-2.x/trunk/testing/itest/interface-matching/src/main/java/org/apache/tuscany/sca/itest/interfaces/ServiceMissmatchComponentImpl.java b/sca-java-2.x/trunk/testing/itest/interface-matching/src/main/java/org/apache/tuscany/sca/itest/interfaces/ServiceMissmatchComponentImpl.java index d43b7b6f45..713cce6776 100644 --- a/sca-java-2.x/trunk/testing/itest/interface-matching/src/main/java/org/apache/tuscany/sca/itest/interfaces/ServiceMissmatchComponentImpl.java +++ b/sca-java-2.x/trunk/testing/itest/interface-matching/src/main/java/org/apache/tuscany/sca/itest/interfaces/ServiceMissmatchComponentImpl.java @@ -29,6 +29,14 @@ public class ServiceMissmatchComponentImpl implements ServiceMissmatchComponent private static ParameterObject po;
+ public String foo(ParameterObject po) {
+ return po.field1;
+ }
+
+ public String foo1(ParameterObject po, String str){
+ return str;
+ }
+
public void callback(String str) {
callback.callbackMethod(str);
}
@@ -38,10 +46,6 @@ public class ServiceMissmatchComponentImpl implements ServiceMissmatchComponent callback.modifyParameter(po);
}
- public String foo(ParameterObject po) {
- return po.field1;
- }
-
public ParameterObject getPO() {
return po;
}
|