If you call a web service where you have a recursive definition in the structure of your WSDL, the parsing of the response goes into infinite loop>
Try this code on the amazon web service:
from ZSI.ServiceProxy import ServiceProxy
serv = ServiceProxy ("http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl?")
res = serv.ItemLookup (AWSAccessKeyId="<Your amazon ID key here>",
IdType="ASIN",
ItemId="B00023NDLS",
ResponseGroup="OfferFull",
Condition="All",
MerchantId="All" )
It then goes into an infinite loop and crashes (see trace attached). The problem is that an Item contains a RelatedItems, which contains RelatedItem, which contains Item, which... etc.
trace_after_calling_amazon_web_service