Something about Soaplib 0.8.1 problem
March 11th, 2010 by skysbird
in soaplib/wsgi_soap.py
there are somethings like
if payload:
and this will cause a futurewarning
FutureWarning: The behavior of this method will change in future versions. Use specific ‘len(elem)’ or ‘elem is not None’ test instead.
and the invoke from java client with axis 1.4 will be failed,so we need to change it as it describes:
change
if payload:
to
if payload is not None:
then it goes well.