Looks good.

Thnxs !

On Wed, Mar 3, 2010 at 9:39 AM, Jeff Ortel <jortel@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@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/suds