Search for Action attributes not only in WSA*.ADDRESS namespaces
but also in WSAW*. wsaw is used by Globus Toolkit 4.2+
See http://www.w3.org/TR/ws-addr-wsdl/ for wsaw definition.
-- lazy evaluation of known namespace bombing when that schema is not passed in. It should be ignored, esp if it is a well known schema like SOAPENC or XSD
-- If one tries to grab a schema item using the helper methods, if that item doesn't exist and the namespace is not in the BUILT_IN_NAMESPACES list then throw a SchemaError. Now failure to specify an import dependency will result in an error like:
ZSI.wstools.XMLSchema.SchemaError: schema "urn:webservices" does not import namespace "urn:base"
when "item.getTypeDefinition()" is called and the "type" attribute value QName is in a namespace that hasn't been declared as a dependency
So basically this throws errors when can't find a schema item that is supposed to be defined, rather than just returning None most of the time, which is always an error condition.
M a Utility.py
-- use M2Crypto if available for TimeOutSocket, and standard "ssl" if it's not
--
-- fix for exclusive c14n, fairly extensive changes were necessary to
pass down dict of unused prefix:namespace mappings.
<... xmlns:ns1="urn:bla" xmlns:ns2="urn:bla2"..
<CanonicalizeMe
<...
<ns1:whatever>
So now if I do an exclusive of "CanonicalizeMe" now the xmlns:ns1="urn:bla"
will be added to ns1:whatever element
Modified Files:
ZSI/generate/containers.py
ZSI/generate/wsdl2python.py
-- fix for bug 1420662, restriction of anyType.
test/wsdl2py/test_OpcDaGateway.py
-- prepended "hangs_" to a couple test_ methods that hang now.
ZSI/wstools/XMLSchema.py
-- removed a comment
----------------------------------------------------------------------
Modified Files:
ZSI/generate/__init__.py
-- added a BP message.
ZSI/generate/wsdl2python.py
ZSI/generate/containers.py
-- Changed rpc/enc generation so that a new Struct with pname=None is constructed
with the "conventional" typecode. Also moved a lot of "setup" code into "setUp"
method.
ZSI/wstools/WSDLTools.py
-- removed some comments
----------------------------------------------------------------------
Committing in .
Modified Files:
ZSI/wstools/Utility.py -- add little check for None
$ wsdl2py.py -f authority.xml.html
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.4/bin/wsdl2py.py", line 7, in ?
execfile(__file__)
File "/Users/boverhof/Desktop/Workspace/Python/zsi/scripts/wsdl2py.py", line 196, in ?
main()
File "/Users/boverhof/Desktop/Workspace/Python/zsi/scripts/wsdl2py.py", line 183, in main
wsm.writeClient(fd)
File "/Users/boverhof/Desktop/Workspace/Python/zsi/ZSI/generate/wsdl2python.py", line 211, in writeClient
sd.fromWsdl(service, **kw)
File "/Users/boverhof/Desktop/Workspace/Python/zsi/ZSI/generate/wsdl2python.py", line 273, in fromWsdl
self.locator.setUp(service)
File "/Users/boverhof/Desktop/Workspace/Python/zsi/ZSI/generate/containers.py", line 331, in setUp
info = (p.getBinding().getPortType().name, p.getBinding().name, ab.location)
File "/Users/boverhof/Desktop/Workspace/Python/zsi/ZSI/wstools/WSDLTools.py", line 1106, in getBinding
return wsdl.bindings[self.binding]
File "/Users/boverhof/Desktop/Workspace/Python/zsi/ZSI/wstools/Utility.py", line 1169, in __getitem__
return self.data[nsuri][name]
KeyError: u'http://www.omg.org/LSID/2003/AuthorityServiceSOAPBindings'
----------------------------------------------------------------------
Committing in .
Modified Files:
ZSI/TCapache.py ZSI/TCcompound.py ZSI/TCtimes.py ZSI/writer.py
ZSI/generate/wsdl2dispatch.py ZSI/wstools/Utility.py
-- finished the _get_idstr conversion, and added a "createMethodBody"
method to wsdl2dispatch.WSAServiceModuleWriter which is now called
in "setUp".
----------------------------------------------------------------------
Modified Files:
XMLSchema.py -- fixed bug with xsd:import w/o schemaLocation.
This bug may have been introduced with recursive import fix.
----------------------------------------------------------------------
Modified Files:
Tag: serialize-dom-scheme
ZSI/TC.py
-- bug fix in QName.
ZSI/generate/containers.py
-- changed "TypesHeaderContainer" made the import a class variable
so I can globally modify it's contents.
ZSI/generate/utility.py
ZSI/generate/wsdl2python.py
No tag
ZSI/wstools/XMLSchema.py
-- changed <xsd:imports> to prevent recursion errors and to
stop unnecessary duplicate XMLSchema objects representing the
same namespace from being created.
----------------------------------------------------------------------