airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From patanac...@apache.org
Subject svn commit: r1166782 - /incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/invoker/GFacInvoker.java
Date Thu, 08 Sep 2011 16:35:00 GMT
Author: patanachai
Date: Thu Sep  8 16:35:00 2011
New Revision: 1166782

URL: http://svn.apache.org/viewvc?rev=1166782&view=rev
Log:
Remove building concrete WSDL part

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=1166782&r1=1166781&r2=1166782&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
Thu Sep  8 16:35:00 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;
@@ -96,19 +95,13 @@ public class GFacInvoker implements Invo
             }
             URI getWsdlURI = new URI(uri.getScheme(), uri.getUserInfo(), uri.getHost(), uri.getPort(),
gfacPath + "/getWSDL", uri.getQuery(),
                     uri.getFragment());
-            URI invokeURI = new URI(uri.getScheme(), uri.getUserInfo(), uri.getHost(), uri.getPort(),
gfacPath + "/invoke", uri.getQuery(),
-                    uri.getFragment());
 
             logger.info("getWSDL service:" + getWsdlURI.toString());
             
-            WsdlDefinitions abstractWSDL = WsdlResolver.getInstance().loadWsdl(getWsdlURI);
-            
-            logger.info("Invoke service:" + invokeURI.toString());
-             
-            WsdlDefinitions concreateWSDL = WSDLUtil.wsdlDefinitions5ToWsdlDefintions3(WSDLUtil.convertToCWSDL(WSDLUtil.wsdlDefinitions3ToWsdlDefintions5(abstractWSDL),
invokeURI));
+            WsdlDefinitions concreteWSDL = WsdlResolver.getInstance().loadWsdl(getWsdlURI);
                       
             
             this.invoker = InvokerFactory
-                    .createInvoker(this.portTypeQName, concreateWSDL, null, this.messageBoxURL,
null);
+                    .createInvoker(this.portTypeQName, concreteWSDL, null, this.messageBoxURL,
null);
             this.invoker.setup();
         } catch (XBayaException xe) {
             throw xe;



Mime
View raw message