[Fedora-suds-list] WSSE token date format

Philippe Gauvin :: Magnet Média phil at magnetmedia.ca
Tue Mar 2 21:13:14 UTC 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/suds/attachments/20100302/45e4dc3c/attachment.html 


More information about the suds mailing list