Title: getHTTPServiceRequest crashes reading xml data with non traditional characters. Post by: Paul M. on January 22, 2024, 03:55:47 pm I have a web api that receives an XML document for processing. Every once in a blue moon, there is a control character(?) that causes the program to abort on a 15550 error.
I am wondering if perhaps I am not using the right tool or is there a way to clean the service request before the readXMLRequest() crashes I am on RHEL 7.9 on BDL 3.20.11 code was modeled after (plagiarized) the demo web service in the manual. CALL com.WebServiceEngine.Start() WHILE (true) LET req = com.WebServiceEngine.getHTTPServiceRequest(-1) LET url = req.getURL() IF url IS NULL THEN DISPLAY "Failed: url should not be null" continue while end if TRY LET doc = req.readXMLRequest() DISPLAY "Request is :", doc.saveToString() ... My code ... CATCH DISPLAY "Failed: unexpected error :", STATUS EXIT PROGRAM (-1) END TRY END WHILE Title: Re: getHTTPServiceRequest crashes reading xml data with non traditional characters. Post by: Olivier E. on February 05, 2024, 07:30:26 pm Hello Paul,
May I ask you if you get the same problem in Genero BDL 4.01.06 or the latest Genero EAP V5? Thank you, -- Olivier Eckert – Four Js Customer Care Title: Re: getHTTPServiceRequest crashes reading xml data with non traditional characters. Post by: restore b. on February 21, 2024, 11:22:17 am I had the same problem in Genero BDL 4.01.06. happy wheels (https://happy-wheels.co/)
|