Hi,
I used the following wsdl url.
http://www.flash-db.com/services/ws/locationByZip.wsdl
is the webservice to calculate the latitude and
longitude for given zipcode.
Using ZSI v1.7. I created Services and Types proxy classes.
I followed the wsdl2py.py file for generating the files.
In that LocationByZip_services.py file has syntax error
at line no. 116 and 152.
But i changed littile bit on this file.
Still it was not giving the result. It was giving the
exceptions.
I am aslo attaching the LocationByZip_services.py file
here.
Please give your inputs....
Advance Thanks.
Bye
Satheesh Banda
LocationByZip_services.py
Logged In: YES
user_id=711996
Sorry it took so long to look at this but this appears to be working in SVN.
% wsdl2py.py -u http://www.flash-db.com/services/ws/
% ls
LocationByZip_services.py LocationByZip_services_types.py
% python
Python 2.4.1 (#2, Mar 31 2005, 00:05:10)
[GCC 3.3 20030304 (Apple Computer, Inc. build 1666)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from LocationByZip_services import *
>>> dir()
['ComplexType', 'ElementDeclaration', 'LocationByZipBindingSOAP',
'LocationByZipServiceLocator', 'Struct', 'TypeDefinition', 'ZSI', '__builtins__',
'__doc__', '__name__', 'client', 'getDistanceByZip', 'getDistanceByZipResponse',
'getLocationByZip', 'getLocationByZipResponse', 'ns0', 'types', 'urlparse']