Debian Patches

Status for pysimplesoap/1.16.2-5

Patch Description Author Forwarded Bugs Origin Last update
Add-quotes-to-SOAPAction-header-in-SoapClient.patch [PATCH] Add quotes to SOAPAction header in SoapClient
According to the SOAP standard, the 'SOAPAction' HTTP field must be
quoted by double quotes unless the URI is empty and 'there is no
indication of the intent of the message' [1].

Not having proper quoting leads to gupnp based devices reply with invalid
XML. While there is a proposed fix for that to handle unquoted requests more
gracefully [2], the real issue in SoapClient implementation.

[1] https://www.w3.org/TR/2000/NOTE-SOAP-20000508/#_Toc478383528
[2] https://bugzilla.gnome.org/show_bug.cgi?id=793955
Daniel Mack <daniel@zonque.org> yes upstream 2018-03-02
fix-httplib2-version-check.patch no
reorder-type-check-to-avoid-a-TypeError.patch [PATCH] reorder type check to avoid a TypeError
Using a list or dict as return of a SOAP method led to an error:
File "pysimplesoap/server.py", line 372, in parse_element
if v in TYPE_MAP.keys():
TypeError: unhashable type: 'list'

Reorder the type check and add a comment to avoid this error.
Benedikt Spranger <b.spranger@linutronix.de> no 2016-01-20
Support-integer-values-in-maxOccurs-attribute.patch [PATCH] Support integer values in maxOccurs attribute
With the following complex type:
```
<element name="selectedContractList" nillable="true" type="tns1:selectedContractList"/>
[...]
<complexType name="selectedContractList">
<sequence>
<element maxOccurs="25" minOccurs="1" name="selectedContract" type="xsd:string"/>
</sequence>
</complexType>
```

pysimplesoap would generate the following key in the services description:
```
```

This does not allow the input of multiple values in any way. I was expecting to
be able to pass this:
```
'selectedContractList': [ {'selectedContract': '...'}, … ]
```

But this would result in "TypeError: unhashable type: 'dict'" in the
wsdl_validate_params() method. See full traceback below.

With this patch, I'm now able to pass the desired structure.

Full traceback of the unexpected error:
```
=?UTF-8?q?Rapha=C3=ABl=20Hertzog?= <hertzog@debian.org> no 2018-07-18
PR204.patch [PATCH] Remove inspect for Python 3.11 compatibility
Fixes issue in pyafipws:
```
/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/site-packages/pysimplesoap/transport.py:[14](https://github.com/reingart/pyafipws/actions/runs/3519199212/jobs/5898894972#step:13:15)1: in <module>
if 'timeout' in inspect.getargspec(httplib2.Http.__init__)[0]:
E AttributeError: module 'inspect' has no attribute 'getargspec'
```
Mariano Reingart <reingart@gmail.com> no 2022-11-21

All known versions for source package 'pysimplesoap'

Links