I’m Benjamin Nyange I’m an OpenMRS Implementer and Apps developer I’ve been reading some of your posts on the ODK collect to OpenMRS I’m actually implementing a project for offline data collection using ODK collect to OpenMRS I succeed to use and import XForms into the ODK 1.1.7 following the https://wiki.openmrs.org/display/docs/XForms+Module+External+Applications+Guide and some of your posts
I’m actually stacked to upload data from the ODK to the OpenMRS, after setting the upload request link: http://server:8080/openmrs/moduleServlet/xforms/xformDataUpload?uname=name&pw=password I still get the error " result internal server error 500"
Looking at the OpenMRS server log, when I submit the form the server following message are generated
< INFO - LoggingAdvice.invoke(115) |2017-07-16 13:41:13,192| In method EncounterService.saveEncounter. Arguments: Encounter=Encounter: [(no ID) Sun Jul 16 00:00:00 SAST 2017 ADULTINITIAL Bankhara Clinic 12 TestMobile num Obs: [] num Orders: 0 ], INFO - LoggingAdvice.invoke(155) |2017-07-16 13:41:13,208| Exiting method saveEncounter INFO - LoggingAdvice.invoke(115) |2017-07-16 13:41:13,210| In method HL7Service.purgeHL7InQueue. Arguments: HL7InQueue=HL7InQueue[hashCode=9232f89a,uuid=8cd07dbc-d3c9-492e-a51a-80a52247bed8], INFO - LoggingAdvice.invoke(155) |2017-07-16 13:41:13,211| Exiting method purgeHL7InQueue ERROR - HL7InQueueProcessor.setFatalError(138) |2017-07-16 13:41:13,211| Exception while attempting to process HL7 In Queue (-1098988452綷Ⱛ-304637686퀙-23906044-1955966658-749004702뾅-2124261496-1891989690꞉꽧-60820188-235503830씱-944311338-252016308-208494432-283429088) ERROR - XformsQueueProcessor.submitXForm(316) |2017-07-16 13:41:13,212| Failed to instantiate assignment handler object for class: org.openmrs.module.emrapi.adt.EmrApiVisitAssignmentHandler ERROR - XformsQueueProcessor.processXForm(224) |2017-07-16 13:41:13,226| Failed to instantiate assignment handler object for class: org.openmrs.module.emrapi.adt.EmrApiVisitAssignmentHandler ERROR - XformsUtil.reportDataUploadError(625) |2017-07-16 13:41:13,231| org.openmrs.module.emrapi.adt.EmrApiVisitAssignmentHandler
Could you Help me Fix This Thanks for your earliest response