Another change to make the TC class constructor not take any args.


git-svn-id: http://svn.code.sf.net/p/pywebsvcs/code/trunk@263 7150bf37-e60d-0410-b93f-83e91ef0e581
- Client.py failed to import faultType from Types.py, and was getting
  the python default instead.  This caused problems in properly
  detecting errors on the server reported via SOAP.


git-svn-id: http://svn.code.sf.net/p/pywebsvcs/code/trunk@264 7150bf37-e60d-0410-b93f-83e91ef0e581
 Modified Files:
 	TCcompound.py -- Bug fix in Struct.parse method.  The value dictionary was
            incorrectly being filled for what.repeatable, and set to "None".  Thus
            if a what is repeatable, with >1 instance the value returned by this
	    method is None.

<                             v[what.aname] = v[what.aname].append(value)
---
>                             v[what.aname].append(value)


git-svn-id: http://svn.code.sf.net/p/pywebsvcs/code/trunk@265 7150bf37-e60d-0410-b93f-83e91ef0e581
 Modified Files:
 	TCcompound.py -- added 4 lines of code to allow for repeatable elements.

diff -r1.16 TCcompound.py
111a112,113
>                         c[j] = None
>                         continue
121c123
<                 if not what.optional:
---
>                 if not what.optional and not v.has_key(what.aname):


git-svn-id: http://svn.code.sf.net/p/pywebsvcs/code/trunk@266 7150bf37-e60d-0410-b93f-83e91ef0e581
 Modified Files:
 	WSDLTools.py -- just a few minor changes so the new schema class
		will be used instead of the schema tns placeholder.

		Might want to add an argument to WSDL.load method so that
                programmer can specify the placeholder or actual
		implementation.

        XMLSchema.py -- mostly new, unused original code is commented out at the bottom.


git-svn-id: http://svn.code.sf.net/p/pywebsvcs/code/trunk@267 7150bf37-e60d-0410-b93f-83e91ef0e581
 ----------------------------------------------------------------------
 Modified Files:
 	XMLSchema.py -- fixed a couple bad variable references.


git-svn-id: http://svn.code.sf.net/p/pywebsvcs/code/trunk@268 7150bf37-e60d-0410-b93f-83e91ef0e581
- Trivial formatting change


git-svn-id: http://svn.code.sf.net/p/pywebsvcs/code/trunk@269 7150bf37-e60d-0410-b93f-83e91ef0e581
- Modifed WSDL.Proxy to pass along all arguments to SOAPProxy.  This
  should ensure that all features of SOAPProxy are accessible to users
  of WSDL.Proxy

- Created URLopener.py, which contains a class extending
  urllib.FancyURLopener.  This class allows reading from URLs that
  are protected by basic authenticatoin, have been relocated, etc.

- Modified WSDL.Proxy to use URLopener.  It should now permit access
  to WSDL files protected by basic authentication.


git-svn-id: http://svn.code.sf.net/p/pywebsvcs/code/trunk@270 7150bf37-e60d-0410-b93f-83e91ef0e581
fixed a naming issue


git-svn-id: http://svn.code.sf.net/p/pywebsvcs/code/trunk@271 7150bf37-e60d-0410-b93f-83e91ef0e581
Starting the process of moving the tests over to using unittest. I'm doing
the most naive thing first. I'm just moving the old tests into a unittest
framework. I haven't added any sophisticated usages of unittest, but at
least this will get the tests into a framework that will make adding new
ones easier.


git-svn-id: http://svn.code.sf.net/p/pywebsvcs/code/trunk@272 7150bf37-e60d-0410-b93f-83e91ef0e581
One more test moved over.


git-svn-id: http://svn.code.sf.net/p/pywebsvcs/code/trunk@273 7150bf37-e60d-0410-b93f-83e91ef0e581
Moving along on this.


git-svn-id: http://svn.code.sf.net/p/pywebsvcs/code/trunk@274 7150bf37-e60d-0410-b93f-83e91ef0e581
All the tests have been added into a basic unittest framework. "test_zsi.py"
will call all of the subtest. New tests should be added in to this framework.


git-svn-id: http://svn.code.sf.net/p/pywebsvcs/code/trunk@275 7150bf37-e60d-0410-b93f-83e91ef0e581
- Unecesssary import was creating a circular import loop.


git-svn-id: http://svn.code.sf.net/p/pywebsvcs/code/trunk@276 7150bf37-e60d-0410-b93f-83e91ef0e581
- Modified XMLSchema to extend UserTuple instead of tuple for python < 2.2.

- Added UserTuple class, taken from from Stefan Schwarzer's ftputil
  library, which is available at
  <http://www.ndh.net/home/sschwarzer/python/python_software.html>.


git-svn-id: http://svn.code.sf.net/p/pywebsvcs/code/trunk@277 7150bf37-e60d-0410-b93f-83e91ef0e581
 ----------------------------------------------------------------------
 Modified Files:
 	XMLSchema.py -- added LBNL copyright header.
 Added Files:
 	license.txt -- LBNL copyright.


git-svn-id: http://svn.code.sf.net/p/pywebsvcs/code/trunk@278 7150bf37-e60d-0410-b93f-83e91ef0e581
 ----------------------------------------------------------------------
 Modified Files:
 	XMLSchema.py -- missing parent parameter to a few constructors
		that expect to see it.  fixed.


git-svn-id: http://svn.code.sf.net/p/pywebsvcs/code/trunk@279 7150bf37-e60d-0410-b93f-83e91ef0e581
 ----------------------------------------------------------------------
 Modified Files:
 	XMLSchema.py -- still a couple mistakes in constructors, changed
		XSDNS to SCHEMA.XSD_LIST which was a mistake.


git-svn-id: http://svn.code.sf.net/p/pywebsvcs/code/trunk@280 7150bf37-e60d-0410-b93f-83e91ef0e581
Modified the README to have slightly more accurate information. I also removed the test that used the http resolver from test_zsi since it requires net access. I then added a test_zsi_net module that will call all of the tests including thouse that require outside connectivity.


git-svn-id: http://svn.code.sf.net/p/pywebsvcs/code/trunk@281 7150bf37-e60d-0410-b93f-83e91ef0e581
A few minor clean up and bug fixes. Mostly some screwups when I cut and pasted the old tests.


git-svn-id: http://svn.code.sf.net/p/pywebsvcs/code/trunk@282 7150bf37-e60d-0410-b93f-83e91ef0e581