On Nov 30, 3:01 pm, Jesus Granados <[email protected]> wrote: > Frederick Cheung wrote in post #965072: > > > On Nov 27, 3:30am, Tiesto <[email protected]> wrote: > >> Hi!! > > >> Somebody knows why throws me an exception?? > > > Sounds to me like the soap response ruby is trying to parse for you > > contains an invalid date (eg Februrary 31st). Have you tried looking > > at the soap response before ruby parses it? > > > Fred > > Fred, > > The response is correctly formed, I meant XML file, the problem looks > like it is after that, But we don´t know where.. > > Here I attach XML request and response... of the two API that are > linked.. the second one is the one that I said that is responding > correctly. >
I'd try and work out which datetime string isn't being parsed correctly (try sticking a breakpoint in the method that's blowing up or hack it to print what it's trying to convert first). For example things would probably blow up if it tried to convert stuff like '09:00:00' to a datetime Fred > Attachments:http://www.ruby-forum.com/attachment/5491/XML_MG.doc > > -- > Posted viahttp://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

