Author: mriou
Date: Fri Oct 20 21:30:34 2006
New Revision: 466331

URL: http://svn.apache.org/viewvc?view=rev&rev=466331
Log:
Can't throw an error if we have an invoke on a partner link with 
initializePartnerRole="false" for now. We still need something initialized 
internally (the partner role channel). But that should be fixed (see ODE-72).

Modified:
    
incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/ProcessDDInitializer.java

Modified: 
incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/ProcessDDInitializer.java
URL: 
http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/ProcessDDInitializer.java?view=diff&rev=466331&r1=466330&r2=466331
==============================================================================
--- 
incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/ProcessDDInitializer.java
 (original)
+++ 
incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/ProcessDDInitializer.java
 Fri Oct 20 21:30:34 2006
@@ -84,11 +84,11 @@
                 throw new BpelEngineException(msg);
             }
             // TODO Handle non initialize partner roles that just provide a 
binding
-            if (!pLink.initializePartnerRole && 
_oprocess.version.equals(Namespaces.WS_BPEL_20_NS)) {
-                String msg = 
ProcessDDInitializer.__msgs.msgDDNoInitiliazePartnerRole(invoke.getPartnerLink());
-                ProcessDDInitializer.__log.error(msg);
-                throw new BpelEngineException(msg);
-            }
+//            if (!pLink.initializePartnerRole && 
_oprocess.version.equals(Namespaces.WS_BPEL_20_NS)) {
+//                String msg = 
ProcessDDInitializer.__msgs.msgDDNoInitiliazePartnerRole(invoke.getPartnerLink());
+//                ProcessDDInitializer.__log.error(msg);
+//                throw new BpelEngineException(msg);
+//            }
         }
     }
 


Reply via email to