Translate HL7 Activity Error, "Could not open the target schema".

Translate HL7 Activity Error, "Could not open the target schema".

book

Article ID: KB0094052

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for HL7 -
Not Applicable -

Description

Description:
When using the HL7 Translate activity in my BW project, an exception occurs.
Symptoms:

When using the Translate HL7 Activity, the following error occurs:


2015 Sep 04 07:53:54:161 GMT -4 BW.HealthInformationExchange Error [BW_Plugin] BW-HL7-300156 Job-141000 Error in [BusinessProcesses/SubProcesses/TranslateMessage.process/Translate HL7]
Could not open the target schema.
at com.tibco.plugin.hl7.bwactivities.HL7TranslateActivity.eval(HL7TranslateActivity.java:143)
at com.tibco.pe.plugin.Activity.eval(Unknown Source)
at com.tibco.pe.core.TaskImpl.eval(Unknown Source)
at com.tibco.pe.core.Job.a(Unknown Source)
at com.tibco.pe.core.Job.k(Unknown Source)
at com.tibco.pe.core.JobDispatcher$JobCourier.a(Unknown Source)
at com.tibco.pe.core.JobDispatcher$JobCourier.run(Unknown Source)
called by: [BusinessProcesses/SubProcesses/Receiver.process/TranslateMessage]

even though the correct targetNamespace is in the .xsd

Cause:
The .xsd file is not included in a folder named HL7Resources which should be part of the project file.

Issue/Introduction

Translate HL7 Activity Error, "Could not open the target schema".

Resolution

Make sure there is a separate folder named HL7Resources where all the schemas for HL7 are placed for the project. The HL7 .xsd file should be included there. See the HL7 BW sample project for an example of how to do this.

Additional Information

TIBCO ActiveMatrix BusinessWorks HL7 Plugin User's Guide