You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by la...@apache.org on 2011/08/01 21:48:28 UTC

svn commit: r1152910 - /incubator/airavata/trunk/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java

Author: lahiru
Date: Mon Aug  1 19:48:27 2011
New Revision: 1152910

URL: http://svn.apache.org/viewvc?rev=1152910&view=rev
Log:
Fixing issue https://issues.apache.org/jira/browse/AIRAVATA-53

Modified:
    incubator/airavata/trunk/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java

Modified: incubator/airavata/trunk/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java?rev=1152910&r1=1152909&r2=1152910&view=diff
==============================================================================
--- incubator/airavata/trunk/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java (original)
+++ incubator/airavata/trunk/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java Mon Aug  1 19:48:27 2011
@@ -286,7 +286,8 @@ public class WorkflowInterpreter {
                 if (readyNodes.size() == 0) {
                     try {
                         Thread.sleep(400);
-                    } catch (InterruptedException e) {
+                    } catch (InterruptedException
+                            e) {
                         e.printStackTrace();
                     }
                 }
@@ -627,13 +628,16 @@ public class WorkflowInterpreter {
                 }
 
             } else {
+                if(wsdlLocation.endsWith("/")){
+                    wsdlLocation = wsdlLocation.substring(0,wsdlLocation.length() -1);
+                }
                 if (!wsdlLocation.endsWith("?wsdl")) {
                     wsdlLocation += "?wsdl";
                 }
                 invoker = new GenericInvoker(portTypeQName, wsdlLocation, node.getID(), this.configuration
                         .getMessageBoxURL().toString(), gfacURLString, this.notifier);
             }
-            invoker.setup();
+                invoker.setup();
             this.invokerMap.put(node, invoker);
             invoker.setOperation(wsComponent.getOperationName());
         }