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 2007/05/10 00:40:59 UTC

svn commit: r536697 - /incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/core/runtime/RuntimeComponentServiceImpl.java

Author: antelder
Date: Wed May  9 15:40:58 2007
New Revision: 536697

URL: http://svn.apache.org/viewvc?view=rev&rev=536697
Log:
Big hack to get past problem using getInvoker with the Axis2 binding

Modified:
    incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/core/runtime/RuntimeComponentServiceImpl.java

Modified: incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/core/runtime/RuntimeComponentServiceImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/core/runtime/RuntimeComponentServiceImpl.java?view=diff&rev=536697&r1=536696&r2=536697
==============================================================================
--- incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/core/runtime/RuntimeComponentServiceImpl.java (original)
+++ incubator/tuscany/java/sca/modules/core/src/main/java/org/apache/tuscany/core/runtime/RuntimeComponentServiceImpl.java Wed May  9 15:40:58 2007
@@ -78,7 +78,9 @@
         }
         for (InvocationChain chain : wire.getInvocationChains()) {
             Operation op = chain.getTargetOperation();
-            if (op.equals(operation)) {
+            // TODO: Operation.equals doesn seem to work with Operations with diff databindings
+            //       so just check the name for now 
+            if (op.getName().equals(operation.getName())) {
                 return chain.getHeadInvoker();
             }
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org