Error when executing pull notifications in xds sender module

Tags: #<Tag:0x00007f1f81912128>

Application Name: iSanteplus - OpenHIM - XDS-Sender

I am using the xds-sender module and I have configured it to begin searching for results posted to my openHIE system. The service is scheduled, but when I look in the log nothing is getting sent to openHIE as we are receiving the following error.

ERROR - TimerSchedulerTask.run(50) |2020-10-30 15:43:19,002| FATAL ERROR:     Task [class org.openmrs.scheduler.tasks.TaskThreadedInitializationWrapper] failed due to exception [java.lang.IllegalStateException]
java.lang.IllegalStateException: No marshaller registered. Check configuration of WebServiceTemplate.
	at org.springframework.ws.client.core.WebServiceTemplate$2.doWithMessage(WebServiceTemplate.java:396)
	at org.springframework.ws.client.core.WebServiceTemplate.doSendAndReceive(WebServiceTemplate.java:590)
	at org.springframework.ws.client.core.WebServiceTemplate.sendAndReceive(WebServiceTemplate.java:555)
	at org.springframework.ws.client.core.WebServiceTemplate.marshalSendAndReceive(WebServiceTemplate.java:390)
	at org.openmrs.module.xdssender.api.notificationspullpoint.impl.NotificationsPullPointClientImpl.getResponse(NotificationsPullPointClientImpl.java:62)
	at org.openmrs.module.xdssender.api.notificationspullpoint.impl.NotificationsPullPointClientImpl.getNewMessages(NotificationsPullPointClientImpl.java:40)
	at org.openmrs.module.xdssender.api.scheduler.PullNotificationsTask.execute(PullNotificationsTask.java:26)
	at org.openmrs.scheduler.tasks.TaskThreadedInitializationWrapper.execute(TaskThreadedInitializationWrapper.java:67)
	at org.openmrs.scheduler.timer.TimerSchedulerTask.execute(TimerSchedulerTask.java:94)
	at org.openmrs.api.context.Daemon$2.run(Daemon.java:135)

Has anyone encountered this error before? @ohinc it seems you were the original developer of this piece, are you able to help us with any ideas why this is happening?

cc @nathaelf @pmanko @moshon @dkayiwa

1 Like

What value do you have for the global property/setting named xdssender.notificationsPullPoint.endpoint?

https://sedish.net:5001/dsub

Is it the xds module expected configuration end point url for pulling? Are you able to access it in your browser?

I am not sure what endpoint it should be - this was just my best guess - do you know in the OpenHIE architecture where the mongo db pull point for HL7 result notifications should be?

Is the goal to send data to sedish?