Hi Alex,
Can you please provide the the actual stack trace?
Thanks,
Burak
On 08/28/12 13:21, Alex Railean wrote:
Hi,
I have just switched to the latest version of Spyne from Github, I
observe the following behaviour when a client connects:
{
DEBUG ValueError(u'Unicode strings with encoding declaration are not
supported.',) -- falling back to str decoding.
DEBUG Validated ? True
ERROR Fault(Client.ValidationError: "The value '1985-04-06' could not be
validated.")
}
The request is defined as follows:
class PhysicalPersonDataRequest(ComplexModel):
lastName = Unicode(max_len = 30)
firstName = Unicode(max_len = 30)
birthDate = Date
idnp = Unicode(max_len = 13)
icSerial = Unicode(max_len = 5)
icNumber = Unicode(max_len = 15)
The date looks right and I can't understand why this happens. I tried
switching the validation method to 'soft', but it yields the same
result.
Which troubleshooting steps are recommended?
_______________________________________________
Soap mailing list
[email protected]
http://mail.python.org/mailman/listinfo/soap
_______________________________________________
Soap mailing list
[email protected]
http://mail.python.org/mailman/listinfo/soap