Folks, I am trying to access a WSDL and I used wsdl2py to create the needed files. My problem is that when I try to create a request object I get a request Holder object instead.
>>> get_rates_by_profile_name=ns0.get_rates_by_profile_name_Dec().pyclass >>> req=get_rates_by_profile_name() >>> req._username = username >>> req._org_id = org_id >>> req._profile_name = profile_name >>> req <HotelWebService_services_types.get_rates_by_profile_name_Holder object at 0xb7c04d8c> When I try to get a response the isinstance() test rejects the request holder object as being of the wrong type. >>> resp = portType.get_rates_by_profile_name(req) Traceback (most recent call last): File "<stdin>", line 1, in ? File "HotelWebService_services.py", line 487, in get_rates_by_profile_name raise TypeError, "%s incorrect request type" % (request.__class__) TypeError: <class 'HotelWebService_services_types.get_rates_by_profile_name_Holder'> incorrect request type How do I get a req object that ZSI will let me use to get a response? Thanks Kevin
-- http://mail.python.org/mailman/listinfo/python-list