I had some issues with this as well... My problems were solved using by including the typename in the structType. soapobj=SOAP.structType(data=structdat, name=(namespace, myname)) where 'myname' is the type name of the object to pack, i.e. "Details" Hope this helps.