211tbc / synthesis

Health and Human Services Transaction Referral Middleware
0 stars 0 forks source link

cleanse &amp from notes field #9

Open eric-jahn opened 4 years ago

eric-jahn commented 4 years ago

"&" in the soap envelope's <urn3:LocalizedString xml:lang="en-us" charset="UTF-8" value="Need Note - causes the soap envelope not to validate and a 500 error is returned.

The in the attached CCD doc maintains the escaping correctly, so that doesn't have to be changed.

Also "/" symbols should either be removed or escaped as well, as they are also reserved in XML.

eric-jahn commented 4 years ago

see file received on failed: received_data_2020-06-06_14:20:06.774410_decrypted2020-06-06_14:20:07.9908602020-06-06_14:20:15.185718.xml In the outgoing soap to Netsmart, the @amp; is converted to &, causing an error from Netsmart