|
@@ -27,7 +27,7 @@ class WSDLReader: |
|
|
wsdl = WSDL() |
|
|
wsdl = WSDL() |
|
|
if name: |
|
|
if name: |
|
|
wsdl.location = name |
|
|
wsdl.location = name |
|
|
else: |
|
|
|
|
|
|
|
|
elif hasattr(file, 'name'): |
|
|
wsdl.location = file.name |
|
|
wsdl.location = file.name |
|
|
wsdl.load(document) |
|
|
wsdl.load(document) |
|
|
return wsdl |
|
|
return wsdl |
|
|