tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject svn commit: r1042124 - /tuscany/sca-java-1.x/trunk/itest/wsdlgen-verify/src/test/java/wsdlgen/verify/BaseFramework.java
Date Sat, 04 Dec 2010 09:40:44 GMT
Author: nash
Date: Sat Dec  4 09:40:44 2010
New Revision: 1042124

URL: http://svn.apache.org/viewvc?rev=1042124&view=rev
Log:
Print WSDL once only

Modified:
    tuscany/sca-java-1.x/trunk/itest/wsdlgen-verify/src/test/java/wsdlgen/verify/BaseFramework.java

Modified: tuscany/sca-java-1.x/trunk/itest/wsdlgen-verify/src/test/java/wsdlgen/verify/BaseFramework.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-1.x/trunk/itest/wsdlgen-verify/src/test/java/wsdlgen/verify/BaseFramework.java?rev=1042124&r1=1042123&r2=1042124&view=diff
==============================================================================
--- tuscany/sca-java-1.x/trunk/itest/wsdlgen-verify/src/test/java/wsdlgen/verify/BaseFramework.java
(original)
+++ tuscany/sca-java-1.x/trunk/itest/wsdlgen-verify/src/test/java/wsdlgen/verify/BaseFramework.java
Sat Dec  4 09:40:44 2010
@@ -70,6 +70,7 @@ public class BaseFramework {
     private static SCADomain domain;
     private static Map<String, Element> schemaMap;
     private static PortType portType;
+    private static boolean printWSDL = true;
 
     private Map<String, String> prefixMap;
 
@@ -241,8 +242,9 @@ public class BaseFramework {
     }
 
     protected static void start(String serviceName) throws Exception {
-        WSDLServiceGenerator.printWSDL = true;
+        WSDLServiceGenerator.printWSDL = printWSDL;
         domain = SCADomain.newInstance("DataTypes.composite");
+        printWSDL = false;  // print WSDL once only
         readWSDL(serviceName);
     }
 



Mime
View raw message