Error when executing pull notifications in xds sender module

Tags: #<Tag:0x00007f5ff4fd3328>

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 - |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.openmrs.module.xdssender.api.notificationspullpoint.impl.NotificationsPullPointClientImpl.getResponse(
	at org.openmrs.module.xdssender.api.notificationspullpoint.impl.NotificationsPullPointClientImpl.getNewMessages(
	at org.openmrs.module.xdssender.api.scheduler.PullNotificationsTask.execute(
	at org.openmrs.scheduler.tasks.TaskThreadedInitializationWrapper.execute(
	at org.openmrs.scheduler.timer.TimerSchedulerTask.execute(
	at org.openmrs.api.context.Daemon$

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?

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?

@dkayiwa we figured out the endpoint and what was missing , but now we are having an issue with the xds-sender service sending the wrong content-length with the SOAP message, this causes the request sent to openhim to timeout - has anyone run into this issue before?

Not any one that i can remember. Do you mind sharing the error log via

1 Like