summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x/trunk/itest
diff options
context:
space:
mode:
authornash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-12-04 09:40:44 +0000
committernash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-12-04 09:40:44 +0000
commit16edc0ef3e9c0a2ee7f9542a30a2bbb3d1a27859 (patch)
tree6818397ca7a603cd02b019edb8e2882770f30d83 /sca-java-1.x/trunk/itest
parentfd7255bdac05ed68052bfa59d29bfde9f1a96720 (diff)
Print WSDL once only
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1042124 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-1.x/trunk/itest')
-rw-r--r--sca-java-1.x/trunk/itest/wsdlgen-verify/src/test/java/wsdlgen/verify/BaseFramework.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/sca-java-1.x/trunk/itest/wsdlgen-verify/src/test/java/wsdlgen/verify/BaseFramework.java b/sca-java-1.x/trunk/itest/wsdlgen-verify/src/test/java/wsdlgen/verify/BaseFramework.java
index 5c45d93827..06b6bb77b4 100644
--- a/sca-java-1.x/trunk/itest/wsdlgen-verify/src/test/java/wsdlgen/verify/BaseFramework.java
+++ b/sca-java-1.x/trunk/itest/wsdlgen-verify/src/test/java/wsdlgen/verify/BaseFramework.java
@@ -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);
}