This change fixes the WSDL build. I am aware that it removes a bit of flexibility...
authorSapan Bhatia <sapanb@cs.princeton.edu>
Tue, 8 Sep 2009 21:30:18 +0000 (21:30 +0000)
committerSapan Bhatia <sapanb@cs.princeton.edu>
Tue, 8 Sep 2009 21:30:18 +0000 (21:30 +0000)
test the generated WSDL before I make that change. In the meantime, please accommodate this simplification.

sfa/methods/get_aggregates.py
sfa/methods/get_registries.py

index 6f5bc7f..7cf8d79 100644 (file)
@@ -21,8 +21,8 @@ class get_aggregates(Method):
     
     accepts = [
         Parameter(str, "Credential string"),
-        Mixed([Parameter(str, "Human readable name (hrn)")],
-              Parameter(str, "Human readable name (hrn)"),
+        
+        Mixed(Parameter(str, "Human readable name (hrn)"),
               Parameter(None, "hrn not specified"))  
         ]
 
index 69b0751..e928aa2 100644 (file)
@@ -21,8 +21,8 @@ class get_registries(Method):
     
     accepts = [
         Parameter(str, "Credential string"),
-        Mixed([Parameter(str, "Human readable name (hrn)")],
-              Parameter(str, "Human readable name (hrn)"),
+        
+        Mixed(Parameter(str, "Human readable name (hrn)"),
               Parameter(None, "hrn not specified"))  
         ]