diff options
author | jortel <devnull@localhost> | 2008-11-05 20:39:06 +0000 |
---|---|---|
committer | jortel <devnull@localhost> | 2008-11-05 20:39:06 +0000 |
commit | 7bfca52f8fba6db41f4f40ba9e0e930cbf1b80d2 (patch) | |
tree | eb5c4c55b693ab29012db6414778c64d52fe587c /tests | |
parent | adb8ff311e203d8b3ec26c81549098f25072d9b5 (diff) | |
download | suds-7bfca52f8fba6db41f4f40ba9e0e930cbf1b80d2.tar.gz |
fix ( None ) value problem. Moved checking for ( None ) when translating in marshaller/unmarshaller from Builtin types to marshaller/unmarhshaller. This is where it should have been all along
Diffstat (limited to 'tests')
-rw-r--r-- | tests/axis2.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/axis2.py b/tests/axis2.py index e5782a5..737b2a7 100644 --- a/tests/axis2.py +++ b/tests/axis2.py @@ -29,7 +29,7 @@ errors = 0 setup_logging() -#logging.getLogger('suds.client').setLevel(logging.DEBUG) +logging.getLogger('suds.client').setLevel(logging.DEBUG) url = 'http://localhost:8080/axis2/services/BasicService?wsdl' @@ -92,7 +92,7 @@ person = client.factory.create('ns2:Person') print '{empty} person=\n%s' % person person.name = name -person.age = 43 +person.age = None person.birthday = datetime.now() person.phone.append(phoneA) person.phone.append(phoneB) @@ -131,6 +131,7 @@ print '\nreply(\n%s\n)\n' % str(result) # invoke the echo service # print 'echo()' +client.service.echo(None) result = client.service.echo('this is cool') print '\nreply( %s )\n' % str(result) |