Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Passing https_proxy to suds Client constructor. #5

Closed
wants to merge 5 commits into from

Conversation

rodrigoreis22
Copy link

The suds Client class needs the https_proxy in order to retrieve the API WSDL.

Just changed to pass this option to its constructor.

I've tested behind a http proxy and directly (without http proxy).

@jdilallo
Copy link
Contributor

jdilallo commented Apr 8, 2014

I will incorporate this into the next release.

msaniscalchi added a commit that referenced this pull request Apr 23, 2014
@msaniscalchi
Copy link
Contributor

This has been resolved in the 1.0.4 release.

@rodrigoreis22
Copy link
Author

Hey guys, we missed the ReportDownloader class.
We should pass the https_proxy there too:

schema_url = self._SCHEMA_FORMAT % (server, version)
schema = suds.client.Client(
schema_url,
doctor=suds.xsd.doctor.ImportDoctor(suds.xsd.doctor.Import(
self._namespace, schema_url))).wsdl.schema
self._report_definition_type = schema.elements[
(self._REPORT_DEFINITION_NAME, self._namespace)]
self._marshaller = suds.mx.literal.Literal(schema)

@msaniscalchi
Copy link
Contributor

We've fixed this in 1.0.5.

@msaniscalchi
Copy link
Contributor

Investigating a related issue brought up with the ReportDownloader.

@msaniscalchi msaniscalchi reopened this Oct 30, 2014
@msaniscalchi
Copy link
Contributor

The problem reported in issue #37 will be fixed in the next release; that issue will be closed once the fix is available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants