ZSI, SOAP and .NET web services - problem

David E. Konerding DSD staff dek at oliver.lbl.gov
Mon Mar 26 22:06:28 CEST 2007


On 2007-03-22, Jaroslaw Zabiello <hipertracker at gmail.com> wrote:
> I try to connect to web services (written in C#/.NET) with latest ZSI
> 2.0rc3 library. It just does not work.
>
> from ZSI.ServiceProxy import ServiceProxy 
> wsdl = 'http://192.168.0.103/NewWebServices/TemplateInsert.asmx?wsdl' 
> print ServiceProxy(wsdl, tracefile=sys.stdout) 
>
> "C:\opt\Python25\lib\site-packages\zsi-2.0_rc3-py2.5.egg\ZSI\wstools\WSDLTools.py",
> line 1116, in getAddressBinding 
> WSDLError: No address binding found in port. 
>
> This pythonic library must be stupid, because I have no problem to connect
> with... Ruby:

Actually, it's likely just more tolerant of an error in your WSDL
(leaving out your address binding).

Many of the WSDL toolkits ignore leaving out the address binding in the port type.

The java tooling seems to work that way and apparently ruby is the same way.

Try fixing your WSDL, then try again.



More information about the Python-list mailing list