Share

Web Services for Python

Tracker: Bugs

5 Support <Result SOAP-ENC:arrayType="xsd:bool[2]"> - ID: 1936883
Last Update: Comment added ( warnes )

For the following SOAP request, SOAPy create an array of two strings
instead of two booleans:

<Result SOAP-ENC:arrayType="xsd:bool[2]"
xsi:type="SOAP-ENC:Array"><item>False</item><item>False</item></Result>

There are two problems: "boolean" type is converted to integer Python
object and SOAPpy doesn't use the attribute
SOAP-ENC:arrayType="xsd:bool[2]" of <Result> tag.

I wrote a small patch to fix the problem.


STINNER Victor ( haypo ) - 2008-04-07 16:13

5

Closed

Fixed

Nobody/Anonymous

SOAPpy

None

Public


Comment ( 1 )

Date: 2008-05-15 18:53
Sender: warnesSourceForge.net SubscriberProject Admin


Fixed. Code was looking for "boolean" when "bool" was provided.


Attached File ( 1 )

Filename Description Download
SOAPpy.patch Proposition of patch to fix the problem Download

Changes ( 4 )

Field Old Value Date By
status_id Open 2008-05-15 18:53 warnes
resolution_id None 2008-05-15 18:53 warnes
close_date - 2008-05-15 18:53 warnes
File Added 273606: SOAPpy.patch 2008-04-07 16:13 haypo