Menu

#96 Generated proxy classes has syntax errors

v1.7
closed-out-of-date
zsi (169)
9
2006-03-21
2005-10-21
Satheesh
No

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

Discussion

  • Satheesh

    Satheesh - 2005-10-21

    LocationByZip_services.py

     
  • Satheesh

    Satheesh - 2005-10-21
    • priority: 5 --> 9
    • summary: Generated proxy classes has syntax error --> Generated proxy classes has syntax errors
     
  • Joshua Boverhof

    Joshua Boverhof - 2006-03-21

    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']

     
  • Joshua Boverhof

    Joshua Boverhof - 2006-03-21
    • assigned_to: nobody --> boverhof
    • status: open --> closed-out-of-date
     

Log in to post a comment.