Code Monkey home page Code Monkey logo

suds's People

Contributors

euan avatar maxnaude avatar

Watchers

 avatar  avatar

suds's Issues

HTTP request location not utf-8 encoded

Taken from https://bitbucket.org/jurko/suds/pull-requests/14/fixed-http-location-encoding-changed-from:

Currently, HTTP request location is stored as Suds.sax.Text class. This is the only string that is passed to urrlib2 that is not utf-8 encoded.

This causes mixed string types to end up in httplib _send_output, which fails if the SOAP payload contains non-ascii characters:

File "/usr/lib/python2.7/httplib.py", line 862, in _send_output msg += message_body UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 1411: ordinal not in range(128)

"INVALID_TYPE: Must send a concrete entity type" when used with salesforce_python_toolkit-0.1.5

Issue with suds 0.4 when using salesforce_python_toolkit 0.1.5:

Traceback:

File "/.../eggs/salesforce_python_toolkit-0.1.5.maxnaude.2-py2.7.egg/sforce/enterprise.py", line 90, in upsert
return super(SforceEnterpriseClient, self).upsert(externalIdFieldName, xml)
File "/.../eggs/salesforce_python_toolkit-0.1.5.maxnaude.2-py2.7.egg/sforce/base.py", line 509, in upsert
return self._handleResultTyping(self._sforce.service.upsert(externalIdFieldName, sObjects))
File "/.../eggs/suds-0.4.maxnaude.2-py2.7.egg/suds/client.py", line 542, in call
return client.invoke(args, kwargs)
File "/.../eggs/suds-0.4.maxnaude.2-py2.7.egg/suds/client.py", line 602, in invoke
result = self.send(soapenv)
File "/.../eggs/suds-0.4.maxnaude.2-py2.7.egg/suds/client.py", line 649, in send
result = self.failed(binding, e)
File "/.../eggs/suds-0.4.maxnaude.2-py2.7.egg/suds/client.py", line 702, in failed
r, p = binding.get_fault(reply)
File "/.../eggs/suds-0.4.maxnaude.2-py2.7.egg/suds/bindings/binding.py", line 265, in get_fault
raise WebFault(p, faultroot)
WebFault: Server raised fault: 'INVALID_TYPE: Must send a concrete entity type.'

This seems to have started with suds 0.4, 0.3.9 not affected.

See also:
https://developer.salesforce.com/forums/?id=906F0000000AUtPIAW
https://lists.fedoraproject.org/pipermail/suds/2010-December/001297.html
https://lists.fedoraproject.org/pipermail/suds/2010-December/001298.html

Remove SSLv3 handler

Insecure SSLv3 handler is failing against many modern sites with:

_ssl.c:510: error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.