I have this WSDL https://service.pmpay.it/payPA/services/PayPA?wsdl
When call operation "PagamentoEsistenteBollettino" fromZeep it returns something like that, only if I set raw_response:
HTTP/1.1 200 OK
Content-Type: multipart/related; type="text/xml"; start=""; boundary="----=_Part_187_56733036.1531119409567"
Date: Mon, 09 Jul 2018 06:56:48 GMT
Server: Apache/2.2.34 (Amazon)
Set-Cookie: JSESSIONID=071051776929F840961967409854D3CA; Path=/payPA/; HttpOnly
transfer-encoding: chunked
Connection: keep-alive
------=_Part_187_56733036.1531119409567
Content-Type: text/xml; charset=UTF-8
Content-Transfer-Encoding: binary
Content-Id:
OK
------=_Part_187_56733036.1531119409567
Content-Type: application/octet-stream
Content-Transfer-Encoding: binary
Content-Id: <26B914A4F97C0F965EB14E2AF41B4BEF>
%PDF-1.5
%âãÏÓ
6 0 obj <</Length 2328/Filter/FlateDecode>>stream
ôlžUÿÍN
h”-YÜyª9;8e+`óæ¾ÏxtÝiä} èG/ðd×-k½?00l6Ðúu]gèÃþ ú
n²¯1?Øâ7ù hJz
w&IKùë
[...SNIP...]
Without "raw_response", it will return a NoneType, generating a parse error.
Is there a way to manage this type of response with Zeep?
Thanks in advance
Danilo DI Moia
I have this WSDL https://service.pmpay.it/payPA/services/PayPA?wsdl
When call operation "PagamentoEsistenteBollettino" fromZeep it returns something like that, only if I set raw_response:
HTTP/1.1 200 OK
Content-Type: multipart/related; type="text/xml"; start=""; boundary="----=_Part_187_56733036.1531119409567"
Date: Mon, 09 Jul 2018 06:56:48 GMT
Server: Apache/2.2.34 (Amazon)
Set-Cookie: JSESSIONID=071051776929F840961967409854D3CA; Path=/payPA/; HttpOnly
transfer-encoding: chunked
Connection: keep-alive
------=_Part_187_56733036.1531119409567
OKContent-Type: text/xml; charset=UTF-8
Content-Transfer-Encoding: binary
Content-Id:
------=_Part_187_56733036.1531119409567
Content-Type: application/octet-stream
Content-Transfer-Encoding: binary
Content-Id: <26B914A4F97C0F965EB14E2AF41B4BEF>
%PDF-1.5
%âãÏÓ
6 0 obj <</Length 2328/Filter/FlateDecode>>stream
ôlžUÿÍN
h”-YÜyª9;8e+`óæ¾ÏxtÝiä} èG/ðd×-k½?00l6Ðúu]gèÃþ ú
n²¯1?Øâ7ù hJz
w&IKùë
[...SNIP...]
Without "raw_response", it will return a NoneType, generating a parse error.
Is there a way to manage this type of response with Zeep?
Thanks in advance
Danilo DI Moia