Note that there are some explanatory texts on larger screens.

plurals
  1. POPossible message size limitation when using SUDS to consume an RPClib service?
    text
    copied!<p>I have been using SUDS and RPCLib to develop a SOAP interface to a software solution that takes a PDF document and returns a PNG, and have found a very interesting problem.</p> <p>I have written the testing client (using SUDS) and server (using RPCLib), and they work successfully when when the documents to be uploaded and returned are less than about 3.5Mb. However, when uploading larger documents I get the SUDS Error:</p> <pre><code>Traceback (most recent call last): File "MyFunc.py", line 90, in &lt;module&gt; callMyFuncSOAPService(fName, test_id, fNameOut) File "MyFuncClient.py", line 77, in callMyFuncSOAPService temp_list = client.service.createInstance(encoded_data, 19, test_id, 20) File "/usr/local/lib/python2.7/dist-packages/suds/client.py", line 542, in __call__ return client.invoke(args, kwargs) File "/usr/local/lib/python2.7/dist-packages/suds/client.py", line 602, in invoke result = self.send(soapenv) File "/usr/local/lib/python2.7/dist-packages/suds/client.py", line 637, in send reply = transport.send(request) File "/usr/local/lib/python2.7/dist-packages/suds/transport/https.py", line 64, in send return HttpTransport.send(self, request) File "/usr/local/lib/python2.7/dist-packages/suds/transport/http.py", line 77, in send fp = self.u2open(u2request) File "/usr/local/lib/python2.7/dist-packages/suds/transport/http.py", line 118, in u2open return url.open(u2request, timeout=tm) File "/usr/lib/python2.7/urllib2.py", line 400, in open response = self._open(req, data) File "/usr/lib/python2.7/urllib2.py", line 418, in _open '_open', req) File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain result = func(*args) File "/usr/lib/python2.7/urllib2.py", line 1207, in http_open return self.do_open(httplib.HTTPConnection, req) File "/usr/lib/python2.7/urllib2.py", line 1177, in do_open raise URLError(err) urllib2.URLError: &lt;urlopen error [Errno 32] Broken pipe&gt; </code></pre> <p>And when returning a document, the Server finishes processing and returns the document, but the Client hangs.</p> <p>I have a feeling that this is due to a limit in the HTTP transport layer, but have no idea how to address this. Thanks!</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload