airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From patanac...@apache.org
Subject svn commit: r1164318 - /incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/invoker/GFacInvoker.java
Date Fri, 02 Sep 2011 01:02:59 GMT
Author: patanachai
Date: Fri Sep  2 01:02:58 2011
New Revision: 1164318

URL: http://svn.apache.org/viewvc?rev=1164318&view=rev
Log:
Fix Gfac path calculation bug

Modified:
    incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/invoker/GFacInvoker.java

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/invoker/GFacInvoker.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/invoker/GFacInvoker.java?rev=1164318&r1=1164317&r2=1164318&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/invoker/GFacInvoker.java
(original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/invoker/GFacInvoker.java
Fri Sep  2 01:02:58 2011
@@ -29,7 +29,6 @@ import javax.xml.namespace.QName;
 import org.apache.airavata.xbaya.XBayaException;
 import org.apache.airavata.xbaya.invoker.factory.InvokerFactory;
 import org.apache.airavata.xbaya.lead.NotificationHandler;
-import org.apache.airavata.xbaya.util.WSDLUtil;
 
 import xsul.lead.LeadContextHeader;
 import xsul.wsdl.WsdlDefinitions;
@@ -88,7 +87,7 @@ public class GFacInvoker implements Invo
             URI uri = new URI(this.gfacURL);
             String path = uri.getPath();
             if (path != null && path.contains("/")) {
-                path = path.substring(path.lastIndexOf('/') + 1) + portTypeQName.getLocalPart()
+ "/getWSDL";
+                path = path.substring(0, path.lastIndexOf('/') + 1) + portTypeQName.getLocalPart()
+ "/getWSDL";
             }
             uri = new URI(uri.getScheme(), uri.getUserInfo(), uri.getHost(), uri.getPort(),
path, uri.getQuery(),
                     uri.getFragment());



Mime
View raw message