kartagis / pysimplesoap

Automatically exported from code.google.com/p/pysimplesoap
0 stars 0 forks source link

WSDL is fetched twice #59

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create an instance of SoapClient, passing a WSDL URL.

What is the expected output? What do you see instead?
The WSDL should be fetched from the HTTP server only once, not twice.

What version of the product are you using? On what operating system?
The latest SVN snapshot, as well as some older releases.

Please provide any additional information below.
Unless I am missing something, which might be the case, there appears to be 
some duplicated code at around line 111 and 137 in client.py:

        # parse wsdl url
        self.services = wsdl and self.wsdl_parse(wsdl, debug=trace, cache=cache) 
        self.service_port = None                 # service port for late binding

Original issue reported on code.google.com by santi...@gmail.com on 13 Mar 2012 at 9:04

GoogleCodeExporter commented 8 years ago
thanks for the report, committed changeset 131:e142fde20a3c

Original comment by reingart@gmail.com on 18 Apr 2012 at 7:31