I did the latter and it worked! Thanks!


On Thu, Feb 5, 2009 at 8:33 AM, Joshua Boverhof <> wrote:
Either edit this method in directly, or import "TypeCode" and assign it a different method for "serialize_as_nil".


class TypeCode

   def serialize_as_nil(self, elt):
           elt -- the current DOMWrapper element
       elt.setAttributeNS(SCHEMA.XSI3, 'nil', '1')

On Feb 4, 2009, at 3:45 PM, Andrew wrote:


I'm using zsi (<module 'ZSI.version' from '/ati/tdm/apps/python/lib/
python2.4/site-packages/ZSI-2.0_rc3-py2.4.egg/ZSI/'>) to
talk to an axis2 server. There is a problem however  when I do not
assign a member of a complex type, zsi generates 'xsi:nil='1'' in the
marshalled request and the axis2 server expects 'true' instead of
'1'.  Based on what i've read here:

using '1' is completely acceptable. But apparently this axis2 server
doesn't like it. Is there a way I can change something in ZSI to
produce 'true' instead of '1' when a nillable field is not assigned
when it marshalls the data?


Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-
Pywebsvcs-talk mailing list
Also archived at