Modified Files:
Namespaces.py
-- added some new WSRF namespaces.
WSDLTools.py
-- look for resourceProperties in all relevant namespaces.
XMLSchema.py
-- added 1 convenience method.
----------------------------------------------------------------------
Modified Files:
Utility.py
-- created a new func "basejoin" for python2.3, because python2.3
and python2.4 have different implementations(python2.3 is broke in
it's handling of current directory ./ ).
WSDLTools.py
-- fixed problem with wsdl:imports in WSDLTools.load, need to
_import all <wsdl:import>'s then check again if any <wsdl:import>'s
were added to main document and do again and again. Also fixed
problem with assigning base locations to these <wsdl:import>'s.
-- Remove all <wsdl:import>'s after they have been processed, or
deemed to be redundant.
-- grab basejoin from wstools.Utility
XMLSchema.py
-- grab basejoin from wstools.Utility
----------------------------------------------------------------------
Modified Files:
XMLSchema.py -- added the item trace to an exception thrown
when an unexpected child is encountered in complexType.fromDom
method so one can see where the problem is occuring.
----------------------------------------------------------------------
Modified Files:
Utility.py -- need to do isfile check before calling mod func
"urlopen" for cross-platform compat.
----------------------------------------------------------------------
Modified Files:
XMLSchema.py -- added a couple convenience methods for grabbing
various Schema Items.
----------------------------------------------------------------------
Modified Files:
Utility.py -- change to accomodate writing out XML instances
w/o SOAP Envelopes, "known" prefixes aren't "known"
when the Envelope isn't writen out.
----------------------------------------------------------------------
Modified Files:
WSDLTools.py
-- removed a line that was screwing up imports/includes of
when WSDL file was specified to "wsdl2py" via a relative path.
XMLSchema.py
-- stop requiring suffix "xsd" for schema files.
----------------------------------------------------------------------
Modified Files:
c14n.py -- fixed a bug affecting those who don't have pyXML installed.
----------------------------------------------------------------------
Modified Files:
XMLSchema.py -- added a couple helper methods for discovering
whether or not an element should be qualified.
----------------------------------------------------------------------
Modified Files:
Namespaces.py
-- Added a SOAP-1.2 binding
WSDLTools.py
-- Added some methods from grabbing ElementDeclaration and
TypeDefintion from Message instances.
XMLSchema.py
-- fixed a bug in SchemaReader.
logging.py
-- added a couple more functions, and a level to basic logger.
----------------------------------------------------------------------
Modified Files:
** removed all "imports" of ZSI or ZSI.wstools, so wstools
can be used independently by SOAPpy.
Namespaces.py
-- added a namespace
Utility.py
-- moved ZSI.utility here, and the "Base" class for logging.
WSDLTools.py
-- added a "toDom" and "GetWSDL" methods to several classes,
so now you can construct a WSDL instance and then call
WSDL.toDom() --> DOM --> and create a WSDL file.
__init__.py
-- removed "Base" class for logging.
Added Files:
c14n.py
-- moved the c14n stuff from ZSI.compat here.
----------------------------------------------------------------------
Modified Files:
Utility.py -- catch any exceptions thrown when a DOM is loaded up,
throw a ParseError with old ex.args and inform which file
caused the problem.
XMLSchema.py -- For attributeGroup incorrectly adding global
attribute declarations, but these are declared locally.
----------------------------------------------------------------------
Modified Files:
WSDLTools.py -- uncommented some "import" code that I didn't
think was of any use. Now I need it.
----------------------------------------------------------------------
Modified Files:
WSDLTools.py
XMLSchema.py
--removed some print statements I left behind.
----------------------------------------------------------------------
Modified Files:
WSDLTools.py
-- resolution of default WS-Action was incorrect when using
imported portTypes.
XMLSchema.py
-- added a couple helper functions, and a few more Markers
for introspecting modelGroups and simpleType derivations.
----------------------------------------------------------------------
Modified Files:
XMLSchema.py -- Shouldn't check attributes for WSDL definition
since it's legal to specify <any> attribute in <definition>
----------------------------------------------------------------------
Modified Files:
XMLSchema.py -- required another condition in getItemTrace,
need to check if at <xsd:schema> or <wsdl:definition>,
also added some info to SchemaError throw in checkAttributes.
Now provides namespace/attribute and the Schema Item containing
the offending attribute.
----------------------------------------------------------------------
~
Modified Files:
XMLSchema.py
-- added a few convience methods, and 'disabled' a few methods
to force a sane usage.
__init__.py
-- removed use of python logging module, and replaced it with
the below.
Added Files:
logging.py
-- simple interface to log message to, can write your own
logger class. By default do no logging.
----------------------------------------------------------------------
Modified Files:
__init__.py -- changed "Base", which contains a logger, to
no-op logging if the logging configuration file is not
found and avoid the overhead of using the logging module.
----------------------------------------------------------------------
Modified Files:
WSDLTools.py -- Commented out the "imports" collection,
which isn't of much use.
Now URLs are resolved relative to the importing document.
Support for this scenario:
--- /Users/boverhof/Desktop/Wsdl/Service/whatever.wsdl
<definition>
<import location="../hello/hello.wsdl"/>
...
</definition>
--- /Users/boverhof/Desktop/Wsdl/hello/hello.wsdl
<definition>
<import location="goodbye.wsdl"/>
...
</definition>
--- /Users/boverhof/Desktop/Wsdl/hello/goodbye.wsdl
<definition>
...
</definition>
----------------------------------------------------------------------
Modified Files:
WSDLTools.py -- SoapBinding item soap:header message attribute
needs to be stored as a (namespace,name) tuple to enable
lookup.
----------------------------------------------------------------------
Enter Log. Lines beginning with `CVS:' are removed automatically
Committing in .
Modified Files:
__init__.py -- added some code for doing logging
----------------------------------------------------------------------