I have a very simple chanel, with a file reader and a SOAP sender, but when I try to send the following simple message:
MSH|^~\\&|HCE||LIS||20061117092345||QRY^R02|41581| P|2.5
QRD|20061117092345|R|I|41581|||1^RD|ORD|105238
QRF||20061116000000|20061116235959
I get the following exception:
org.xml.sax.SAXParseException: The entity name must immediately follow the '&' in the entity reference.
If I replace then '&' sympol by '#' in the MSH segment, then the message is sent without problems.
Do I need to set any transformer for this simple situation? How can I avoid this exeption?
Thanks!
MSH|^~\\&|HCE||LIS||20061117092345||QRY^R02|41581| P|2.5
QRD|20061117092345|R|I|41581|||1^RD|ORD|105238
QRF||20061116000000|20061116235959
I get the following exception:
org.xml.sax.SAXParseException: The entity name must immediately follow the '&' in the entity reference.
If I replace then '&' sympol by '#' in the MSH segment, then the message is sent without problems.
Do I need to set any transformer for this simple situation? How can I avoid this exeption?
Thanks!
Comment