an attempt to reinstate wsdl generation, not such a big deal after all
[plcapi.git] / wsdl / api2wsdl.py
index 539a39a..00f16cd 100755 (executable)
@@ -6,13 +6,12 @@
 # Current limitations:
 # - Invalid for the following reasons 
 # - The types are python types, not WSDL types
-# - I'm not sure of what to do with the auth structure - Need to figure out PLCAPI more closely
+# - I'm not sure of what to do with the auth structure 
 
 import os, sys
 import time
 import pdb
 import xml.dom.minidom
-import xml.dom.ext
 import inspect
 import globals
 
@@ -152,5 +151,5 @@ add_wsdl_ports_and_bindings(wsdl)
 add_wsdl_service(wsdl)
 
 
-xml.dom.ext.PrettyPrint(wsdl)
+print wsdl.toprettyxml()