[Fedora-suds-list] WSSE token date format

Philippe Gauvin :: Magnet Média phil at magnetmedia.ca
Wed Mar 3 16:04:32 UTC 2010


Looks good.

Thnxs !

On Wed, Mar 3, 2010 at 9:39 AM, Jeff Ortel <jortel at redhat.com> wrote:

> Hey Philippe,
>
> The timestamps in the suds wsse module were using datetime.isoformat()
> which isn't exactly correct for XML date/times.  I updated UsernameToken and
> TimestampToken to use the sax.date classes and also updated to express time
> in UTC.
>
> So, please give 0.4 (r664) beta a try and Please let me know how you make
> out.
>
> Regards,
>
> Jeff
>
>
> On 03/02/2010 03:13 PM, Philippe Gauvin :: Magnet Média wrote:
>
>>
>> Is there an easy way to change the date format for the WSSE with suds ?
>>
>> With
>>
>> token.setcreated(datetime.now())
>>
>> I get this error :
>>
>>    The timestamp 2010-03-01T16:07:56 in the message is not valid. It
>>    must be in this UTC format: yyyy-MM-ddTHH:mm:ssZ
>>
>>
>> I need to append the 'Z' char at the end of the creation time.
>>
>> any help would be greatly appreciated
>>
>>
>>
>>
>> _______________________________________________
>> suds mailing list
>> suds at lists.fedoraproject.org
>> https://admin.fedoraproject.org/mailman/listinfo/suds
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/suds/attachments/20100303/a2d17117/attachment.html 


More information about the suds mailing list