web stats
Working solution to validate a XML against a XSD - Page 2 - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #11  
Old 10-04-2017, 10:12 PM
Aritrak Aritrak is offline
Mirth Newb
 
Join Date: Sep 2015
Posts: 14
Aritrak is on a distinguished road
Default

Thank you for sharing the details. I have followed the steps and successfully validate the XML. However, I need to perform the below action on this:

Any validation error should route to the Destination 1. Whereas, valid message should go to the Destination 2.

May I know what kind of filter logic I need to use or any changes in the script?

I tried to change the return function but it is not stopping the message to process.
Reply With Quote
  #12  
Old 10-06-2017, 01:12 AM
siddharth siddharth is offline
Mirth Guru
 
Join Date: Feb 2013
Posts: 832
siddharth is on a distinguished road
Default

Something went horribly wrong with this post above!!
__________________
HL7v2.7 Certified Control Specialist!
Reply With Quote
  #13  
Old Today, 04:18 AM
hhergdgdfg hhergdgdfg is offline
What's HL7?
 
Join Date: May 2019
Posts: 4
hhergdgdfg is on a distinguished road
Default

Hi,

the XML validator works like a charm.

How can I set the Response Message in the transformer that the source Connector will receive under Connector -> Source -> Messages -> Response
Reply With Quote
Reply

Tags
java, javascript, jaxp, xml validation, xsd

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 09:11 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation