SEL-Columbia / formhub

Mobile Data Collection made easy.
http://formhub.org
BSD 2-Clause "Simplified" License
259 stars 163 forks source link

post xml not working with Enketo #1328

Closed micuentadecasa closed 10 years ago

micuentadecasa commented 10 years ago

I have various forms with the XML post enabled, so when I submit the form the data should be sent via post xml to my site, but it only works in some of the forms, how can I know why some of them fail, there is a kind of log about this?

It only occurs with some forms filled via Enteko ( and not all forms), if I fill the forms with ODK collect it submits the form and send the xml via post to my site. In all the cases the forms are submited to formhub site, so I can't understand the problem.

MartijnR commented 10 years ago

formhub devs: is the forwarding supposed to work on the fh side or client side? I always thought this worked on the formhub side after the client submitted the data to formhub.

ukanga commented 10 years ago

This is supposed to work on the fh side. The form has to have the XML_POST service tied to a url where the post is sent to. Submissions from ODK Collect and enketo are processed the same way, I see no reason why they would fail. @micuentadecasa There is currently no log for rest services, or a way to resend submissions.

MartijnR commented 10 years ago

@micuentadecasa You're the only one that can reproduce this, so if you find out anything else, it would be very helpful. You write "with some forms filled via Enketo ( and not all forms)". After @ukanga 's reply I'd suspect this issue not to be linked to using Enketo or ODK Collect.

MartijnR commented 10 years ago

no further feedback from @micuentadecasa . Cannot reproduce. Closing.